summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-11-16 15:13:32 -0600
committerEndi S. Dewata <edewata@redhat.com>2011-12-06 22:07:35 +0000
commit8f642bbe0885b4e6d375b705fcead6360d98b30f (patch)
tree354b50016aef64ef72b8844c5e66026fa50c9fa2 /API.txt
parent005b74d869ce240018985fd8abc752a5e200eb74 (diff)
downloadfreeipa-8f642bbe0885b4e6d375b705fcead6360d98b30f.tar.gz
freeipa-8f642bbe0885b4e6d375b705fcead6360d98b30f.tar.xz
freeipa-8f642bbe0885b4e6d375b705fcead6360d98b30f.zip
Added commands into metadata.
The json_metadata command has been modified to accept some new options and return the commands metadata. The API.txt has been updated as well. The UI has been modified to use commands metadata instead of methods metadata. Ticket #388
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/API.txt b/API.txt
index e06a04742..ed8b5553d 100644
--- a/API.txt
+++ b/API.txt
@@ -1684,11 +1684,15 @@ command: i18n_messages
args: 0,0,1
output: Output('messages', <type 'dict'>, None)
command: json_metadata
-args: 2,0,2
+args: 2,3,3
arg: Str('objname?')
arg: Str('methodname?')
+option: Str('object?')
+option: Str('method?')
+option: Str('command?')
output: Output('objects', <type 'dict'>, None)
output: Output('methods', <type 'dict'>, None)
+output: Output('commands', <type 'dict'>, None)
command: krbtpolicy_mod
args: 1,9,3
arg: Str('uid', attribute=True, cli_name='user', multivalue=False, primary_key=True, query=True, required=False)