Sharing

Manage how your users and groups can access your Talend Cloud entities.
Contact
Talend

Endpoints

Global security

These security schemes apply to the entire API

Security scheme

This scheme can be referenced across the API

Public

This Bearer authentication can be set in the Authorization header of your requests.

Authentication tokens and Personal Access Tokens are supported.

Personal Access Tokens can be generated in the Profile Preferences page of the Talend Cloud Portal.

Bearer authentication
NameDescription
FormatBearer <token>

Get a sharingset for an entity

GET /sharing/sharingset/{entityType}/{entityId}
Use this method to retrieve a sharingset. A sharingset represents the full list of users and groups who have access to the specified entity.

Request

Path variables
NameDescriptionTypeAttributes and examples
entityTypestring Required
entityIdUUIDstring Required
Query parameters
NameDescriptionTypeAttributes and examples
foreignEntityTypestring Optional
limitLimits the number of elements displayed in the sharingset.integer Optional
INT32
offsetinteger Optional
INT32
includeDeletedSharingsTrue or falseboolean Optional
foreignEntityIdstring Optional
Headers
NameDescriptionTypeAttributes and examples
X-CLIENT-VERSIONstring Optional

Response

200Status 200
Status 200
Body
SharingSetResponse
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Not found
Body
ErrorMessageBody
500Status 500
Internal Server Error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Patch a sharingset for an entity

PATCH /sharing/sharingset/{entityType}/{entityId}
A sharingset represents the full list of users and groups who have access to the specified entity. Use this method to patch the sharingset and define who can access a given entity, and with which access level (viewer, editor, owner). Unlike the PUT operation that replaces the whole sharingset, the PATCH operation allows you to apply specific changes to the sharingset. A missing level stands for a removal command of a user or group sharing.

Request

Path variables
NameDescriptionTypeAttributes and examples
entityTypestring Required
entityIdUUIDstring Required
Headers
NameDescriptionTypeAttributes and examples
X-CLIENT-VERSIONstring Optional
Body
PatchSharingSetRequest

Response

200Status 200
Status 200
Body
SharingSetKey
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Not found
Body
ErrorMessageBody
500Status 500
Internal Server Error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Update a sharingset for an entity

PUT /sharing/sharingset/{entityType}/{entityId}
A sharingset represents the full list of users and groups who have access to the specified entity. Use this method to update the sharingset by defining who can access a given entity, and with which access level (viewer, editor, owner). This PUT operation allows you to replace the whole sharingset with the new information.

Request

Path variables
NameDescriptionTypeAttributes and examples
entityTypestring Required
entityIdUUIDstring Required
Headers
NameDescriptionTypeAttributes and examples
X-CLIENT-VERSIONstring Optional
Body
PutSharingSetRequest

Response

200Status 200
Status 200
Body
SharingSetKey
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Not found
Body
ErrorMessageBody
500Status 500
Internal Server Error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Get the access levels of an entity

GET /sharing/sharings/levels/{entityType}
An access level defines to what extent the user or the group will be able to interact with the entity. In Talend Cloud, the available levels are Viewer, Editor, and Owner. Depending on the level, a user will have read-only or write permissions for example. Use this method to retrieve the available access levels of the specified entity type.

Request

Path variables
NameDescriptionTypeAttributes and examples
entityTypestring Required
Headers
NameDescriptionTypeAttributes and examples
X-CLIENT-VERSIONstring Optional

Response

200Status 200
Status 200
Body
details
NameDescriptionTypeAttributes and examples
array of LevelResponse
Datatype details
TypeDescriptionAttributes and examples
array
LevelResponse
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Not found
Body
ErrorMessageBody
500Status 500
Internal Server Error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Get eligible users/groups for sharing

GET /sharing/sharings/eligibles/{entityType}
Use this method to retrieve the list of users and groups with whom a specific entity type can be shared. The list of available users and groups changes depending on which permissions they are assigned in Talend Management Console.

Request

