Global API for "members" system.
The URL structure for accessing the API follows the pattern:
https://members.eob.cz/api/<version>/<club>/<endpoint>
Example: https://members.eob.cz/api/3/spe/
GET /api/3/clubs
Output:
[
{
"clubname": "spe",
"is_release": true,
"fullname": "KOB Sokol Pezinok",
"shortcut": "SPE",
"baseadr": "https://prihlasky.sokolpezinok.sk/",
"mainwww": "https://www.sokolpezinok.sk/",
"emailadr": "admin@sokolpezinok.sk"
}
]Any error is caught by ApiCrashReporter. By default, ApiCrashReporter renders HTML.
Example: https://members.eob.cz/api/3/spe/this-triggers-not-found-error
JSON Output:
{
"code": 404,
"message": "Route not found: \"\/api\/3\/spe\/this-triggers-not-found-error\/\""
}/api/logging
Implemented, haven't been tested properly.
This project is licensed under Boost Software License 1.0.