branches
post/repositories/{repository}/branches

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/repositories/{repository}/branches
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or API key in cookie internal_auth_session

Request body

namestring required
sourcestring required
forceboolean
hiddenboolean

When set, branch will not show up when listing branches by default. EXPERIMENTAL

Response

reference

Changes