Documentation Index
Fetch the complete documentation index at: https://docs.opigno.com/llms.txt
Use this file to discover all available pages before exploring further.
Taxonomy term API object
In Opigno Enterprise API, taxonomy term is represented by aTerm 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. |
Get term by ID
If you know the exact ID of the term, you can callgetTaxonomyTerm query to retrieve the information about the taxonomy term.
Access policy:
- The API user context should have permission to view the taxonomy term with the given ID.
termId (required).
If the term with the given ID exists, it will be returned.
Get term by name
If you don’t know an ID of the needed term, it can be found by the name.Note: query condition is ”=” not “LIKE”. It means that it will search for
the list of terms with exactly the same name that is provided in the request.
| 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. |