diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-12-05 20:16:19 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-12-05 20:16:19 -0500 |
commit | 8ba5cbc2b99ffed424d085b6365cbc07309ad573 (patch) | |
tree | 865cdc545673e1f5781a2ec42dbb6015ac251cf2 /doc/api/group.md | |
parent | 3b3da24823defd89f4ed256b7c45df8b71cb0627 (diff) | |
parent | fbf13dde213dcecfdc6c6e5d95b165bb46eda85a (diff) | |
download | volse-hubzilla-8ba5cbc2b99ffed424d085b6365cbc07309ad573.tar.gz volse-hubzilla-8ba5cbc2b99ffed424d085b6365cbc07309ad573.tar.bz2 volse-hubzilla-8ba5cbc2b99ffed424d085b6365cbc07309ad573.zip |
Merge remote-tracking branch 'upstream/dev' into doco
Diffstat (limited to 'doc/api/group.md')
-rw-r--r-- | doc/api/group.md | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/doc/api/group.md b/doc/api/group.md index 76df1c8e6..8829ff416 100644 --- a/doc/api/group.md +++ b/doc/api/group.md @@ -7,6 +7,35 @@ GET /api/z/1.0/group Description: list privacy groups -Returns: DB tables of all privacy groups. To use with API group_members, provide group_id from the id element returned in this call, or group_name from the gname returned in this call. +Returns: DB tables of all privacy groups. -
\ No newline at end of file +To use with API group_members, provide either 'group_id' from the id element returned in this call, or 'group_name' from the gname returned in this call. + + + [ + + { + "id": "1", + "hash": "966c946394f3e2627bbb8a55026b5725e582407098415c02f85232de3f3fde76Friends", + "uid": "2", + "visible": "0", + "deleted": "0", + "gname": "Friends" + }, + { + "id": "2", + "hash": "852ebc17f8c3ed4866f2162e384ded0f9b9d1048f93822c0c84196745f6eec66Family", + "uid": "2", + "visible": "1", + "deleted": "0", + "gname": "Family" + }, + { + "id": "3", + "hash": "cc3cb5a7f9818effd7c7c80a58b09a189b62efa698a74319117babe33ee30ab9Co-workers", + "uid": "2", + "visible": "0", + "deleted": "0", + "gname": "Co-workers" + } + ]
\ No newline at end of file |