-
Notifications
You must be signed in to change notification settings - Fork 10
api
The api is currently being revamped with #35 and on the Branch: mat1/ReplDex#api-dev
all routes will start with https://repldex.com/api (or replace that with your own domain)
page the page number (used with limit to get other pages), default to 0
limit the maximum amount of entries per page, default to 20
query the search query (sort must be search for this to work), default to None
new or last_edited the last edited entries
search or relevant entries that match your query
a json object with all the entries' data
None
the name of the entry you want, if the entry is not found it will give you the entry closest related to it
A json object of the entry
None
the discord id of the user you want a selfentry for
A json object of the entry
url a url you want the data of (used when hovering over links)
A json object with title (only for entry urls), favicon and content keys
there are currently no api keys, or routes that need a privileged api key When api keys are added, some routes will work without a key, all routes that need a key will say so, and will say what permissions that key must have
See official repldex site here - Repldex discord invite (coming soon)