Project Tags

Project tag management operations

List project tags

get

Lists tags for a project

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
project_idstringRequired

The project ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

Project tags listed successfully

application/json
get
/projects/{project_id}/tags
GET /v3/projects/{project_id}/tags HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
  "tags": [
    "text"
  ],
  "links": {
    "self": "text",
    "previous": "text",
    "next": "text"
  }
}

Replace all project tags

put

Replaces all tags for a project

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
project_idstringRequired

The project ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
tagsstring[]Required
Responses
200

Project tags replaced successfully

application/json
put
/projects/{project_id}/tags
PUT /v3/projects/{project_id}/tags HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "tags": [
    "text"
  ]
}
{
  "tags": [
    "text"
  ],
  "links": {
    "self": "text",
    "previous": "text",
    "next": "text"
  }
}

Delete all project tags

delete

Deletes all tags from a project

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
project_idstringRequired

The project ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
delete
/projects/{project_id}/tags
DELETE /v3/projects/{project_id}/tags HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*

No content

Add tag to project

put

Adds a tag to a project

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
project_idstringRequired

The project ID

tagstringRequired

The tag name

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
put
/projects/{project_id}/tags/{tag}
PUT /v3/projects/{project_id}/tags/{tag} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*

No content

Remove tag from project

delete

Removes a tag from a project

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
project_idstringRequired

The project ID

tagstringRequired

The tag name

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
delete
/projects/{project_id}/tags/{tag}
DELETE /v3/projects/{project_id}/tags/{tag} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*

No content

Check if project has tag

head

Checks if a project has a specific tag

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
project_idstringRequired

The project ID

tagstringRequired

The tag name

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
head
/projects/{project_id}/tags/{tag}
HEAD /v3/projects/{project_id}/tags/{tag} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*

No content

Last updated

Was this helpful?