Skip to main content
POST
Finish an image upload

Authorizations

Authorization
string
header
required

A Summer sign-in: an OAuth 2.1 access token, valid one hour. Sign in once with npx -y summer-engine login, then print a token with summer token. Each app you sign in spends your paid credits up to the limit you set in Connected apps.

Headers

Idempotency-Key
string

A new key for each new request; the same key returns the first answer.

Required string length: 1 - 128

Body

application/json
publicId
string
required

public_id from the upload's answer.

Required string length: 1 - 300
version
integer
required

version from the upload's answer.

Required range: x <= 9007199254740991
uploadSignature
string
required

signature from the upload's answer (not the one in fields).

Required string length: 1 - 128
format
enum<string>
required
Available options:
png,
jpg,
jpeg,
webp
title
string
default:Uploaded image
Required string length: 1 - 200

Response

Done.

assetId
string
required
fileUrl
string
required
width
number
required
height
number
required