|
1
|
type: object |
|
2
|
description: The details of the file to upload. |
|
3
|
x-schemaName: AdminUploadPreSignedUrl |
|
4
|
required: |
|
5
|
- originalname |
|
6
|
- mime_type |
|
7
|
- size |
|
8
|
properties: |
|
9
|
originalname: |
|
10
|
type: string |
|
11
|
title: originalname |
|
12
|
description: The file's original name. |
|
13
|
size: |
|
14
|
type: number |
|
15
|
title: size |
|
16
|
description: The file's size in bytes. |
|
17
|
mime_type: |
|
18
|
type: string |
|
19
|
title: mime_type |
|
20
|
description: The file's mime type. |
|
21
|
example: text/csv |
|
22
|
access: |
|
23
|
type: string |
|
24
|
description: >- |
|
25
|
The access level of the file. If `private`, the file will not be publicly |
|
26
|
accessible. The default value depends on the configured File Module |
|
27
|
Provider. |
|
28
|
enum: |
|
29
|
- public |
|
30
|
- private |