Skip to content

GitHub REST API response missing field #24710

Discussion options

You must be logged in to vote

The example in the documentation looks like it uses a repo listing that has been generated where the mercy preview header has been passed in the request.

Please try adding the mercy preview header to your request. I’ve provide an example using curl below:

curl \
     -H "Accept: application/vnd.github.v3+json" \
     -H "Accept: application/vnd.github.mercy-preview+json" \
     -H "Authorization: token ${GITHUB_TOKEN}" \
        https://api.github.com/user/starred

for me it returns the topics field:

    "open_issues_count": 2,
    "license": null,
    "topics": [
      "cats",
      "dogs",
    ],
    "forks": 0,
    "open_issues":

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment