Skip to main content
POST
/
api
/
datasetrw
/
v1
/
datasets
/
{datasetId}
/
tags
Tag a snapshot in this Dataset
curl --request POST \
  --url https://api.example.com/api/datasetrw/v1/datasets/{datasetId}/tags \
  --header 'Content-Type: application/json' \
  --header 'X-Domino-Api-Key: <api-key>' \
  --data '
{
  "snapshotId": "62313ce67a0af0281c01a6a5",
  "tagName": "MyTag"
}
'
{
  "dataset": {
    "createdAt": "2022-03-12T02:13:44.467Z",
    "id": "62313ce67a0af0281c01a6a5",
    "name": "My Dataset",
    "snapshotIds": [
      "<string>"
    ],
    "tags": {},
    "description": "<string>",
    "projectId": "62313ce67a0af0281c01a6a5"
  },
  "metadata": {
    "notices": [
      "<string>"
    ],
    "requestId": "<string>"
  }
}

Authorizations

X-Domino-Api-Key
string
header
required

Path Parameters

datasetId
string
required

Dataset ID

Body

application/json

Tag name and snapshot ID to apply it to

snapshotId
string
required

ID of a snapshot belonging to the dataset

Example:

"62313ce67a0af0281c01a6a5"

tagName
string
required

Name of tag to add to a snapshot

Example:

"MyTag"

Response

Success

dataset
object
required
metadata
object
required