canmove, Confirmed users
6,441
edits
No edit summary |
No edit summary |
||
| Line 337: | Line 337: | ||
== /users/<username>/permissions/<permission> == | == /users/<username>/permissions/<permission> == | ||
=== GET === | === GET === | ||
Returns the details of the | Returns the details of the named permission for the username given in a JSON Object in the following format: | ||
<pre> | <pre> | ||
{ | { | ||
| Line 350: | Line 350: | ||
} | } | ||
</pre> | </pre> | ||
=== PUT === | |||
Overwrites the details of named permission for the username given. If the permission does not exist, it is created. The following parameters are supported: | |||
* data_version (required if the permission already exists) | |||
* options | |||
=== POST === | === POST === | ||
Overwrites the details of named permission for the username given. The following parameters are supported: | |||
* data_version (required) | |||
* options | |||
=== DELETE === | |||
Deletes the named permission for the username given. The following parameters are supported: | |||
* data_version (required) | |||