-
Notifications
You must be signed in to change notification settings - Fork 991
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
getReference error with 404 #29
Comments
I tested, this should be heads/master, not refs/heads/master, so, pls update this note. |
How strange!! The docs clearly state that the Do you have a reaction from the github devs that can make me feel sure that removing this from the docs is legit? |
Maybe I didn't express clearly, I mean: when I set 'refs/heads/master' for key:ref, I opend the debug, and find: GET xxx/git/refs/refs/heads/master, I mean you have auto added refs in url or I make a fuss;) |
Ah! I see what you mean now... in the "get-reference": {
"url": "/repos/:user/:repo/git/refs/:ref",
"method": "GET",
"params": {
"$user": null,
"$repo": null,
"$ref": null
}
}, You can see that the url is formatted like |
or what do you think the best change to fix this should be? removing |
I think getReference(or other related) has expressed the meaning of refs, so as before, just update the doc will be ok:) |
fixed in the docs. thanks for reporting this! |
I getAllReferences and return a list of references, i chose one ref, like this: refs/tags/master
when i used getReference, i got { message: '{"message":"Not Found"}', code: 404 }
any help, thanks
The text was updated successfully, but these errors were encountered: