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