Skip to content

Acknowledge upload

POST
/image/ack

Requires an authenticated principal with the CreateImage permission. The session must have been created by the same user.

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
{
  
"sessionId": 0,
  
"text": "string",
  
"rating": "string",
  
"tags": [
  
  
"string"
  
]
}

Responses

Newly created image identifier

application/json
JSON
{
  
"error": "string",
  
"data": {
  
  
"id": 0
  
}
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI