Software / code / prosody-modules
File
mod_http_status/README.md @ 5200:afed7d5bd65c
mod_http_oauth2: Advertise endpoints that are enabled
If you don't set the registration secret, some of these are not actually
available, so don't advertise them.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 03 Mar 2023 22:54:46 +0100 |
| parent | 5161:6af2d74daa15 |
| child | 5702:e274431bf4ce |
line wrap: on
line source
Prosody 0.12 added an API allowing modules to report their status. This module allows reading these statuses via HTTP for use in monitoring. ``` $ curl http://prosody.localhost:5280/status { "example.com" : { "c2s" : { "message" : "Loaded", "type" : "core" } } } ```