Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

members_api

Global API for "members" system.

Documentation

URL Structure

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"
  }
]

Crash Reporter

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\/\""
}

Log Viewer

/api/logging

Members dynamic clubs

Implemented, haven't been tested properly.

License

This project is licensed under Boost Software License 1.0.

About

Global API for "members" system

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages