Get 415 error when getting required_status_checks

GET 415 If you would like to help us test the Protected Branches API during its preview period, you must specify a custom media type in the ‘Accept’ header. Please see the docs for full details. []

I looked at GitHub Dev API, it said I need to provide a custom media type in Accept header

I did add “accept: application/vid.github.luke-cage-preview+json”, but still no luck

Hi @git-ktse,

Thank you for being here! This sounds like it might be a permissions issue, If you haven’t already, please contact us at with the info so we can look into that further.