hosting

GET /v1/site-blueprints

List your site blueprints.

Të gjitha pikat e skajshme hosting

Autentifikimi

Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen sites.view; një çelës pa të refuzohet me 403, jo 404.

Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

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

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

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

Parametrat

EmriLlojiKërkohetÇfarë është kjo
stack_type (query)StackTypeJoOnly blueprints captured from a site of this stack. The compatibility axis — a WordPress blueprint can only be deployed onto WordPress.
cursor (query)stringJoOpaque cursor from a previous page's `page.next_cursor`.
limit (query)integerJoMaximum items to return (page size).
ordering (query)stringJoSort 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…

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
dataSiteBlueprint[]Po
pagePageMetaPo

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 429