Skip to Content
Docs
API referencePlatform API

Access

GET
/instances/{instance_id}/access

The platform permissions the caller holds on the instance, and the roles they hold on it directly

Path Parameters

instance_id*string

Instance ID

Response Body

OK

application/json
  1. response
managed_projects?array<string>

On a workspace, for a caller who does not manage its members: the ids of its projects whose members they manage (project:members.manage), directly or by inheritance. Absent for whoever manages the workspace's members, who manages every project's.

object?string

The object type

permissions?array<string>

The platform permission keys the caller holds, through any role — held on the object or inherited from above it

roles?array<string>

The roles the caller holds on the object itself; empty for someone reaching it by inheritance alone

staff_role?string

The staff role the caller reaches it with, if any enum: pontive_support,pontive_admin,pontive_release

Example Request
curl -X GET 'https://api.pontive.com/v1/instances/string/access'
Example Response
{  "managed_projects": [    "string"  ],  "object": "string",  "permissions": [    "string"  ],  "roles": [    "string"  ],  "staff_role": "string"}
GET
/projects/{project_id}/access

The platform permissions the caller holds on the project, and the roles they hold on it directly

Path Parameters

project_id*string

Project ID

Response Body

OK

application/json
  1. response
managed_projects?array<string>

On a workspace, for a caller who does not manage its members: the ids of its projects whose members they manage (project:members.manage), directly or by inheritance. Absent for whoever manages the workspace's members, who manages every project's.

object?string

The object type

permissions?array<string>

The platform permission keys the caller holds, through any role — held on the object or inherited from above it

roles?array<string>

The roles the caller holds on the object itself; empty for someone reaching it by inheritance alone

staff_role?string

The staff role the caller reaches it with, if any enum: pontive_support,pontive_admin,pontive_release

Example Request
curl -X GET 'https://api.pontive.com/v1/projects/string/access'
Example Response
{  "managed_projects": [    "string"  ],  "object": "string",  "permissions": [    "string"  ],  "roles": [    "string"  ],  "staff_role": "string"}
GET
/workspaces/{workspace_id}/access

The platform permissions the caller holds on the workspace, and the roles they hold on it directly

Path Parameters

workspace_id*string

Workspace ID

Response Body

OK

application/json
  1. response
managed_projects?array<string>

On a workspace, for a caller who does not manage its members: the ids of its projects whose members they manage (project:members.manage), directly or by inheritance. Absent for whoever manages the workspace's members, who manages every project's.

object?string

The object type

permissions?array<string>

The platform permission keys the caller holds, through any role — held on the object or inherited from above it

roles?array<string>

The roles the caller holds on the object itself; empty for someone reaching it by inheritance alone

staff_role?string

The staff role the caller reaches it with, if any enum: pontive_support,pontive_admin,pontive_release

Example Request
curl -X GET 'https://api.pontive.com/v1/workspaces/string/access'
Example Response
{  "managed_projects": [    "string"  ],  "object": "string",  "permissions": [    "string"  ],  "roles": [    "string"  ],  "staff_role": "string"}