The Category APIs allow for the manipulation of template categories within Marq.
Attribute |
---|
uri URI URI to the template category. |
id integer ID of the template. |
name string Name of the template category. |
order integer The order number which is used to display the template preview within the Marq platform. |
autoPopulateId integer ID of the template's original creation of a template. |
created timestamp The timestamp for when the template was created. |
modified timestamp The timestamp for when the template was last modified. |
values array of category value objects URI to retrieve all template categories associated to the template. |
[
{
"uri": "https://api.marq.com/v1/template-categories/10075",
"id": 10075,
"name": "Social Media",
"order": 3,
"autoPopulateId": null,
"created": "2025-01-31T06:21:40Z",
"modified": "2025-02-19T11:03:02Z",
"values": [
{
"uri": "https://api.marq.com/v1/template-categories/10075/values/48478",
"id": 48478,
"name": "Instagram",
"order": 0,
"created": "2025-02-19T10:55:36Z",
"modified": "2025-02-19T10:56:37Z",
"category": "https://api.marq.com/v1/template-categories/10075",
"documents": "https://api.marq.com/v1/projects?categoryValueId=48478"
},
{
"uri": "https://api.marq.com/v1/template-categories/10075/values/47943",
"id": 47943,
"name": "Facebook",
"order": 1,
"created": "2025-01-31T06:21:40Z",
"modified": "2025-02-19T10:56:37Z",
"category": "https://api.marq.com/v1/template-categories/10075",
"documents": "https://api.marq.com/v1/projects?categoryValueId=47943"
}
]
}
]