Branches

Branches from another branch at its latest commit, copying its committed content. Uncommitted work on the source is not carried over.

Branch names are sanitized, so the created name is not always the requested one. branch.name is what was created and sanitized says whether it differs.

post/api/v2/projects/{projectId}/branches

Request

  • Base URL
    https://davinci-app.com
  • Auth
    HTTP bearer

Query parameters

branchstring

Request body

namestring required
sourceBranchstring

Branch to copy from. Defaults to the branch query parameter, or main.

Response

Branch created.

sanitizedboolean required

True when the created name differs from the requested one.

Changes

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      endpoint added