-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[Bug] [Api] /orgs/{:orgname}/repos POST endpoint is broken #11331
Comments
This was referenced May 11, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):Description
I am having trouble using the POST
/orgs/<org_name>/repos
api endpoint. This is the response I'm getting (with http status 422):But if I switch to the deprecated
/org/<org_name>/repos
endpoint, it works just fine. It looks to me like the issue is thatCreateOrgRepo
is looking for the:org
parameter here while the parameter in the route is named:orgname
here. The deprecated route is working because it uses:org
.The text was updated successfully, but these errors were encountered: