Read File Content
GET/api/v1/files/:id/content
Returns a presigned url to read the file content.
Request
Path Parameters
id uuidrequired
Query Parameters
project_id any
organization_id any
Cookie Parameters
session any
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
url urirequired
A presigned URL for IO operations against a private file
Possible values: non-empty
expires_at date-timerequired
The time at which the presigned URL expires
form_fields
object
Form fields for a presigned POST request
anyOf
property name* string
{
"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
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}