Skip to main content
GET
/
tag
cURL
curl --request GET \
  --url https://api.opal.dev/v1/tag \
  --header 'Authorization: Bearer <token>'
{
  "tag_id": "f290a738-5f9f-43c2-ad67-fa31ff0eb946",
  "created_at": "2022-01-23T04:56:07.000Z",
  "updated_at": "2022-02-23T01:34:07.000Z",
  "user_creator_id": "d4a7d928-783e-4599-8ec6-088d635a5bcc",
  "key": "database-name",
  "value": "redis_db"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

tag_key
string
required

The key of the tag to get.

tag_value
string

The value of the tag to get.

Response

200 - application/json

The tag requested.

Tag Object

Description

The Tag object is used to represent a tag.

Usage Example

Get tags from the GET Tag endpoint.

tag_id
string<uuid>
required

The ID of the tag.

Example:

"f290a738-5f9f-43c2-ad67-fa31ff0eb946"

created_at
string<date-time>

The date the tag was created.

Example:

"2022-01-23T04:56:07.000Z"

updated_at
string<date-time>

The date the tag was last updated.

Example:

"2022-02-23T01:34:07.000Z"

user_creator_id
string<uuid>

The ID of the user that created the tag.

Example:

"d4a7d928-783e-4599-8ec6-088d635a5bcc"

key
string

The key of the tag.

Example:

"database-name"

value
string

The value of the tag.

Example:

"redis_db"