AlmondTill/G3N API

On this page

cannedRoles

query · in the family Reading your records

What it does

The canned role list — each entry is a platform-preset role template you can copy into your group.

The 7 canned role templates: copy via copyCannedRole. NOT a construct list (bounded 7 forever — the transferLanes roster class; untouched). Requires authentication.

What happens

Reads only — changes nothing.

Who may call it

Capability area: Reading your records — Looking up and listing the records of your organization.

Returns

CannedRole [CannedRole!]! — One canned role template: usable via copyCannedRole → an ordinary editable group Role. Hard boundaries are explicit disallow rows; amounts NEVER appear.

Example request

query ExampleCannedRoles {
  cannedRoles {
    key
    caption
    version
    authorityTier
  }
}

Example response

{
  "data": {
    "cannedRoles": [
      {
        "key": "owner",
        "caption": "Blue jeans",
        "version": 1,
        "authorityTier": "owner"
      }
    ]
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": null,
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}

Errors this call can answer