This repository was archived by the owner on Apr 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Stanisław Dzioba edited this page Jan 28, 2023
·
17 revisions
Path: gractwo.pl/api/v1/[endpoint]
| enpoint | active? | description |
|---|---|---|
| /splash | ✅ | returns a random splashtext |
| /persons-of-note | ✅ | returns a list of data about persons of note |
| /index-images | ✅ | returns a list of gallery images for gractwo.pl |
| /quotes | ❌ | returns a list of quotes |
| /badges/{id} | ✅ | returns a list of badges per user |
Response:
{
"Id": string; // ID
"Splash": string; // text content (eg: "decymalizacja człowieka")
}Response:
[
{
"Id": string; // ID
"Name": string; // user name
"Desc": string; // user description (short)
"Img": string; // direct url to an image
"IsAdmin": bool; // whether user is part of the admin team
"DevBadge": bool; // whether user should have a dev badge visible
"AssignedUser": string; // discord snowflake
}, {...}
]Response:
[
{
"Id": string; // ID
"Title": string; // title of a given image
"Description": string; // description of a given image
"Date": string; // datetime w/ timezone (eg: "2022-02-25T10:23:54Z")
"Place": string; // place of photo capture (eg: "Poznań")
"Link": string; // direct url to an image
}, {...}
]Response:
[
{
"Id": string; // ID
"Name": string; // badge name
"Desc": string; // badge description (short)
"Expl": string; // badge explenation (long)
"Img" : string; // direct url to an image
"Date": string; // datetime w/ timezone (eg: "2022-02-25T10:23:54Z")
}, {...}
]
The Gractwo API Documentation is not an exhaustive, nor definitive guide on the API and may contain information which is ahead or behind of the current deployment's implementation.
Happy fetching!
~ Gractwo Team