Get repositories for project endpoint is not returning default branch name as part of the response

We are using Bitbucket DC version 8.5.0.
As per the API doc (https://developer.atlassian.com/server/bitbucket/rest/v805/api-group-project/#api-api-latest-projects-projectkey-repos-get) the response of Get repositories for project endpoint (https://developer.atlassian.com/server/bitbucket/rest/v805/api-group-project/#api-api-latest-projects-projectkey-repos-get) will include “defaultBranch” info as well.

But when we are trying the api from Postman, we are not getting “defaultBranch” info.

We need help on this topic. Are we missing anything?

Likely an error with the REST documentation, so feel free to raise a bug ticket.

If the repositories (that you want the default branch for) are hosted on mirrors, you could try this endpoint https://developer.atlassian.com/server/bitbucket/rest/v805/api-group-mirroring--upstream-/#api-mirroring-latest-projects-projectid-repos-get and specify includeDefaultBranch in the query parameter.
Otherwise, I don’t think there’s a workaround other than making another request to fetch the default branch for each repository, which isn’t ideal.