Permissions /thirdparty/{thirdparty-id}/workspace-permissions

The permissions that the thirdparty has requested from the workspace at which is attached the current person.

Reading

GET /thirdparty/{thirdparty-id}/workspace-permissions HTTP/1.1
Host: localhost:3000

Permissions

  • An access token (pointing to an user) is required (thirdparty access token is not allowed).

Fields

An object describing the permissions of the workspace at which is attached the current person with the following fields :


Name Description Type

workspace_environment

The permission to access to the workspace environment.

boolean

manage_environment

The permission to manage the workspace environment.

boolean

workspace_users

The permission to access to the workspace users.

boolean

workspace_speaking

The permission to access to the workspace speaking.

boolean

workspace_groups

The permission to access to the workspace groups.

boolean

workspace_repertory

The permission to access to the workspace repertory.

boolean

workspace_ressources

The permission to access to the workspace ressources.

boolean

workspace_photos

The permission to access to the workspace photos.

boolean

manage_photos

The permission to manage the workspace photos.

boolean

publish_photos

The permission to publish photos.

boolean

workspace

The ID of the Workspace at which are attached the permissions.

Workspace

thirdparty

The ID of the Thirdparty at which are attached the permissions.

Thirdparty

created_time

The date that indicates when the thirdparty permission was created.

date

updated_time

The date that indicates when the thirdparty permission was updated for the last time.

date

Publishing

POST /thirdparty/{thirdparty-id}/workspace-permissions HTTP/1.1
Host: localhost:3000

Permissions

  • An access token (pointing to an user) is required (thirdparty access token is not allowed).
  • The current person must be an admin (with MANAGE permission) of the workspace.

Fields

Name Description Type

workspace_environment

The permission to access to the workspace environment.

boolean

manage_environment

The permission to manage the workspace environment.

boolean

workspace_users

The permission to access to the workspace users.

boolean

workspace_speaking

The permission to access to the workspace speaking.

boolean

workspace_groups

The permission to access to the workspace groups.

boolean

workspace_repertory

The permission to access to the workspace repertory.

boolean

workspace_ressources

The permission to access to the workspace ressources.

boolean

workspace_photos

The permission to access to the workspace photos.

boolean

manage_photos

The permission to manage the workspace photos.

boolean

publish_photos

The permission to publish photos.

boolean

Response

If successful :

{
    "success": true
}

Otherwise a relevant error message will be returned.

Updating

PUT /thirdparty/{thirdparty-id}/workspace-permissions HTTP/1.1
Host: localhost:3000

Permissions

  • An access token (pointing to an user) is required (thirdparty access token is not allowed).
  • The current person must be an admin (with MANAGE permission) of the workspace.

Fields

Name Description Type

workspace_environment

The permission to access to the workspace environment.

boolean

manage_environment

The permission to manage the workspace environment.

boolean

workspace_users

The permission to access to the workspace users.

boolean

workspace_speaking

The permission to access to the workspace speaking.

boolean

workspace_groups

The permission to access to the workspace groups.

boolean

workspace_repertory

The permission to access to the workspace repertory.

boolean

workspace_ressources

The permission to access to the workspace ressources.

boolean

workspace_photos

The permission to access to the workspace photos.

boolean

manage_photos

The permission to manage the workspace photos.

boolean

publish_photos

The permission to publish photos.

boolean

Response

If successful :

{
    "success": true
}

Otherwise a relevant error message will be returned.

Deleting

DELETE /thirdparty/{thirdparty-id}/workspace-permissions HTTP/1.1
Host: localhost:3000

Permissions

  • An access token (pointing to an user) is required (thirdparty access token is not allowed).
  • The current person must be an admin (with MANAGE permission) of the workspace.

Fields

No fields are required.

Response

If successful :

{
    "success": true
}

Otherwise a relevant error message will be returned.

Edges

No edges.