We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can achieve this by running the following endpoint:
curl 'https://app.fossa.com/api/projects/<encoded-project-locator>?ref_type=branch' \ --header 'Authorization: Bearer <fossa-full-access-token>' | jq '.references[] | select(.type == "branch")'
The output should look like the following:
..., { "id": integer-id, "type": "branch", "name": "name-of-branch", "revision_id": "project-locator$revision-id", "project_id": "project-locator" }, ...