ai

GET /v1/ai/site-builds/{siteBuildId}/images

What generating this draft's images would cost. Spends nothing.

Svi ai krajnji točke

Sva developerska dokumentacija

Autentifikacija

Pošaljite API ključ kao nosivi token. Ključ mora imati dozvolu sites.create; ključ bez nje se odbija s kodom 403, a ne 404.

Ova krajnja točka ne prihvaća ID organizacije. Vaš ključ već identificira organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.

curl -X GET https://api.zinndigital.com/v1/ai/site-builds/{siteBuildId}/images \
  -H "Authorization: Bearer zdk_live_…"

Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli

Pojedinosti

Lists every image the generated markup asks for and prices them, without generating anything and without charging anything. Images already generated for this draft are listed separately and are not quoted again. The list comes from the <img> tags in the generated HTML rather than from a number anybody types, so the count shown is the number of images the site actually uses. unit_price_usd_micros is 0 when the organization is on its own provider key — that is the true answer to "what will we charge you", not a missing value; their own provider bills them directly. Requires sites.create.

Parametri

NazivVrstaObaveznoŠto je to
siteBuildId (path)UuidDa

Odgovor

NazivVrstaObaveznoŠto je to
quoteobjectDa

Pogreške koje ova krajnja točka može vratiti

401 · 403 · 404 · 429