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

The permissions that the thirdparty has requested from the current person.

Reading

GET /thirdparty/{thirdparty-id}/user-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 current person with the following fields :


Name Description Type

user_environment

The permission to access to the user environment.

boolean

manage_environment

The permission to manage the user environment.

boolean

manage_users

The permission to manage the users.

boolean

manage_speaking

The permission to manage the user speaking.

boolean

publish_speaking

The permission to publish speaking.

boolean

manage_groups

The permission to manage the user groups.

boolean

publish_groups

The permission to publish groups.

boolean

manage_repertory

The permission to manage the user repertory.

boolean

publish_repertory

The permission to publish contacts or accounts.

boolean

manage_ressources

The permission to manage the user ressources.

boolean

publish_ressources

The permission to publish ressources.

boolean

manage_photos

The permission to manage the user photos.

boolean

publish_photos

The permission to publish photos.

boolean

publish_notifications

The permission to publish notifications.

boolean

user

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

User

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}/user-permissions HTTP/1.1
Host: localhost:3000

Permissions

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

Fields

Name Description Type

user_environment

The permission to access to the user environment.

boolean

manage_environment

The permission to manage the user environment.

boolean

manage_users

The permission to manage the users.

boolean

manage_speaking

The permission to manage the user speaking.

boolean

publish_speaking

The permission to publish speaking.

boolean

manage_groups

The permission to manage the user groups.

boolean

publish_groups

The permission to publish groups.

boolean

manage_repertory

The permission to manage the user repertory.

boolean

publish_repertory

The permission to publish contacts or accounts.

boolean

manage_ressources

The permission to manage the user ressources.

boolean

publish_ressources

The permission to publish ressources.

boolean

manage_photos

The permission to manage the user photos.

boolean

publish_photos

The permission to publish photos.

boolean

publish_notifications

The permission to publish notifications.

boolean

Response

If successful :

{
    "success": true
}

Otherwise a relevant error message will be returned.

Updating

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

Permissions

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

Fields

Name Description Type

user_environment

The permission to access to the user environment.

boolean

manage_environment

The permission to manage the user environment.

boolean

manage_users

The permission to manage the users.

boolean

manage_speaking

The permission to manage the user speaking.

boolean

publish_speaking

The permission to publish speaking.

boolean

manage_groups

The permission to manage the user groups.

boolean

publish_groups

The permission to publish groups.

boolean

manage_repertory

The permission to manage the user repertory.

boolean

publish_repertory

The permission to publish contacts or accounts.

boolean

manage_ressources

The permission to manage the user ressources.

boolean

publish_ressources

The permission to publish ressources.

boolean

manage_photos

The permission to manage the user photos.

boolean

publish_photos

The permission to publish photos.

boolean

publish_notifications

The permission to publish notifications.

boolean

Response

If successful :

{
    "success": true
}

Otherwise a relevant error message will be returned.

Deleting

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

Permissions

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

Fields

No fields are required.

Response

If successful :

{
    "success": true
}

Otherwise a relevant error message will be returned.

Edges

No edges.