Skip to main content

Get

Description

Retrieve a resource.

Request

HTTP Method: GET

ParameterDescription
idThe ID of the resource to retrieve.
curl -X GET \
https://<tenant-domain>/api/v1/global_resources/<resource-id> \
-H 'content-type: application/json' \
-H 'x-user-email: <email-address>' \
-H 'x-user-token: <api-token>'

Response

A successful request will return a JSON object describing the selected resource.

Field description

ParameterDescription
idResource ID.
user_idID of user associated with the resource.
nameName of the resource.
team_idID of team to which the resource belongs.
folder_idID of folder to which the resource belongs.
read_accessControl where this resource can be used.
descriptionDescription of the resource.
slugAn underscored representation of the resource name
created_atISO 8601 Timestamp representing date and time the resource was created.
updated_atISO 8601 Timestamp representing date and time the resource was last updated.

Sample response

{
"id": 1,
"name": "tines_jira_url",
"value": "tinesio.atlassian.net",
"team_id": 2,
"folder_id": 1,
"user_id": 1,
"read_access": "TEAM",
"slug": "tines_jira_url",
"created_at": "2019-12-12T21:34:16.540Z",
"updated_at": "2019-12-12T21:34:16.540Z",
"description": ""
}