Balrog/Admin API: Difference between revisions

Jump to navigation Jump to search
no edit summary
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 specific named permission for the username given in a JSON Object in the following format:
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)
canmove, Confirmed users
6,441

edits

Navigation menu