Files
timezone-service/README.md
T
mars3142 a96664369b Update README.md
Signed-off-by: Peter Siegmund <developer@mars3142.org>
2024-10-28 15:44:22 +01:00

20 lines
514 B
Markdown

# Timezone Service for Firmware-HQ
## Endpoints
`curl https://api.firmware-hq.dev/v1/timezone`
Will return the timezone information for the requesting client. Uses the external IP of the client
`curl https://api.firmware-hq.dev/v1/timezone/Europe`
Will return all locations within the area.
`curl https://api.firmware-hq.dev/v1/timezone/Europe/Berlin`
Will return the timezone information for a specific area/location combination.
## Responses
All endpoint will return a 200 or 404 (in case of an error).