Skip to content
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

https://api.zoomeye.org/resources-info 接口返回数据不一致 #150

Closed
ghost opened this issue Jan 19, 2018 · 1 comment
Closed

https://api.zoomeye.org/resources-info 接口返回数据不一致 #150

ghost opened this issue Jan 19, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 19, 2018

官方api参考手册
cURL 示例

curl -X GET -i https://api.zoomeye.org/resources-info
-H "Authorization: JWT eyJhbGciOiJIUzI1NiIsInR..."
响应示例

HTTP/1.1 200 OK
Date: Tue, 01 Mar 2016 10:08:09 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 72
Connection: keep-alive
Etag: "f3fdef1e608ffc4b48cd306f068550ff046652c1"
{"plan": "developer", "resources": {"host-search": 9, "web-search": 40}}

我本地测试返回
HTTP/1.1 200 OK
Server: nginx/1.12.1
Date: Fri, 19 Jan 2018 12:26:32 GMT
Content-Type: application/json
Content-Length: 89
Connection: keep-alive
Etag: "6f6744c5f99466c9278c19b331de61a5272ff939"

{"plan": "developer", "resources": {"search": 100000, "stats": 100, "interval": "month"}}%

与官方文档不一致

@hysia
Copy link

hysia commented Jan 24, 2018

更新 zoomeye 官方 api 文档处理

@hysia hysia closed this as completed Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant