Term
object with the following parameters:
Parameter | Type | Description |
---|---|---|
id | ID | Required. The taxonomy term ID. |
name | String | Required. The term name (label). |
weight | Int | Required. Determines the order or priority of the taxonomy term. |
parent | Term | Optional. The parent term, if it’s set. |
vocabulary | String | A machine name of the corresponding taxonomy vocabulary. |
getTaxonomyTerm
query to retrieve the information about the taxonomy term.
Access policy:
termId
(required).
If the term with the given ID exists, it will be returned.
Argument | Type | Description |
---|---|---|
name | String | Required. The term name (label) to search by. |
vocabulary | ID | A machine name of the vocabulary. Can be used to limit the search results. |