projects
branches

View a branch for a project. If the project is public, then the user does not need to be authenticated. If the project is private, then the user must be authenticated and have view permissions for the project, or provide a valid project key for the project.

get/v0/projects/{project}/branches/{branch}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

branchstring required

The slug or UUID for a branch.

projectstring required

The slug or UUID for a project.

Query parameters

headstring uuid

View the branch with the specified head UUID. This can be used to view a branch with a historical head that has since been replaced by a new head. If not specified, then the current head is used.

Response

successful operation

archivedstring date-time
createdstring date-time required
modifiedstring date-time required
namestring required
projectstring uuid required
slugstring required
uuidstring uuid required

Changes

    • info

      for the path request parameter branch, the type was generalized from string to no type

    • info

      for the path request parameter project, the type was generalized from string to no type

    • breaking

      the response's property type changed from string to no type for status