Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл sites.view; ключ без нього відхиляється з кодом 403, а не 404.

Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

curl -X GET https://api.zinndigital.com/v1/site-blueprints \
  -H "Authorization: Bearer zdk_live_…"

Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API

Деталі

The management screen's data. A cheap database read, polled while a capture is in flight, so it never calls object storage — has_screenshot reports whether a picture exists and each tile asks for its own short-lived URL. Filter by stack_type to get exactly the blueprints that can be deployed onto a site of that stack; that is the same field the engine refuses a mismatch on, so a picker built on it cannot drift from the guard. Requires sites.view.

Параметри

НазваТипОбов'язковеЩо це таке
stack_type (query)StackTypeНіOnly blueprints captured from a site of this stack. The compatibility axis — a WordPress blueprint can only be deployed onto WordPress.
cursor (query)stringНіOpaque cursor from a previous page's page.next_cursor.
limit (query)integerНіMaximum items to return (page size).
ordering (query)stringНіSort key, optionally --prefixed for descending. One of created or name; defaults to -created (newest first). An unrecognised key is a 422, never a silent fall back to…

Відповідь

НазваТипОбов'язковеЩо це таке
dataSiteBlueprint[]Так
pagePageMetaТак

Помилки, які може повертати ця кінцева точка

401 · 403 · 429