Users

Get user details

get

Update user info

put

Delete user

delete

File array access

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

File array access endpoint allows upload, download and remove of file items.

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
file_id

The File Identifier

path✅string

Download Content From a File Item in a File Array Column

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

Retrieves file content from an array by file ID

Responses

Upload or Update the Content of a File Item in a File Array Column

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

Uploads the file content to an array given the file ID

Request Body Type Definition

Responses

Delete an Item From a File Array

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

Deletes an item from an file array column given the file ID

Responses