swiss unihockey Endpoint Documentation

/rest/v1.0/gyms
Read methods
Name Value and Notes
Method / Path: GET /{gymid}
Description: Returns the requested gym.
Path parameters: gymid: The gym id
Required (form) parameters: apikey: Valid API key registered at swiss unihockey
Response formats: xml
Status codes: 200: OK — Returning the gym.
404: Not Found — No gym with the given id found.
Testing: Test form (click to reveal)
Name Value and Notes
Method / Path: GET /search
Description: Search for gym by keyword.
Required (form) parameters: apikey: Valid API key registered at swiss unihockey
Optional (query) parameters: q: The search query
limit: The search limit [10]
Response formats: xml
Status codes: 200: OK — Returning all gyms found for the given keyword.
404: Not Found — No gym for the given keyword found.
Testing: Test form (click to reveal)