Skip to main content

List

Description#

Retrieve a list of resources.

Request#

HTTP Method: GET

curl -X GET \  https://<tenant-domain>/api/v1/global_resources \  -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 Array describing resources in the Tines tenant.

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.
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#

{  "global_resources": [    {      "id": 1,      "user_id": 1,      "name": "tines_jira_url",      "value": "tinesio.atlassian.net",      "team_id": 2,      "folder_id": 1,      "created_at": "2019-12-12T21:34:16.540Z",      "updated_at": "2019-12-12T21:34:16.540Z"    }  ]}