Skip to content

Presign PUT URL

POST
/image/sign

Requires an authenticated principal with the CreateImage permission. The returned URL is intended for an object-storage PUT using the requested MIME type.

Authorizations

LongHubAuth

Use Session <JWT> for a session token or Key <app-key> for an application key.

Type
API Key (header: Authorization)

Request Body

application/json
JSON
{
  
"mime": "image/png"
}

Responses

Upload session

application/json
JSON
{
  
"error": "string",
  
"data": {
  
  
"sessionId": 0,
  
  
"key": "string",
  
  
"url": "string"
  
}
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI