View Lists
Lists can be viewed either as a whole, or individually, viewing lists does not require auth. In the future when list visibility is more granular, it will.
URL: /lists
or /lists/{slug}
HTTP Method: GET
Headers:
Key | Value |
---|---|
Accept | application/json |
Body Data
None
Example HTTP Responses
All Lists Success Response
Route: /lists
Code: HTTP 200 OK
Content:
Single List Success Response
Route: /lists/meow-2
Code: HTTP 200 OK
Content:
Error Responses
There shouldn’t be any in normal operation. Maybe some 503 when deploying new code, or if there’s a network issue.
Also a 404 is expected if the list doesn’t exist.
Filters
Fetching lists supports a variety of filters as query parameters, please reference the table below.
Filter | Values | Note | Example |
---|---|---|---|
page[size] | Number 1-900 or all | Controls how many lists are shown per page. | page[size]=5 |
filter[author] | Name of an author | Used to return only lists by a specific author. | filter[author]=phinocio |
filter[game] | Name of an game | Used to return only lists by a specific game. | filter[game]=TESV Skyrim SE |
sort | created or updated (- prefix to reverse) | Sort the result by list created or updated date. A - prefix shows most recent first. | sort=-created |
Example Usage
GET /v1/lists
GET /v1/lists/my-awesome-list