Branches
Create a new branch
Changed onCreates a new branch within the specified project. Branches can be created from scratch or derived from an existing parent branch.
post/organizations/{organizationID}/projects/{projectID}/branches
Request
- Base URLhttps://api.xata.tech
- AuthOAuth 2Implicit: https://auth.xata.io/realms/xata/protocol/openid-connect/authScopes: branch:write
Path parameters
organizationIDstring required
Unique identifier of the organization containing the project
projectIDstring required
Unique identifier of the project to create the branch in
Request body
Response
Branch successfully created
Changes
- warning
changed the pattern of the request property
from^[a-zA-Z0-9]+[a-zA-Z0-9- ]*$to^([a-zA-Z0-9][a-zA-Z0-9\-_./: ]*)?$ - info
the
request property's maxLength was increased from50to255
- warning
- info
response property
connectionStringdeprecated
- info