API version:
Reusable template tags
CRUD functions on reusable template tags
Supported Formats
json
GET /public/v2/reusable_templates/:reusable_template_id/tags
Show all tags for a reusable template
Supported Formats
jsonErrors
Code | Description |
---|---|
400 | invalid_scope |
400 | unauthorized_client |
401 | Could not find resource owner |
401 | Resource owner is not entitled |
401 | invalid_token |
401 | Must be authenticated. |
401 | Unauthorized application. |
422 | Bad input parameter. Error message should indicate which one and why. |
POST /public/v2/reusable_templates/:reusable_template_id/tags
Add new tags for a reusable template. All old tags are removed
Supported Formats
jsonErrors
Code | Description |
---|---|
400 | invalid_scope |
400 | unauthorized_client |
401 | Could not find resource owner |
401 | Resource owner is not entitled |
401 | invalid_token |
401 | Must be authenticated. |
401 | Unauthorized application. |
422 | Bad input parameter. Error message should indicate which one and why. |
Params
Param name | Description |
---|---|
tags required |
Optional key value tags for categorization Validations:
|
tags[tag_name] required |
Tag name is required Validations:
|
tags[value] optional |
Optional value for the tag Validations:
|
PATCH /public/v2/reusable_templates/:reusable_template_id/tags
Add/update tags for a reusable template.
Supported Formats
jsonErrors
Code | Description |
---|---|
400 | invalid_scope |
400 | unauthorized_client |
401 | Could not find resource owner |
401 | Resource owner is not entitled |
401 | invalid_token |
401 | Must be authenticated. |
401 | Unauthorized application. |
422 | Bad input parameter. Error message should indicate which one and why. |
Params
Param name | Description |
---|---|
tags required |
Optional key value tags for categorization Validations:
|
tags[tag_name] required |
Tag name is required Validations:
|
tags[value] optional |
Optional value for the tag Validations:
|
DELETE /public/v2/reusable_templates/:reusable_template_id/tags
Delete a tag from a reusable template
Supported Formats
jsonErrors
Code | Description |
---|---|
400 | invalid_scope |
400 | unauthorized_client |
401 | Could not find resource owner |
401 | Resource owner is not entitled |
401 | invalid_token |
401 | Must be authenticated. |
401 | Unauthorized application. |
422 | Bad input parameter. Error message should indicate which one and why. |
Params
Param name | Description |
---|---|
tag required |
Tag name is required Validations:
|