summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-07-31 14:09:05 +0200
committerMartin Kosek <mkosek@redhat.com>2014-09-30 10:42:06 +0200
commitf3576bd94b4a7cf786ffdf442e3460182390dfc5 (patch)
treefcbcd524343aaadf9e55dab3a36d481e038e789d /API.txt
parent6e94d23a926ebbe456e183aac9e60a7119f0a502 (diff)
downloadfreeipa-f3576bd94b4a7cf786ffdf442e3460182390dfc5.tar.gz
freeipa-f3576bd94b4a7cf786ffdf442e3460182390dfc5.tar.xz
freeipa-f3576bd94b4a7cf786ffdf442e3460182390dfc5.zip
idviews: Add ipa idview-apply and idview-unapply commands
Part of: https://fedorahosted.org/freeipa/ticket/3979 Reviewed-By: Petr Viktorin <pviktori@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/API.txt b/API.txt
index daab73ceb..77fd0eec5 100644
--- a/API.txt
+++ b/API.txt
@@ -2199,6 +2199,16 @@ option: Str('version?', exclude='webui')
output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None))
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: PrimaryKey('value', None, None)
+command: idview_apply
+args: 1,3,4
+arg: Str('cn', attribute=True, cli_name='name', multivalue=False, primary_key=True, query=True, required=True)
+option: Str('host*', cli_name='hosts')
+option: Str('hostgroup*', cli_name='hostgroups')
+option: Str('version?', exclude='webui')
+output: Output('completed', <type 'int'>, None)
+output: Output('failed', <type 'dict'>, None)
+output: Output('succeeded', <type 'dict'>, None)
+output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
command: idview_del
args: 1,2,3
arg: Str('cn', attribute=True, cli_name='name', multivalue=True, primary_key=True, query=True, required=True)
@@ -2247,6 +2257,15 @@ option: Str('version?', exclude='webui')
output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None))
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: PrimaryKey('value', None, None)
+command: idview_unapply
+args: 0,3,4
+option: Str('host*', cli_name='hosts')
+option: Str('hostgroup*', cli_name='hostgroups')
+option: Str('version?', exclude='webui')
+output: Output('completed', <type 'int'>, None)
+output: Output('failed', <type 'dict'>, None)
+output: Output('succeeded', <type 'dict'>, None)
+output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
command: json_metadata
args: 2,4,3
arg: Str('objname?')