You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: random entry
* docs+feat: api random route
* style: random is now inside the search
* docs: random query is now documented
* fix: page current now returns an integer number
* Update API.md
---------
Co-authored-by: Antonio Vivace <[email protected]>
Copy file name to clipboardexpand all lines: API.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -76,12 +76,12 @@ Returns every entry in the database. Every entry is represented by its game mani
76
76
Return every entry in the database matching the given conditions. Every entry is represented by its game manifest.
77
77
78
78
The following query parameters can be used:
79
-
80
79
-`type` (exact matching)
81
80
-`developer` (exact matching)
82
81
-`platform` (exact matching)
83
82
-`tags` (exact matching, comma-separated array e.g. `/search?tags=Open Source,RPG`)
84
83
-`title` ("contains" matching, e.g. `/search?title=brick` will return "**Brick**ster" and "**Brick**Breaker")
84
+
-`random` (if true, the results will be in a random order)
85
85
86
86
More than one query parameter can be specified. They will be concatenated in "AND" statements, i.e. `/search?type=homebrew&platform=GBC` will return every Homebrew developed with GBC features.
87
87
@@ -94,6 +94,11 @@ Every matching is case-insensitive.
0 commit comments