mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-19 23:13:51 +01:00
Doc / API relation method: use group objects from LSexample
This commit is contained in:
parent
ff57a12b0e
commit
638bb83eed
1 changed files with 3 additions and 3 deletions
|
@ -409,7 +409,7 @@
|
||||||
de l'opération de mise à jour.</para>
|
de l'opération de mise à jour.</para>
|
||||||
<programlisting linenumbering="unnumbered">
|
<programlisting linenumbering="unnumbered">
|
||||||
<citetitle>Exemple</citetitle>
|
<citetitle>Exemple</citetitle>
|
||||||
<![CDATA[# curl -u username:secret 'https://ldapsaisie/api/1.0/object/LSpeople/uid=foo.bar,ou=people,o=ls/relation/groups?pretty&add[]=cn=test34,ou=groups,o=ls&add[]=cn=testbr,ou=groups,o=ls'
|
<![CDATA[# curl -u username:secret 'https://ldapsaisie/api/1.0/object/LSpeople/uid=foo.bar,ou=people,o=ls/relation/groups?pretty&add[]=cn=ls,ou=groups,o=ls&add[]=cn=invite,ou=groups,o=ls'
|
||||||
{
|
{
|
||||||
"dn": "uid=foo.bar,ou=people,o=ls",
|
"dn": "uid=foo.bar,ou=people,o=ls",
|
||||||
"type": "LSpeople",
|
"type": "LSpeople",
|
||||||
|
@ -417,8 +417,8 @@
|
||||||
"relation": "groups",
|
"relation": "groups",
|
||||||
"success": true,
|
"success": true,
|
||||||
"relatedObjects": [
|
"relatedObjects": [
|
||||||
"cn=test34,ou=groups,o=ls",
|
"cn=ls,ou=groups,o=ls",
|
||||||
"cn=testbr,ou=groups,o=ls"
|
"cn=invite,ou=groups,o=ls"
|
||||||
],
|
],
|
||||||
"messages": [
|
"messages": [
|
||||||
"Objects in relation updated."
|
"Objects in relation updated."
|
||||||
|
|
Loading…
Reference in a new issue