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}`.

pathstring
table_name

The Table name

pathstring
record_id

The Record name

pathstring
column_name

The Column name

pathstring

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