hosting

GET /v1/site-blueprints

List your site blueprints.

Sve hosting krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija sa 403, a ne sa 404.

Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

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

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

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`.

Parametri

NazivVrstaObaveznoŠta je ovo
stack_type (query)StackTypeNeOnly blueprints captured from a site of this stack. The compatibility axis — a WordPress blueprint can only be deployed onto WordPress.
cursor (query)stringNeOpaque cursor from a previous page's `page.next_cursor`.
limit (query)integerNeMaximum items to return (page size).
ordering (query)stringNeSort 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…

Odgovor

NazivVrstaObaveznoŠta je ovo
dataSiteBlueprint[]Da
pagePageMetaDa

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 429