Skip to content

Fix API in document #1602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
yuvraj9 opened this issue Sep 23, 2022 · 4 comments
Open
1 task done

Fix API in document #1602

yuvraj9 opened this issue Sep 23, 2022 · 4 comments

Comments

@yuvraj9
Copy link

yuvraj9 commented Sep 23, 2022

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/rest/branches/branch-protection#remove-status-check-contexts

What part(s) of the article would you like to see updated?

The API in document has wrong content sent. It should directly include list rather than adding it under context.

This is regarding API for - Remove status check contexts

The api body parameters need to be fixed. It should not have an. contexts subpart.

So
-d '{"contexts":["continuous-integration/travis-ci"]}' should be -d '["continuous-integration/travis-ci"]'

I have tested it and it only works with this.

Additional information

No response

@welcome
Copy link

welcome bot commented Sep 23, 2022

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

@cmwilson21
Copy link

@yuvraj9 Thanks so much for opening an issue! I'll triage this for the team to take a look 👀

@docubot
Copy link

docubot commented Sep 26, 2022

Thank you for opening this issue! Changes to the REST API schema can be requested in github/rest-api-description. I will transfer your issue over to that open source repo.

@docubot docubot transferred this issue from github/docs Sep 26, 2022
@yuvraj9
Copy link
Author

yuvraj9 commented Oct 12, 2022

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@yuvraj9 @docubot @cmwilson21 and others