mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-27 17:00:52 +01:00
update docs
This commit is contained in:
parent
52d6c1898e
commit
fd4343db2c
@ -238,10 +238,6 @@ paths:
|
|||||||
data:
|
data:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
userId:
|
|
||||||
type: string
|
|
||||||
description: The user ID
|
|
||||||
example: kB4EFDHo2bWAvVthqaU8vMufCMY2
|
|
||||||
taskId:
|
taskId:
|
||||||
type: string
|
type: string
|
||||||
description: The task ID
|
description: The task ID
|
||||||
@ -378,10 +374,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
userId:
|
|
||||||
type: string
|
|
||||||
description: The user ID
|
|
||||||
example: kB4EFDHo2bWAvVthqaU8vMufCMY2
|
|
||||||
files:
|
files:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@ -407,16 +399,11 @@ paths:
|
|||||||
description: The timestamp when the file expires
|
description: The timestamp when the file expires
|
||||||
type: number
|
type: number
|
||||||
format: float
|
format: float
|
||||||
path:
|
description: (Optional) The files to process. Optional if the file is not manually provided in the file property
|
||||||
description: The s3 path to the file
|
file:
|
||||||
type: string
|
type: string
|
||||||
required:
|
format: binary
|
||||||
- fileName
|
description: (Optional) A single file to upload, used when startTask is being used to upload the file, not needed if already uploaded s3 files or file links are passed in files array
|
||||||
- fileType
|
|
||||||
- fileSize
|
|
||||||
- originalFileName
|
|
||||||
- createdAt
|
|
||||||
- expiresAt
|
|
||||||
enhanceFace:
|
enhanceFace:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Whether to enhance faces in the image
|
description: Whether to enhance faces in the image
|
||||||
@ -438,10 +425,6 @@ paths:
|
|||||||
enum: ["png", "jpg", "webp"]
|
enum: ["png", "jpg", "webp"]
|
||||||
description: The format to save the image as
|
description: The format to save the image as
|
||||||
example: jpg
|
example: jpg
|
||||||
file:
|
|
||||||
type: string
|
|
||||||
format: binary
|
|
||||||
description: A single file to upload, used when startTask is being used to upload the file, not needed if already uploaded s3 files or file links are passed in files array
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
|
Loading…
Reference in New Issue
Block a user