tags

Get the list of tags that can be associated with Posts on a project.

Request

Query for a project's tags by the project's id.

query($id: ID!) {
	project(id: $id) {
		tags {
			id
			name
		}
	}
}

Variables

NameType
idID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Response

Returns the project's tags. These tags can be associated with posts.

{
  "data":{
    "project":{
      "tags":[
        {
          "id":"9ca265a7-010b-4b98-a5c5-9890285da928",
          "name":"RFIs"
        },
        ...
      ]
    }
  }
}