Skip to content

Edit metadata

PATCH
/image/{id}

Requires an authenticated principal with the EditImage permission. Omitted fields retain their current values; supplying tags replaces the current tag set.

Authorizations

LongHubAuth

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

Type
API Key (header: Authorization)

Parameters

Path Parameters

id*
Type
integer
Required
Format
"int64"
Minimum
1

Request Body

application/json
JSON
{
  
"text": "string",
  
"rating": "string",
  
"tags": [
  
  
"string"
  
]
}

Responses

Version created; empty response body

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI