ai
GET /v1/ai/site-builds/{siteBuildId}/images
What generating this draft's images would cost. Spends nothing.
Autentifikacija
Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu sites.create; 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/ai/site-builds/{siteBuildId}/images \
-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
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
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
siteBuildId (path) | Uuid | Da | — |
Odgovor
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
quote | object | Da | — |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404 · 429