App - Design Templates
Fetch all design templates
Fetch all design templates across all categories
Endpoint
GET /api/v1/design_templates
Parameters
Name | Description |
---|---|
design_template_category_id | Limit results to certain category |
Request
Route
GET /api/v1/design_templates
Headers
Accept: application/json
Content-Type: application/json
App-Id: 6e65b4e8-5db1-4468-b2b8-bed55a85a9eb
App-Secret: t9VcYkqyRSRg4rJNdxtRdripOxb84hL6BGbyWveH
Response
Simulated Response
Status
200
Headers
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d30962f8-30be-401e-b9d1-39b39ed49950
Content-Length: 1741
Body
{
"data": [
{
"id": "13",
"type": "design_template",
"attributes": {
"id": 13,
"name": "Sample Template",
"description": "Sample description",
"video_url": null,
"purchase_url": "https://example.com/gallery/123/download",
"number_of_photos": 3,
"design_category_tag_ids": [
],
"design_category_tag_names": [
],
"design_category_layout_ids": [
],
"design_category_layout_names": [
],
"primary_image": {
"video_variant": null
},
"additional_images": [
]
},
"relationships": {
"design_template_category": {
"data": {
"id": "29",
"type": "design_template_category"
}
},
"design_category_tags": {
"data": [
]
},
"design_category_layouts": {
"data": [
]
}
}
},
{
"id": "14",
"type": "design_template",
"attributes": {
"id": 14,
"name": "Sample Template",
"description": "Sample description",
"video_url": null,
"purchase_url": "https://example.com/gallery/123/download",
"number_of_photos": 3,
"design_category_tag_ids": [
],
"design_category_tag_names": [
],
"design_category_layout_ids": [
],
"design_category_layout_names": [
],
"primary_image": {
"video_variant": null
},
"additional_images": [
]
},
"relationships": {
"design_template_category": {
"data": {
"id": "29",
"type": "design_template_category"
}
},
"design_category_tags": {
"data": [
]
},
"design_category_layouts": {
"data": [
]
}
}
},
{
"id": "15",
"type": "design_template",
"attributes": {
"id": 15,
"name": "Sample Template",
"description": "Sample description",
"video_url": null,
"purchase_url": "https://example.com/gallery/123/download",
"number_of_photos": 3,
"design_category_tag_ids": [
],
"design_category_tag_names": [
],
"design_category_layout_ids": [
],
"design_category_layout_names": [
],
"primary_image": {
"video_variant": null
},
"additional_images": [
]
},
"relationships": {
"design_template_category": {
"data": {
"id": "30",
"type": "design_template_category"
}
},
"design_category_tags": {
"data": [
]
},
"design_category_layouts": {
"data": [
]
}
}
}
]
}