Apps and sources
PreviewList the branches of a git source
The branches the repository has now, by name, each with the commit it points at. Asked of the repository itself, so a deployment form can offer the real branches. An OCI source has none and answers Invalid. A repository that cannot be reached answers Unavailable.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
sourceId*stringFormat
uuidThe branches.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/branches'Example Response
{ "items": [ { "name": "string", "commit": "string" } ]}