App - Design Category Layouts

Fetch all layouts matching a certain category

Fetch only layouts matching a certain category for an App

Endpoint

GET /api/v1/design_category_layouts?design_template_category_id=:design_template_category_id

Request

Route

GET /api/v1/design_category_layouts?design_template_category_id=23

Headers

Accept: application/json
Content-Type: application/json
App-Id: 8e6c2a3e-ce47-45d2-90ae-6cea60b363de
App-Secret: o2eurSot7IEUjAHCvpOixrwa3XGi8MuvH3x9AHCu

Query Parameters

design_template_category_id=23

Response

Simulated Response

Status

200

Headers

Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: cd129b46-3674-491f-a3e6-8cc93d6d030e
Content-Length: 262

Body

{
  "data": [
    {
      "id": "11",
      "type": "design_category_layout",
      "attributes": {
        "id": 11,
        "name": "2x6",
        "design_template_category_id": 23,
        "position": 1
      }
    },
    {
      "id": "12",
      "type": "design_category_layout",
      "attributes": {
        "id": 12,
        "name": "4x6",
        "design_template_category_id": 23,
        "position": 2
      }
    }
  ]
}