Taxonomy Vocabulary Services
See the Taxonomy Vocabularies page for more information.
Create
Example Result
[1]
1 = SAVED_NEW
Other Example Results
[2]
2 = SAVED_UPDATED
See taxonomy_vocabulary_save() for information about return values.
Retrieve
Example Result
{
"vid":"1",
"name":"Tags",
"machine_name":"tags",
"description":"Use tags to group articles on similar topics into categories.",
"hierarchy":"0",
"module":"taxonomy",
"weight":"0",
/* ... */
}
Update
Example Result
[2]
2 = SAVED_UPDATED
See taxonomy_vocabulary_save() for information about return values.
Delete
Example Result
[3]
See taxonomy_vocabulary_delete and SAVED_DELETED for more information.
getTree
Example Result
[
{
"tid":"2",
"vid":"1",
"name":"goodbye world",
"description":"",
"format":"filtered_html",
"weight":"0",
"depth":0,
"parents":["0"]
},
{
"tid":"1",
"vid":"1",
"name":"hello world",
"description":"",
"format":"filtered_html",
"weight":"0",
"depth":0,
"parents":["0"]
}
]