Create a branch of a database
Changed onForks the database into a new branch. The branch starts as an exact copy of the parent's data and diverges from there.
Provisioning is asynchronous: the response is 202 with the branch in provisioning and no connection string. Poll the branch until it reports active, at which point it carries its own connection string.
Retrying a create with a name that already exists returns 409 rather than a second branch, so a retried request cannot silently consume two slots of the branch allowance.
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/projects/{id}/databases/{databaseName}/branches
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Project ID
Database name (unique within project, lowercase letters, numbers, and underscores only)
Request body
Example request
{
"name": "feature_checkout",
"ttl_seconds": 86400
}Response
Branch accepted and provisioning
Changes
- ○
the endpoint scheme security
ProjectAccessTokenwas added to the API
- ○
- ▲
added the new path request parameter
databaseName - ▲
added the new path request parameter
id - ▲
added the new required request property
- ▲
the request's body type changed from no type to
object - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ○
added the new optional request property
- ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status
- ▲