You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like that GET /refs/{ref} is an undocumented endpoint and it returns an array of references when an exact reference is not found, but other similar references are found in the repo.
While this code works fine for most use cases:
php-github-api/lib/Github/Api/GitData/References.php
Line 83 in de2f278
It looks like that
GET /refs/{ref}
is an undocumented endpoint and it returns an array of references when an exact reference is not found, but other similar references are found in the repo.My story: I have the following references in the repo:
When I try to get
accepted-1
reference usingreferences()->show(..)
I get the following response:If I change
GET /refs/{ref}
toGET /ref/{ref}
inReferences.php
it starts throwing 404 not found exception.The text was updated successfully, but these errors were encountered: