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

RESTful API 排序方法出现问题 #33

Open
thekoc opened this issue May 25, 2017 · 2 comments
Open

RESTful API 排序方法出现问题 #33

thekoc opened this issue May 25, 2017 · 2 comments

Comments

@thekoc
Copy link

thekoc commented May 25, 2017

Askbot 官方有一个文档:https://askbot.org/doc/api.html

按照里面的说法,/api/v1/users?sort=reputation 应该会返回按照 karma 排序的用户信息。

例如:https://askbot.org/en/api/v1/users/?sort=reputation

可是本站的对应链接:https://boism.org/api/v1/users/?sort=reputation

却无法返回正确的用户。用户并不是按照 karma 排序的。是我搞错了什么么?还是本站的实现有问题?reputation 和 karma 是一个意思么?

@haowron
Copy link

haowron commented May 26, 2017

我猜没人改,因为现在还没到用api的时候,除非需要上多平台了。然而:
感觉浅乎活不了那么久
活了那么久的浅乎即使要上api,估计也会用按照RESTful风格重写这部分的。

@erichuang1994
Copy link
Collaborator

也许是官方的实现问题呢

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

3 participants