Users

Get user details

get

Update user info

put

Delete user

delete

File column access

https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/tables/table_name/data/record_id/column/column_name/file

File access endpoint allows upload and download of binary file content.

Expected parameters

NameDescriptionInRequiredSchema
db_branch_name

The DBBranchName matches the pattern `{db_name}:{branch_name}`.

path✅string
table_name

The Table name

path✅string
record_id

The Record name

path✅string
column_name

The Column name

path✅string

Download Content From a File Column

GET
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/tables/table_name/data/record_id/column/column_name/file

Retrieves the file content from a file column

Responses

Upload Content to a File Column

PUT
https://{your-workspace-slug}.{region}.upload.xata.sh/db/db_branch_name/tables/table_name/data/record_id/column/column_name/file

Uploads the file content to the given file column

Request Body Type Definition

Responses

Remove the Content From a File Column

DELETE
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/tables/table_name/data/record_id/column/column_name/file

Deletes a file referred in a file column

Responses