Path variables
NameDescriptionTypeAttributes and examples
entityTypestring Required
Headers
NameDescriptionTypeAttributes and examples
X-CLIENT-VERSIONstring Optional

Response

200Status 200
Status 200
Body
Eligibles
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Not found
Body
ErrorMessageBody
500Status 500
Internal Server Error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Get the entities that the current user has access to

GET /sharing/sharings/{entityType}
Use this method to retrieve the list of all entities of a given type that the current user has access to. This list of access also includes the access level and the UUID of the entity.

Request

Path variables
NameDescriptionTypeAttributes and examples
entityTypestring Required
Query parameters
NameDescriptionTypeAttributes and examples
includeMetadataboolean Optional
Headers
NameDescriptionTypeAttributes and examples
X-CLIENT-VERSIONstring Optional

Response

200Status 200
Status 200
Body
details
NameDescriptionTypeAttributes and examples
array of SharingResponse
Datatype details
TypeDescriptionAttributes and examples
array
SharingResponse
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Not found
Body
ErrorMessageBody
500Status 500
Internal Server Error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Get users/groups' access information to an entity

GET /sharing/sharings/{entityType}/{entityId}
Use this method to get the list of computed accesses by users or groups to a given entity.

Request

Path variables
NameDescriptionTypeAttributes and examples
entityTypestring Required
entityIdstring Required
Query parameters
NameDescriptionTypeAttributes and examples
includeMetadataboolean Optional
Headers
NameDescriptionTypeAttributes and examples
X-CLIENT-VERSIONstring Optional

Response

200Status 200
Status 200
Body
SharingResponse
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Not found
Body
ErrorMessageBody
500Status 500
Internal Server Error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Patch a sharingset

PATCH /sharing/sharingset
A sharingset represents a list of users and groups. Use this method to patch a list of sharingsets. The PATCH operation allows you to apply specific changes to the sharingset without replacing it entirely.

Request

Headers
NameDescriptionTypeAttributes and examples
X-CLIENT-VERSIONstring Optional
Body
BulkSharingSetRequest

Response

200Status 200
Status 200
Body
SharingSetKey
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Not found
Body
ErrorMessageBody
500Status 500
Internal Server Error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Get the list of permissions for an entity

GET /sharing/sharings/{entityType}/{entityId}/entitlements
Use this method to rerieve a list of available permissions for a given entity.

Request

Path variables
NameDescriptionTypeAttributes and examples
entityTypestring Required
entityIdstring Required
Headers
NameDescriptionTypeAttributes and examples
X-CLIENT-VERSIONstring Optional

Response

200Status 200
Status 200
Body
EntitlementsResponse
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not authorized
Body
ErrorMessageBody
404Status 404
Not found
Body
ErrorMessageBody
500Status 500
Internal Server Error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

ErrorMessageBody

This object is returned in case of an error during an API call.
Object
NameDescriptionTypeAttributes and examples
timestampinteger Required
INT64
statusinteger Required
INT32
errorstring Required
exceptionstring Optional
messagestring Optional
pathstring Required

LevelResponse

Description of a level access for an entity.
Object
NameDescriptionTypeAttributes and examples
codestring Required
labelstring Required
orderinteger Required
INT32

Eligibles

Description of a list of users and groups of users who are eligibles for the sharing of an entit.
Object
NameDescriptionTypeAttributes and examples
usersarray of User Optional
Datatype details
TypeDescriptionAttributes and examples
array
User
groupsarray of Group Optional
Datatype details
TypeDescriptionAttributes and examples
array
Group

User

Basic description of an user, with its id, first name and last name.
Object
NameDescriptionTypeAttributes and examples
userIdUUIDstring Required
firstNamestring Required
lastNamestring Required

Group

Desription of group of users, with the group id and its name.
Object
NameDescriptionTypeAttributes and examples
groupIdUUIDstring Required
groupNamestring Required

SharingResponse

