App - Design Templates
Fetch templates matching a certain category
Can fetch templates for a certain category
Endpoint
GET /api/v1/design_templates?design_template_category_id=:design_template_category_id
Parameters
Name | Description |
---|---|
design_template_category_id | Limit results to certain category |
Request
Route
GET /api/v1/design_templates?design_template_category_id=32
Headers
Accept: application/json
Content-Type: application/json
App-Id: f92b313e-c8d9-47ed-ad80-14d4212423e1
App-Secret: d2HV5lXIbykX5Q0b3rCT8dWlWGGLva6PJKtUX29T
Query Parameters
design_template_category_id=32
Response
Simulated Response
Status
200
Headers
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: dc6adc9b-bc26-4ebe-aedd-3324f2910b83
Content-Length: 587
Body
{
"data": [
{
"id": "17",
"type": "design_template",
"attributes": {
"id": 17,
"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": "32",
"type": "design_template_category"
}
},
"design_category_tags": {
"data": [
]
},
"design_category_layouts": {
"data": [
]
}
}
}
]
}