Request the current user's permissions for a given project
GET/permission/me
Returns a list of permissions for the current user in the given project. To retrieve permissions for all projects, specify project_id as '0'.
Request
Responses
- 200
- 4XX
- 5XX
Returns 'PermissionNames'
- application/json
- Schema
- Example (from schema)
Schema
permissions string[]required
{
"permissions": [
"string"
]
}
The request failed because invalid request parameters or data were supplied or access was denied.
- application/json
- Schema
- Example (from schema)
Schema
code string
The error code describing the general error category.
Example:
API_INVALID_INPUT_DATA
status integer
The HTTP status code.
message stringrequired
The actual error message describing the error in more detail.
reqid string
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}
The request failed because an error occurred during processing of the request.
- application/json
- Schema
- Example (from schema)
Schema
code string
The error code describing the general error category.
Example:
API_INVALID_INPUT_DATA
status integer
The HTTP status code.
message stringrequired
The actual error message describing the error in more detail.
reqid string
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}
Loading...