View Zone layout

View Zone layout

GET https://api.ocamba.com/v2/adex/zone-layouts/{id}

Retrieves the details of a Zone layout that has previously been created if a valid identifier was provided

Path parameters

parameters

Query parameters

parameters

Response schemas

GET https://api.ocamba.com/v2/adex/zone-layouts/{id} HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
curl -X GET "https://api.ocamba.com/v2/adex/zone-layouts/{id}" \
  -H "Authorization: Bearer $TOKEN"
fetch("https://api.ocamba.com/v2/adex/zone-layouts/{id}", {
  method: "GET",
  headers: { Authorization: `Bearer ${TOKEN}` }
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v2/adex/zone-layouts/{id}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  "Authorization: Bearer $token"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);

Responses

200 OK

HTTP/1.1 200 OK
Content-Type: application/json

{
  "total": 1,
  "items": [
    {
      "id": "banner",
      "layout": "banner",
      "type": "system",
      "name": "Banner layout",
      "content": "Content goes here.",
      "description": "Example goes here.",
      "create_time": "2021-10-29 12:47:23",
      "update_time": "2021-10-30 14:27:26"
    }
  ]
}
Responses