Skip to content

Docs for api endpoints #451

Answered by TwiN
8ball030 asked this question in Q&A
Apr 11, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

There's this from the README https://github.com/TwiN/gatus#api, but the rest is only available through the code.

All endpoints are defined here:

// Endpoints
unprotected.Handle("/v1/config", ConfigHandler{securityConfig: cfg.Security}).Methods("GET")
protected.HandleFunc("/v1/endpoints/statuses", EndpointStatuses(cfg)).Methods("GET")
protected.HandleFunc("/v1/endpoints/{key}/statuses", EndpointStatus).Methods("GET")
unprotected.HandleFunc("/v1/endpoints/{key}/health/badge.svg", HealthBadge).Methods("GET")
unprotected.HandleFunc("/v1/endpoints/{key}/uptimes/{duration}/badge.svg", UptimeBadge).M…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@8ball030
Comment options

@TwiN
Comment options

@8ball030
Comment options

@8ball030
Comment options

Answer selected by TwiN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants