我正在使用GitHub-API来获取我使用的API的最新版本。“”和“”。
查询"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/releases/latest“返回赖特JSON数据。
查询"https://api.github.com/repos/ParsePlatform/parse-server/releases/latest“返回JSON "message":"Not”。
根据文档,这可能是身份验证问题。
所以我已经使用生成的access_token运行了查询,它仍然给了我"message":"Not“,所以它不是身份验证问题。
据我所见,解析服务器存储库不是私有的。
有谁有主意吗?
谢谢
发布于 2016-02-22 09:51:36
你的要求没有任何问题。
GET: https://api.github.com/repos/ParsePlatform/parse-server/releases给出一个空的结果:
[]他们只是没有这个存储库的创建的版本。把它和
GET: https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/releases作为一种解决办法,您可以使用
GET: https://api.github.com/repos/ParsePlatform/parse-server/tags看看最新的标签。
{
"name": "2.1.2",
"zipball_url": "https://api.github.com/repos/ParsePlatform/parse-server/zipball/2.1.2",
"tarball_url": "https://api.github.com/repos/ParsePlatform/parse-server/tarball/2.1.2",
"commit": {
"sha": "01f4bcc3e3f259f2e6e763584e764ed036a657fe",
"url": "https://api.github.com/repos/ParsePlatform/parse-server/commits/01f4bcc3e3f259f2e6e763584e764ed036a657fe"
}
}https://stackoverflow.com/questions/35537805
复制相似问题