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:
committed by
GitHub
parent
2c034774f0
commit
d6dcda5b8f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user