You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
Next »
Purpose
This method allows to get a list of scopes corresponding to this role by role name.
Specification
Preconditions
Logic
API paragraph not found
Global and configuration parameters
Filters
See on Apiary
Authorize
Request to process the request using a token in the headers
Content-Type:application/json
Request data validation
API paragraph not found
Processing
API paragraph not found
Response structure
Example:
Response example
{
"meta": {
"code": 200,
"url": "https://example.com/resource",
"type": "object",
"request_id": "6617aeec-15e2-4d6f-b9bd-53559c358f97#17810"
},
"data": [
{
"name": "Doctor",
"scope": "notebooks:read notebooks:create patients:read",
"id": "role-1380df72-275a-11e7-93ae-92361f002671"
}
],
"paging": {
"limit": 20,
"cursors": {
"starting_after": "56c31536a60ad644060041af",
"ending_before": "56c31536a60ad644060041aa"
},
"size": 50,
"has_more": false
}
}
Post-processing processes
API paragraph not found
HTTP status codes
Backward compatibility
API paragraph not found