mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-23 23:21:05 +01:00
updae API docs
This commit is contained in:
parent
7858a09dde
commit
5719613605
@ -55,9 +55,6 @@ paths:
|
|||||||
originalFileName:
|
originalFileName:
|
||||||
type: string
|
type: string
|
||||||
example: original.jpg
|
example: original.jpg
|
||||||
path:
|
|
||||||
type: string
|
|
||||||
example: /path/to/file
|
|
||||||
createdAt:
|
createdAt:
|
||||||
type: number
|
type: number
|
||||||
example: 1633024800000
|
example: 1633024800000
|
||||||
@ -143,10 +140,6 @@ paths:
|
|||||||
properties:
|
properties:
|
||||||
batchMode:
|
batchMode:
|
||||||
type: boolean
|
type: boolean
|
||||||
createdAt:
|
|
||||||
type: number
|
|
||||||
endedAt:
|
|
||||||
type: number
|
|
||||||
enhanceFace:
|
enhanceFace:
|
||||||
type: boolean
|
type: boolean
|
||||||
error:
|
error:
|
||||||
@ -185,8 +178,6 @@ paths:
|
|||||||
type: number
|
type: number
|
||||||
height:
|
height:
|
||||||
type: number
|
type: number
|
||||||
id:
|
|
||||||
type: string
|
|
||||||
model:
|
model:
|
||||||
type: string
|
type: string
|
||||||
progress:
|
progress:
|
||||||
@ -195,8 +186,6 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
userId:
|
|
||||||
type: string
|
|
||||||
saveImageAs:
|
saveImageAs:
|
||||||
type: string
|
type: string
|
||||||
enum: ["png", "jpg", "webp"]
|
enum: ["png", "jpg", "webp"]
|
||||||
@ -259,12 +248,6 @@ paths:
|
|||||||
batchMode:
|
batchMode:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates if batch mode is enabled
|
description: Indicates if batch mode is enabled
|
||||||
createdAt:
|
|
||||||
type: number
|
|
||||||
description: Timestamp when the task was created
|
|
||||||
endedAt:
|
|
||||||
type: number
|
|
||||||
description: Timestamp when the task ended
|
|
||||||
enhanceFace:
|
enhanceFace:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates if face enhancement is enabled
|
description: Indicates if face enhancement is enabled
|
||||||
@ -305,9 +288,6 @@ paths:
|
|||||||
type: number
|
type: number
|
||||||
height:
|
height:
|
||||||
type: number
|
type: number
|
||||||
id:
|
|
||||||
type: string
|
|
||||||
description: The task ID
|
|
||||||
model:
|
model:
|
||||||
type: string
|
type: string
|
||||||
description: The model used for the task
|
description: The model used for the task
|
||||||
@ -320,9 +300,6 @@ paths:
|
|||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
description: The status of the task
|
description: The status of the task
|
||||||
userId:
|
|
||||||
type: string
|
|
||||||
description: The user ID
|
|
||||||
saveImageAs:
|
saveImageAs:
|
||||||
type: string
|
type: string
|
||||||
enum: ["png", "jpg", "webp"]
|
enum: ["png", "jpg", "webp"]
|
||||||
@ -333,6 +310,9 @@ paths:
|
|||||||
creditsDeducted:
|
creditsDeducted:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates if credits were deducted
|
description: Indicates if credits were deducted
|
||||||
|
deductedCredits:
|
||||||
|
type: number
|
||||||
|
description: The number of credits deducted
|
||||||
"400":
|
"400":
|
||||||
description: Bad request
|
description: Bad request
|
||||||
content:
|
content:
|
||||||
|
Loading…
Reference in New Issue
Block a user