List branches
GET/nevisadmin/api/v1/vc/branches
Required permission: any authenticated user
Required permission: VIEW_PROJECT on the project, or higher scope (If a projectKey is provided, to use that project's git credentials.)
Required permission: VIEW_INVENTORY on the inventory, or higher scope (If an inventoryKey is provided, to use that inventory's git credentials.)
Get a list of branches for the provided repository URL.
Request
Responses
- 200
- 400
- 403
- 404
- 500
Success
Invalid repository URL, or inconsistent/insecure credentials
Insufficient permissions.
Referenced project or inventory not found
Failed to reach the remote repository