chore(docs): Updated API Reference (v2) (#9033)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
20545b194e
commit
cf3c25addf
@@ -1,9 +1,8 @@
|
||||
post:
|
||||
operationId: PostUploads
|
||||
summary: Create Upload
|
||||
description: Create a upload.
|
||||
summary: Upload Files
|
||||
description: Upload files to the configured File Module Provider.
|
||||
x-authenticated: true
|
||||
parameters: []
|
||||
security:
|
||||
- api_token: []
|
||||
- cookie_auth: []
|
||||
@@ -14,17 +13,17 @@ post:
|
||||
schema:
|
||||
oneOf:
|
||||
- type: object
|
||||
description: SUMMARY
|
||||
description: The files to upload.
|
||||
required:
|
||||
- files
|
||||
properties:
|
||||
files:
|
||||
type: array
|
||||
description: The upload's files.
|
||||
description: The files to upload.
|
||||
items:
|
||||
oneOf:
|
||||
- type: object
|
||||
description: The file's files.
|
||||
description: A file's details.
|
||||
required:
|
||||
- name
|
||||
- content
|
||||
@@ -36,10 +35,10 @@ post:
|
||||
content:
|
||||
type: string
|
||||
title: content
|
||||
description: The file's content.
|
||||
description: The file's base64 content.
|
||||
- $ref: ../components/schemas/File.yaml
|
||||
- $ref: ../components/schemas/FileList.yaml
|
||||
description: SUMMARY
|
||||
description: The files to upload.
|
||||
x-codeSamples:
|
||||
- lang: Shell
|
||||
label: cURL
|
||||
|
||||
Reference in New Issue
Block a user