Skip to main content

Tags

GET Distribution Tags#

Get all distribution tags.

GET ALL
MethodGET ALL
URL or EndPoint/api/v{version}/projects/{projectId}/distributions/{distributionId}/tags
HeadersAuthorization
ParametersdistributionId, version, projectId
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{projectId}Yesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Shows the project Id
{distributionId}Yesstring"string"Shows the distribution id

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
versionYesstringv1Shows the version of API
projectIdYesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Shows the project Id
distributionIdYesstring"string"Shows the distribution id

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

[  {    "id": 0,    "distributionId": "string",    "key": "string",    "value": "string"  }]
Field NameTypeExampleDescription
idint0Returns the tag id
distributionIdstring"string"Return the distribution id
keystring"string"Returns the unique key of the tag
valuestring"string"Returns the value of the tag

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

POST Distribution Tag#

Create a distribution tag.

POST
MethodPOST
URL or EndPoint/api/v{version}/projects/{projectId}/distributions/{distributionId}/tags
HeadersAuthorization
ParametersprojectId, version, distributionId
Body{id, distributionId, key, value }

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{ projectId }Yesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Shows the project Id
{distributionId}Yesstring"string"Shows the distribution id

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
versionYesstring($uuid)v1Shows the version of API
projectIdYesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Id of the project
distributionIdYesstring"string"Shows the distribution id

Request body#

[  {    "id": 0,    "distributionId": "string",    "key": "string",    "value": "string"  }]

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
idYesint0
distributionIdYesstring"string"
tagsYesstring"string"Sends bucket tags
keyYesstring"string"Sends the unique key of the tag
valueYesstring"string"Sends the value of the tag

Responses#

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in json format by the service.

[  {    "id": 0,    "distributionId": "string",    "key": "string",    "value": "string"  }]
Field NameTypeExampleDescription
idint0Returns the tag id
distributionIdstring"string"Return the distribution id
keystring"string"Returns the unique key of the tag
valuestring"string"Returns the value of the tag

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 400 Bad Request
  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

Get Distribution Tag#

Get a distribution tag.

GET
MethodGET
URL or EndPoint/api/v{version}/projects/{projectId}/distributions/{distributionId}/tags/{id}
HeadersAuthorization
Parametersid, distributionId, projectId, version
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{ projectId }Yesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Shows the project Id
{distributionId}Yesstring"string"Shows the distribution id
{id}Yesint0Shows the tag id

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
versionYesstring($uuid)v1Shows the version of API
projectIdYesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Id of the project
distributionIdYesstring"string"Shows the distribution id
idYesint0Shows the tag id

Responses#

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in json format by the service.

[  {    "id": 0,    "distributionId": "string",    "key": "string",    "value": "string"  }]
Field NameTypeExampleDescription
idint0Returns the tag id
distributionIdstring"string"Return the distribution id
keystring"string"Returns the unique key of the tag
valuestring"string"Returns the value of the tag

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

PUT Distribution Tag#

Updates a distribution tag.

PUT
MethodPUT
URL or EndPoint/api/v{version}/projects/{projectId}/distributions/{distributionId}/tags/{id}
HeadersAuthorization
ParametersprojectId, version, name
Body{id, distributionId, key, value }

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{ projectId }Yesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Shows the project Id
{distributionId}Yesstring"string"Shows the distribution id
{id}Yesint0Shows the tag id

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
versionYesstring($uuid)v1Shows the version of API
projectIdYesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Id of the project
distributionIdYesstring"string"Shows the distribution id
idYesint0Shows the tag id

Request body#

[  {    "id": 0,    "distributionId": "string",    "key": "string",    "value": "string"  }]

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
idYesint0
distributionIdYesstring"string"
tagsYesstring"string"Sends bucket tags
keyYesstring"string"Sends the unique key of the tag
valueYesstring"string"Sends the value of the tag

Responses#

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in json format by the service.

[  {    "id": 0,    "distributionId": "string",    "key": "string",    "value": "string"  }]
Field NameTypeExampleDescription
idint0Returns the tag id
distributionIdstring"string"Return the distribution id
keystring"string"Returns the unique key of the tag
valuestring"string"Returns the value of the tag

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 400 Bad Request
  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

DELETE Distribution Tag#

Delete a distribution tag.

DELETE
MethodDELETE
URL or EndPoint/api/v{version}/projects/{projectId}/distributions/{distributionId}/tags/{id}
HeadersAuthorization
Parametersid, distributionId, projectId, version
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{ projectId }Yesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Shows the project Id
{distributionId}Yesstring"string"Shows the distribution id
{id}Yesint0Shows the tag id

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
versionYesstring($uuid)v1Shows the version of API
projectIdYesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Id of the project
distributionIdYesstring"string"Shows the distribution id
idYesint0Shows the tag id

Responses#

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in json format by the service.

[  {    "id": 0,    "distributionId": "string",    "key": "string",    "value": "string"  }]
Field NameTypeExampleDescription
idint0Returns the tag id
distributionIdstring"string"Return the distribution id
keystring"string"Returns the unique key of the tag
valuestring"string"Returns the value of the tag

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found