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

pathstring
table_name

The Table name

pathstring
record_id

The Record name

pathstring
column_name

The Column name

pathstring
file_id

The File Identifier

pathstring

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