We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We need an API for loading information such as "Most Appreciated Users"
See:
This is a larger part of "meta" APIs to be grouped under "/api/meta"
Expected request:
GET /api/meta/most_appreciated_users
Expected response: Array of most appreciated users
200 OK Content-type: application/json [ { "name": "User", "designation": "Developer", "teamName": "Engineering", "email": "[email protected]", "profilePic": "https://example.com/image.jpg", "username": "user", "createdAt": "2021-02-09 21:35:24+05:30" }, { "name": "User2", "designation": "Developer", "teamName": "Engineering", "email": "[email protected]", "profilePic": "https://example.com/image2.jpg", "username": "user2", "createdAt": "2021-02-09 21:35:24+05:30" } ]
We already have a query to get the most appreciated users here: https://github.com/snowflake-app/snowflake/blob/master/snowflake/models/appreciation.py#L57 So, the scope of this issue is limited to creating the controller to return the data in the appropriate format.
The text was updated successfully, but these errors were encountered:
Nancy-Chauhan
No branches or pull requests
We need an API for loading information such as "Most Appreciated Users"
See:
This is a larger part of "meta" APIs to be grouped under "/api/meta"
Acceptance criteria
Expected request:
Expected response: Array of most appreciated users
Tasks
We already have a query to get the most appreciated users here: https://github.com/snowflake-app/snowflake/blob/master/snowflake/models/appreciation.py#L57 So, the scope of this issue is limited to creating the controller to return the data in the appropriate format.
The text was updated successfully, but these errors were encountered: