GET /sites/$site/taxonomies/$taxonomy/terms
Get a list of a site's terms by taxonomy.
Resource Information
Method | GET |
---|---|
URL | https://public-api.wordpress.com/rest/v1.1/sites/$site/taxonomies/$taxonomy/terms |
Requires authentication? | No |
Method Parameters
Parameter | Type | Description |
---|---|---|
$site | (int|string) | Site ID or domain |
$taxonomy | (string) | Taxonomy |
Query Parameters
Parameter | Type | Description |
---|---|---|
context | (string) |
|
http_envelope | (bool) |
|
pretty | (bool) |
|
meta | (string) | Optional. Loads data from the endpoints found in the 'meta' part of the response. Comma-separated list. Example: meta=site,likes |
fields | (string) | Optional. Returns specified fields only. Comma-separated list. Example: fields=ID,title |
callback | (string) | An optional JSONP callback function. |
number | (int) | The number of terms to return. Limit: 1000. Default: 100. |
offset | (int) | 0-indexed offset. |
page | (int) |
Return the Nth 1-indexed page of terms. Takes precedence over the offset parameter. |
search | (string) | Limit response to include only terms whose names or slugs match the provided search query. |
order | (string) |
|
order_by | (string) |
|
Response Parameters
Parameter | Type | Description |
---|---|---|
found | (int) | The number of terms returned. |
terms | (array) | Array of tag objects. |
Resource Errors
This endpoint does not return any errors.