forked from gothinkster/realworld-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Endpoint: List Articles #13
Comments
Probably need to put a reasonable limit on limit max size, like maybe 100? |
Two possible methods:
Another factor to consider: Caching! Cache results into their own document, to improve performance and reduce strain on query service? Make that a separate ticket? |
mgroves
added a commit
that referenced
this issue
Sep 15, 2023
mgroves
added a commit
that referenced
this issue
Sep 15, 2023
mgroves
added a commit
that referenced
this issue
Sep 18, 2023
mgroves
added a commit
that referenced
this issue
Sep 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GET /api/articles
Returns most recent articles globally by default, provide tag, author or favorited query parameter to filter results
Query Parameters:
Filter by tag:
?tag=AngularJS
Filter by author:
?author=jake
Favorited by user:
?favorited=jake
Limit number of articles (default is 20):
?limit=20
Offset/skip number of articles (default is 0):
?offset=0
Authentication optional, will return multiple articles, ordered by most recent first
The text was updated successfully, but these errors were encountered: