Categories
GETs (reading data)
Resource | Description |
---|---|
/categories |
Get all configured categories. |
/categories/{category} |
Get the category specified by the given name. |
/categories/{category}/nodes/{node} |
Get the category specified by the given name for the given node (similar to |
/categories/nodes/{node} |
Get the categories for a given node (similar to |
/categories/groups/{group} |
Get the categories for a given user group (similar to |
POST (adding data)
Resource | Description |
---|---|
/categories |
Adds a new category. |
PUTs (modifying data)
Resource | Description |
---|---|
/categories/{category} |
Update the specified category. |
/categories/{category}/nodes/{node} |
Modify the category with the given node ID and name (similar to |
/categories/{category}/groups/{group} |
Add the given category to the given user group (similar to |
DELETEs (removing data)
Resource | Description |
---|---|
/categories/{category} |
Delete the specified category. |
/categories/{category}/nodes/{node} |
Remove the given category from the given node (similar to |
/categories/{category}/groups/{group} |
Remove the given category from the given user group (similar to |