Single Database
https://{your-workspace-slug}.{region}.xata.sh/dbs/db_name
Given a parameter db_name
, this path allows interacting with a specific database on Xata. Below are a number of operations that can be performed on a given database.
Expected Parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
db_name | The Database Name | path | ✅ | string |
List Branches
GEThttps://{your-workspace-slug}.{region}.xata.sh/dbs/db_name
List all available Branches
Status Code | Description | Example Response/Type Definition |
---|---|---|
200 | OK |
|
400 | Bad Request |
|
401 | Authentication Error |
|
404 | Example response |
|
5XX | Unexpected Error |