OrganizationsProfiles
List profiles
GET
Archived ones included, oldest first, with the catalogue of areas a profile grades.
Who may call it: Any member of the organization. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
slug*stringThe organization's slug, as in its URL.
OK.
application/json- response
areas*array<>profiles*array<>Example Request
curl -X GET 'http://localhost:3000/api/organizations/string/profiles'Example Response
{ "areas": [ { "key": "model", "actions": [ "string" ] } ], "profiles": [ { "id": "string", "name": "string", "permissions": { "property1": "view", "property2": "view" }, "companyRestricted": true, "archivedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}