File

mod_http_status/README.md @ 5452:b071d8ee6555

mod_http_oauth2: Show only roles the user can use in consent dialog Confusing if it shows you roles you can't use.
author Kim Alvefur <zash@zash.se>
date Fri, 12 May 2023 11:58:20 +0200
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"
      }
   }
}
```