summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/httpinstance.py
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-10-06 16:38:01 -0400
committerRob Crittenden <rcritten@redhat.com>2011-10-09 23:32:52 -0400
commit1fef592892ab7e086ad8930f9fad1c9f671323c7 (patch)
tree12d7e201a0f6e7a7d93c459a5bcfc325a77a5868 /ipaserver/install/httpinstance.py
parent03c8a34cb3b7a635e5a853c648cafe5ea9f9a126 (diff)
downloadfreeipa-1fef592892ab7e086ad8930f9fad1c9f671323c7.tar.gz
freeipa-1fef592892ab7e086ad8930f9fad1c9f671323c7.tar.xz
freeipa-1fef592892ab7e086ad8930f9fad1c9f671323c7.zip
split metadata call
The JSON metadata call has grown large enough that parsing it requires too much stack space on some browsers. TO avoid breaking the API, this change reuses some testing parameters that we established for the metadata call in the past. To fetch just the objects call it like this: {"method":"json_metadata","params":[["all",""],{}],"id":0} And just the methods call it like this: {"method":"json_metadata","params":[["","all"],{}],"id":0} Note the difference in the positional parameters. To get a specific object, pass the object name as the first parameter. To get a specific method, pass a blank first parameter and the method name in the second parameter. THis is not ideal, but we are constrained by the existing API.
Diffstat (limited to 'ipaserver/install/httpinstance.py')
0 files changed, 0 insertions, 0 deletions