Produkte und Dateien
Finish image
POST
/ v1 / images / {upload_id} / finish The last step of POST /v1/images, after your PUT to the upload_url. Checks the image, publishes it and returns its image_url. Use the image_url for:
imagesorcheckout_banner_urlofPOST /v1/productsandPATCH /v1/products/{product_id}cover_image_urlofPOST /v1/coursesandPATCH /v1/courses/{course_id}(course banner)cover_image_urlofPOST /v1/courses/{course_id}/modulesandPATCH /v1/modules/{module_id}(module image, 16:9, shows only with the course layout "cards")img srcin HTML: emailbody_html, text blocks and landing pages
An image block in content needs a file_id from POST /v1/files instead.
Ändert sofort MCP-Werkzeug finish_image
Autorisierung
-
Authorizationstring Header erforderlichBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Einführung
Pfad-Parameter
-
upload_idstring erforderlichThe upload_id from upload_image.
max. Länge
250Beispiel:"2c83c3215660ad75ee567ef4fa2d6289.png"
Antwort
Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.
-
image_urlstring<uri>Use it in images, checkout_banner_url, cover_image_url or as img src in HTML.
-
size_bytesintegerFile size in bytes.
-
next_stepstringWhat to do next.