# HG changeset patch # User Kim Alvefur # Date 1638131264 -3600 # Node ID b65955c0abd87e966e68288bafeaa68345d8ab62 # Parent 1e2f53fb209927bf2d042ca695a3741b6cb2b4a2 mod_rest: Add GET method of invoking XEP-0215 to openapi spec diff -r 1e2f53fb2099 -r b65955c0abd8 mod_rest/res/openapi.yaml --- a/mod_rest/res/openapi.yaml Sun Nov 28 21:26:52 2021 +0100 +++ b/mod_rest/res/openapi.yaml Sun Nov 28 21:27:44 2021 +0100 @@ -132,6 +132,25 @@ '200': $ref: '#/components/responses/success' + /rest/extdisco/{to}: + get: + tags: + - query + summary: Query a message archive + security: + - basic: [] + - token: [] + parameters: + - $ref: '#/components/parameters/to' + - name: type + in: query + schema: + type: string + example: stun + responses: + '200': + $ref: '#/components/responses/success' + components: schemas: stanza: