Get Resource

Gets the metadata of a resource by ID.

Path parameters

resource_idstringRequired
The ID of the target resource.

Headers

xi-api-keystringRequired

Query parameters

resource_typeenumRequired
Resource type of the target resource.

Response

Successful Response
resource_idstring
The ID of the resource.
resource_typeenum
The type of the resource.
role_to_group_idsmap from strings to lists of strings
A mapping of roles to group IDs. When the resource is shared with a user, the group id is the user's id.
share_optionslist of objects
List of options for sharing the resource further in the workspace. These are users who don't have access to the resource yet.
creator_user_idstring or null
The ID of the user who created the resource.

Errors