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

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:
github-actions[bot]
2024-10-03 07:48:54 +00:00
committed by GitHub
parent 97c193be1b
commit 21badd069d
894 changed files with 35649 additions and 28168 deletions

View File

@@ -13,17 +13,17 @@ post:
schema:
oneOf:
- type: object
description: The files to upload.
description: The files to upload
required:
- files
properties:
files:
type: array
description: The files to upload.
description: The upload's files.
items:
oneOf:
- type: object
description: A file's details.
description: The file's files.
required:
- name
- content
@@ -35,9 +35,23 @@ post:
content:
type: string
title: content
description: The file's base64 content.
- $ref: ../components/schemas/File.yaml
- $ref: ../components/schemas/FileList.yaml
description: The file's content.
- type: object
description: A File to upload.
externalDocs:
url: >-
https://developer.mozilla.org/en-US/docs/Web/API/File
description: Learn more about the File API
title: files
- type: array
description: list of files to upload.
items:
type: object
description: A File to upload.
externalDocs:
url: https://developer.mozilla.org/en-US/docs/Web/API/File
description: Learn more about the File API
title: FileList
description: The files to upload.
x-codeSamples:
- lang: Shell