Object
NameDescriptionTypeAttributes and examples
entityTypestring Required
entityIdUUIDstring Required
userIdUUIDstring Required
levelCodestring Required
entitlementsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
array
string
userOwnersarray of UserSharingResponse Optional
Datatype details
TypeDescriptionAttributes and examples
array
UserSharingResponse
groupOwnersarray of GroupSharingResponse Optional
Datatype details
TypeDescriptionAttributes and examples
array
GroupSharingResponse
sharingSetCountinteger Optional
INT32
isSharedWithOthersboolean Optional

UserSharingResponse

Object
NameDescriptionTypeAttributes and examples
userIdUUIDstring Required
levelLevelResponse Required
firstNamestring Optional
lastNamestring Optional
foreignEntityForeignEntity Required
deletedAtdatetime Optional
RFC3339

ForeignEntity

Object
NameDescriptionTypeAttributes and examples
entityIdUUIDstring Required
entityTypestring Required

GroupSharingResponse

Object
NameDescriptionTypeAttributes and examples
groupIdUUIDstring Required
levelLevelResponse Required
groupNamestring Optional
foreignEntityForeignEntity Required
deletedAtdatetime Optional
RFC3339

EntitlementsResponse

Object
NameDescriptionTypeAttributes and examples
entityIdUUIDstring Required
entitlementsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
array
string

SharingSetResponse

Object
NameDescriptionTypeAttributes and examples
usersarray of UserSharingResponse Optional
Datatype details
TypeDescriptionAttributes and examples
array
UserSharingResponse
groupsarray of GroupSharingResponse Optional
Datatype details
TypeDescriptionAttributes and examples
array
GroupSharingResponse

LevelRequest

Object
NameDescriptionTypeAttributes and examples
codestring Required

SharingSetKey

Object
NameDescriptionTypeAttributes and examples
entityTypestring Required
entityIdUUIDstring Required

PutSharingSetRequest

Object
NameDescriptionTypeAttributes and examples
usersarray of PutUserSharingRequest Optional
Datatype details
TypeDescriptionAttributes and examples
array
PutUserSharingRequest
groupsarray of PutGroupSharingRequest Optional
Datatype details
TypeDescriptionAttributes and examples
array
PutGroupSharingRequest

PutUserSharingRequest

Object
NameDescriptionTypeAttributes and examples
userIdUUIDstring Required
levelLevelRequest Required
firstNamestring Optional
lastNamestring Optional
foreignEntityForeignEntity Optional

PutGroupSharingRequest

Object
NameDescriptionTypeAttributes and examples
groupIdUUIDstring Required
levelLevelRequest Required
groupNamestring Optional
foreignEntityForeignEntity Optional

PatchSharingSetRequest

Object
NameDescriptionTypeAttributes and examples
usersarray of PatchUserSharingRequest Optional
Datatype details
TypeDescriptionAttributes and examples
array
PatchUserSharingRequest
groupsarray of PatchGroupSharingRequest Optional
Datatype details
TypeDescriptionAttributes and examples
array
PatchGroupSharingRequest

PatchUserSharingRequest

Object
NameDescriptionTypeAttributes and examples
userIdUUIDstring Required
levelLevelRequest Optional
firstNamestring Optional
lastNamestring Optional
foreignEntityForeignEntity Optional

PatchGroupSharingRequest

Object
NameDescriptionTypeAttributes and examples
groupIdUUIDstring Required
levelLevelRequest Optional
groupNamestring Optional
foreignEntityForeignEntity Optional

BulkSharingSetRequest

Object
NameDescriptionTypeAttributes and examples
bulkarray of Object Required
Datatype details
TypeDescriptionAttributes and examples
array
Object
NameDescriptionTypeAttributes and examples
entityIdUUIDstring Required
entityTypestring Required
usersarray of PatchUserSharingRequest Optional
Datatype details
TypeDescriptionAttributes and examples
array
PatchUserSharingRequest
groupsarray of PatchGroupSharingRequest Optional
Datatype details
TypeDescriptionAttributes and examples
array
PatchGroupSharingRequest
back to top↑