Skip to main content

Tags

GET Tags#

Get all bucket tags.

GET ALL
MethodGET ALL
URL or EndPoint/api/v{version}/projects/{projectId}/buckets/{name}/tags
HeadersAuthorization
Parametersname, 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
nameYesstring"string"Shows the bucket name

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
versionYesstringv1Shows the version of API
projectIdYesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Shows the project Id
nameYesstring"string"Shows the bucket name

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.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": [    {      "key": "string",      "value": "string"    }  ],  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Return the result of bucket tags
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 Tag#

Create a bucket tag.

POST
MethodPOST
URL or EndPoint/api/v{version}/projects/{projectId}/buckets/{name}/tags
HeadersAuthorization
ParametersprojectId, version, name
Body{tags, 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
nameYesstring"string"Shows the bucket name

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
nameYesstring"string"Shows the bucket name

Request body#

{  "tags": [    {      "key": "string",      "value": "string"    }  ]}

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
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.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": [    {      "key": "string",      "value": "string"    }  ],  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns the result of created bucket
tagsstring"string"Returns bucket tags
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

PUT Tag#

Updates a bucket file listing.

PUT
MethodPUT
URL or EndPoint/api/v{version}/projects/{projectId}/buckets/{name}/tags
HeadersAuthorization
ParametersprojectId, version, name
Body{tags, 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
nameYesstring"string"Shows the bucket name

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
nameYesstring"string"Shows the bucket name

Request body#

{  "tags": [    {      "key": "string",      "value": "string"    }  ]}

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
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 200 response.

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

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": [    {      "key": "string",      "value": "string"    }  ],  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns the result of created bucket
tagsstring"string"Returns bucket tags
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 Tag#

Delete or Empty a bucket.

DELETE
MethodDELETE
URL or EndPoint/api/v{version}/projects/{projectId}/buckets/{name}/tags/{key}
HeadersAuthorization
Parametersname, projectId, version, key, deleteAll
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
nameYesstring"string"Shows the bucket name
tagsYesstring"string"Shows the bucket tag
{key}Yesstring"string"Shows the bucket tag key

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{projectId}Yesstring2e21fae6-af4c-4a4a-e0fc-08d903f55711Shows the project Id
nameYesstring"string"Shows the bucket name
keyYesstring"string"Enter the bucket tag key if you want to delete a specific tag
deleteAllYesbooltrueSelect the deleteAll, if you want to delete all bucket tags select true, if you want to delete a specific bucket tag select false

Request Body#


"string"

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
keyNobool"string"Sends bucket tags key if you want to delete a specific tag

Responses#

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

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