diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-06 15:33:13 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-06 15:33:13 -0700 |
commit | c7d258f8fa749154d38fbd6db178f4eab055f74e (patch) | |
tree | 65d739538e262b7ec763a551bf7b20605bb3a41e /lists.sr.ht | |
parent | 3e428b8e33f91f392942dcdec411b39e4cb9c8bd (diff) | |
download | sr.ht-docs-c7d258f8fa749154d38fbd6db178f4eab055f74e.tar.gz |
Update permissions list documentation
Diffstat (limited to 'lists.sr.ht')
-rw-r--r-- | lists.sr.ht/api.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lists.sr.ht/api.md b/lists.sr.ht/api.md index a8c0455..42a941f 100644 --- a/lists.sr.ht/api.md +++ b/lists.sr.ht/api.md @@ -53,17 +53,17 @@ available for lists.sr.ht: "owner": { short form user resource }, "description": "list description (markdown)", "permissions": { - "nonsubscriber": "list,of,permissions", - "subscriber": "list,of,permissions", - "account": "list,of,permissions" + "nonsubscriber": [ list of permissions ], + "subscriber": [ list of permissions ], + "account": [ list of permissions ] } } ``` **Notes** -- The permissions which may appear in each `permissions` field are browse, - reply, and post. +- The permissions which may appear in each `permissions` field are "browse", + "reply", and "post". - The short form omits everything except for name and owner. ### Subscription resource |