Newstore roles API declares
1 security scheme
for authenticating requests.
It supports OAuth 2.0 (oauth) using the application flow, exposing 29 scopes.
Paths & Operations 7
Across 4 paths, the API surfaces 7 operations — 1 DELETE, 4 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are User (12 properties), Problem (9 properties), Role (6 properties), RoleItem (4 properties). Each schema is shown below with its type and property counts.
GetPermissionsResponse
object
Returns a list of available permissions the system provides.
1 property
Problem
object
9 properties
Application
string
Abbreviation of the application this permission belongs to.
Permission
object
List of all available system permissions.
3 properties2 required
User
object
12 properties
PostRolesRequest
object
Needed for granting permissions per group not individually.
2 properties2 required
PutRolesByIdRequest
object
Needed for granting permissions per group not individually.
2 properties2 required
Role
object
Needed for granting permissions per group not individually.
6 properties2 required
GetUsersByRoleResponse
object
Gets all users by role
1 property
RoleItem
object
Needed for granting permissions per group not individually.
4 properties2 required
GetRolesResponse
object
Returns a list of roles.
1 property
Specification
The full machine-readable OpenAPI contract behind this narrative.