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

Parameter Description
id Resource ID.
user_id ID of user associated with the resource.
name Name of the resource.
team_id ID of team to which the resource belongs.
folder_id ID of folder to which the resource belongs.
read_access Control where this resource can be used.
description Description of the resource.
slug An underscored representation of the 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,
      "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": ""
    }
  ]
}