Generate Presigned Url
PUT/api/v1/files
Create a presigned url for uploading a file.
Request
Query Parameters
Cookie Parameters
- application/json
Body
required
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
Array [
]
- MOD1
Possible values: non-empty
and <= 3000 characters
file_size
object
Size of the file in bytes
anyOf
integer
last_modified_at
object
The last modified time of the file
anyOf
string
resource_info
object
Resource information for the file
anyOf
property name*
object
anyOf
object
string
integer
number
boolean
data_source_id
object
The ID of the data source that the file belongs to
anyOf
string
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
A presigned URL for IO operations against a private file
Possible values: non-empty
The time at which the presigned URL expires
form_fields
object
Form fields for a presigned POST request
anyOf
{
"url": "string",
"expires_at": "2024-07-29T15:51:28.071Z",
"form_fields": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}