v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1438212159.2 KB

Retrieves a list of branches in a specified source repository.

post/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches

Path parameters

spaceNamestring required

The name of the space.

projectNamestring required

The name of the project in the space.

sourceRepositoryNamestring required

The name of the source repository.

Request body

nextTokenstring

A token returned from a call to this API to indicate the next batch of results to return, if any.

maxResultsinteger

The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a <code>NextToken</code> element, which you can use to obtain additional results.

Response

Success

nextTokenstring

A token returned from a call to this API to indicate the next batch of results to return, if any.