Skip to content
R-Service R-Service
RR Tech Service Management Developer Guide

App Offerings - Scopes API

List all scopes of an app offering with a specific ID.

GET /app_offerings/:id/scopes
Status: 200 OK
[
{
"id": 1,
"effect": "allow",
"actions": [
"request:Read",
"request:Update"
],
"nodeID": "..."
},
"..."
]

The response contains these fields by default.

By default the following fields will appear in collections of app offering scopes:

id effect actions

GET /app_offerings/:id/scopes/:scope_id
Status: 200 OK
{
"id": 1,
"effect": "allow",
"actions": [
"request:Read",
"request:Update"
],
"nodeID": "..."
}

The response contains these fields .

actions

Required array of string — Actions this scope applies to. Each action has the format <record type>:<operation> .

created_at

Readonly datetime — The date and time at which the scope was created.

conditions

Required array of string — Conditions for this scope.

effect

Required enum , default: allow — Whether this scope allows or prevents access. Valid values are:

  • allow : Allow the actions of this scope
  • deny : Deny (i.e. do not allow) the actions of this scope

id

Readonly integer — The unique ID of the scope.

updated_at

Readonly datetime — The date and time of the last update of the scope. If the scope has no updates it contains the created_at value.