Mercurial > prosody-modules
view mod_persisthosts/README.markdown @ 4478:7ab0c423688a
mod_rest: Support GET for certain IQ queries
Example:
GET /rest/version/example.com
200 OK
{ version: { name: "thing", version: "1.0.0" } }
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Feb 2021 19:33:09 +0100 |
parents | 81956bb99289 |
children |
line wrap: on
line source
Introduction ============ This module creates stub configuration files for newly activated hosts. Configuration ============= A single option exists, `persisthosts_path`, which is the path where new stub configuration files are created. It defaults to `"conf.d"`, and is treated as relative to the configuration directiory [^1] unless set to an absolute path. [^1]: usually `/etc/prosody` on \*nix systems