Software / code / prosody-modules
Comparison
mod_rest/README.markdown @ 3946:2a5b42e4db07
mod_rest/README: Fix adhoc example
Listing commands is done with disco#items, not disco#info
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 15 Mar 2020 23:02:58 +0100 |
| parent | 3890:117a979ef930 |
| child | 3953:2c6d5734ae04 |
comparison
equal
deleted
inserted
replaced
| 3945:cf682a02b6d8 | 3946:2a5b42e4db07 |
|---|---|
| 421 | 421 |
| 422 Discovering commands: | 422 Discovering commands: |
| 423 | 423 |
| 424 ``` {.json} | 424 ``` {.json} |
| 425 { | 425 { |
| 426 "disco" : { | 426 "items" : { |
| 427 "node" : "http://jabber.org/protocol/commands" | 427 "node" : "http://jabber.org/protocol/commands" |
| 428 }, | 428 }, |
| 429 "id" : "8iN9hwdAAcfTBchm", | 429 "id" : "8iN9hwdAAcfTBchm", |
| 430 "kind" : "iq", | 430 "kind" : "iq", |
| 431 "to" : "example.com", | 431 "to" : "example.com", |