Description

Retrieve a list of global 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 global resources in the Tines tenant.

Field description

Parameter Description
id Global resource ID.
user_id ID of user associated with the resource.
name Name of the global resource.
team_id ID of team to which the global resource belongs.
folder_id ID of folder to which the global resource belongs.
read_access Control where this resource can be used.
slug An underscored representation of the global resource name
created_at ISO 8601 Timestamp representing date and time the resource was created.
updated_at ISO 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"
    }
  ]
}