Skip to content

Get favorite state

GET
/favorite/{id}

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

Responses

Favorite state

application/json
JSON
{
  
"error": "string",
  
"data": {
  
  
"userId": 0,
  
  
"imageId": 0,
  
  
"shortcut": "string",
  
  
"favoritedAt": "string"
  
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI