vals

Create a new branch

post/v2/vals/{val_id}/branches

Request

  • Base URL
    https://api.val.town
  • URL
    https://api.val.town/v2/vals/{val_id}/branches
  • Auth
    none declared

Path parameters

val_idstring uuid required

Id of a val

Request body

namestring required
branchIdstring uuid

The branch ID to fork from. If this is not specified, the new branch will be forked from main.

Response

A Branch

namestring required
idstring uuid required

The id of the branch

versioninteger required
createdAtstring date-time required
updatedAtstring date-time required
forkedBranchIdstring nullable required

The id of the branch this branch was forked from

Changes