matters-server
matters-server copied to clipboard
[Server] Generalizing article and author feed
Currently some developers use Matters API to retrieve all content data, then rank articles and users. Matters currently provides feeds of tags, users, articles and circles on different fields, but do not provide full list. We can:
- unify the API so that different rankings correspond to different sorting methods in arguments
- provide full list for sorting methods that do not require computation, such as newest article
The API can look like this:
type Recommendation {
...
articles(input: {..., sort: newest | hottest | icymi})
users(input: {..., sort: newest | hottest})
tags(input: {..., sort: newest | hottest})
}