chore(docs): Updated API Reference (v2) (#8929)

Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
This commit is contained in:
github-actions[bot]
2024-09-02 07:45:24 +00:00
committed by GitHub
parent 2c034774f0
commit d6dcda5b8f
355 changed files with 66808 additions and 5101 deletions

View File

@@ -12,7 +12,34 @@ post:
content:
application/json:
schema:
$ref: ../components/schemas/AdminGetUploadParams.yaml
oneOf:
- type: object
description: SUMMARY
required:
- files
properties:
files:
type: array
description: The upload's files.
items:
oneOf:
- type: object
description: The file's files.
required:
- name
- content
properties:
name:
type: string
title: name
description: The file's name.
content:
type: string
title: content
description: The file's content.
- $ref: ../components/schemas/File.yaml
- $ref: ../components/schemas/FileList.yaml
description: SUMMARY
x-codeSamples:
- lang: Shell
label: cURL