Software /
code /
prosody-modules
Annotate
mod_rest/res/openapi.yaml @ 5123:09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 31 Dec 2022 16:57:40 +0100 |
parent | 5080:ce9b836f66d5 |
child | 5124:8d5b9245275d |
rev | line source |
---|---|
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 --- |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 openapi: 3.0.1 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
3 |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 info: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 title: mod_rest API |
4497
4c262e5a02b5
mod_rest/openapi: Reorder request bodies becasue YAML
Kim Alvefur <zash@zash.se>
parents:
4496
diff
changeset
|
6 version: 0.3.2 |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 description: | |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 API for sending and receiving stanzas, in a REST-ish fashion or by |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 responding to webhooks. Multiple formats supported, including native XML |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 and a simplified JSON mapping. |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 license: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 name: MIT |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
13 |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
14 paths: |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
15 |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 /rest: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 post: |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
18 summary: Send stanzas and receive responses. Webhooks work the same way. |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
19 tags: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
20 - generic |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 security: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 - basic: [] |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 - token: [] |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
24 requestBody: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
25 $ref: '#/components/requestBodies/common' |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
26 responses: |
4548
c50fac0f3cbf
mod_rest: Fix type of response status codes in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
27 '200': |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
28 $ref: '#/components/responses/success' |
4548
c50fac0f3cbf
mod_rest: Fix type of response status codes in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
29 '202': |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
30 $ref: '#/components/responses/sent' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
31 |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
32 /rest/{kind}/{type}/{to}: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
33 post: |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
34 summary: Even more RESTful mapping with certain components in the path. |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
35 tags: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
36 - generic |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
37 security: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
38 - basic: [] |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
39 - token: [] |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
40 parameters: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
41 - $ref: '#/components/parameters/kind' |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
42 - $ref: '#/components/parameters/type' |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
43 - $ref: '#/components/parameters/to' |
4496
8e9bff3cde4f
mod_rest/openapi: Add missing body for POST /kind/type/to query
Kim Alvefur <zash@zash.se>
parents:
4495
diff
changeset
|
44 requestBody: |
8e9bff3cde4f
mod_rest/openapi: Add missing body for POST /kind/type/to query
Kim Alvefur <zash@zash.se>
parents:
4495
diff
changeset
|
45 $ref: '#/components/requestBodies/common' |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
46 responses: |
4548
c50fac0f3cbf
mod_rest: Fix type of response status codes in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
47 '200': |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
48 $ref: '#/components/responses/success' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
49 |
4529
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
50 /rest/echo: |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
51 post: |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
52 summary: Build as stanza and return it for inspection. |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
53 tags: |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
54 - debug |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
55 security: |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
56 - basic: [] |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
57 - token: [] |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
58 requestBody: |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
59 $ref: '#/components/requestBodies/common' |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
60 responses: |
4548
c50fac0f3cbf
mod_rest: Fix type of response status codes in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
61 '200': |
4529
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
62 $ref: '#/components/responses/success' |
c6d44e1fb4d9
mod_rest: Document the /echo endpoint in the openapi spec
Kim Alvefur <zash@zash.se>
parents:
4528
diff
changeset
|
63 |
4478
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
64 /rest/ping/{to}: |
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
65 get: |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
66 tags: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
67 - query |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
68 summary: Ping a local or remote server or other entity |
4478
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
69 security: |
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
70 - basic: [] |
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
71 - token: [] |
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
72 parameters: |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
73 - $ref: '#/components/parameters/to' |
4478
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
74 responses: |
4548
c50fac0f3cbf
mod_rest: Fix type of response status codes in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
75 '200': |
4495
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
76 description: Test reachability of some address |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
77 content: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
78 application/json: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
79 schema: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
80 $ref: '#/components/schemas/iq_pong' |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
81 application/xmpp+xml: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
82 schema: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
83 $ref: '#/components/schemas/iq_pong' |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
84 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
85 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
86 /rest/version/{to}: |
4478
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
87 get: |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
88 tags: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
89 - query |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
90 summary: Ask what software version is used. |
4478
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
91 security: |
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
92 - basic: [] |
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
93 - token: [] |
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
94 parameters: |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
95 - $ref: '#/components/parameters/to' |
4478
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
96 responses: |
4548
c50fac0f3cbf
mod_rest: Fix type of response status codes in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
97 '200': |
4493
89571a20196f
mod_rest/openapi: Describe 'version' endpoint in more detail
Kim Alvefur <zash@zash.se>
parents:
4492
diff
changeset
|
98 description: Version query response |
89571a20196f
mod_rest/openapi: Describe 'version' endpoint in more detail
Kim Alvefur <zash@zash.se>
parents:
4492
diff
changeset
|
99 content: |
89571a20196f
mod_rest/openapi: Describe 'version' endpoint in more detail
Kim Alvefur <zash@zash.se>
parents:
4492
diff
changeset
|
100 application/json: |
89571a20196f
mod_rest/openapi: Describe 'version' endpoint in more detail
Kim Alvefur <zash@zash.se>
parents:
4492
diff
changeset
|
101 schema: |
89571a20196f
mod_rest/openapi: Describe 'version' endpoint in more detail
Kim Alvefur <zash@zash.se>
parents:
4492
diff
changeset
|
102 $ref: '#/components/schemas/iq_result_version' |
89571a20196f
mod_rest/openapi: Describe 'version' endpoint in more detail
Kim Alvefur <zash@zash.se>
parents:
4492
diff
changeset
|
103 application/xmpp+xml: |
89571a20196f
mod_rest/openapi: Describe 'version' endpoint in more detail
Kim Alvefur <zash@zash.se>
parents:
4492
diff
changeset
|
104 schema: |
89571a20196f
mod_rest/openapi: Describe 'version' endpoint in more detail
Kim Alvefur <zash@zash.se>
parents:
4492
diff
changeset
|
105 $ref: '#/components/schemas/iq_result_version' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
106 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
107 /rest/disco/{to}: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
108 get: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
109 tags: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
110 - query |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
111 summary: Query a remote entity for supported features |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
112 security: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
113 - basic: [] |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
114 - token: [] |
4478
7ab0c423688a
mod_rest: Support GET for certain IQ queries
Kim Alvefur <zash@zash.se>
parents:
4477
diff
changeset
|
115 parameters: |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
116 - $ref: '#/components/parameters/to' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
117 responses: |
4548
c50fac0f3cbf
mod_rest: Fix type of response status codes in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
118 '200': |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
119 $ref: '#/components/responses/success' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
120 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
121 /rest/items/{to}: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
122 get: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
123 tags: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
124 - query |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
125 summary: Query an entity for related services, chat rooms or other items |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
126 security: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
127 - basic: [] |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
128 - token: [] |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
129 parameters: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
130 - $ref: '#/components/parameters/to' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
131 responses: |
4548
c50fac0f3cbf
mod_rest: Fix type of response status codes in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
132 '200': |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
133 $ref: '#/components/responses/success' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
134 |
4801
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
135 /rest/extdisco/{to}: |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
136 get: |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
137 tags: |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
138 - query |
4929
65438e4ba563
mod_rest: Fix description of extdisco endpoint (thanks MattJ)
Kim Alvefur <zash@zash.se>
parents:
4889
diff
changeset
|
139 summary: Query for external services (usually STUN and TURN) |
4801
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
140 security: |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
141 - basic: [] |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
142 - token: [] |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
143 parameters: |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
144 - $ref: '#/components/parameters/to' |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
145 - name: type |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
146 in: query |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
147 schema: |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
148 type: string |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
149 example: stun |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
150 responses: |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
151 '200': |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
152 $ref: '#/components/responses/success' |
b65955c0abd8
mod_rest: Add GET method of invoking XEP-0215 to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4800
diff
changeset
|
153 |
4948
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
154 |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
155 /rest/archive/{to}: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
156 get: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
157 tags: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
158 - query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
159 summary: Query a message archive |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
160 security: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
161 - basic: [] |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
162 - token: [] |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
163 parameters: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
164 - $ref: '#/components/parameters/to' |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
165 - name: with |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
166 in: query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
167 schema: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
168 type: string |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
169 - name: start |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
170 in: query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
171 schema: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
172 type: string |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
173 - name: end |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
174 in: query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
175 schema: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
176 type: string |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
177 - name: before-id |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
178 in: query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
179 schema: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
180 type: string |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
181 - name: after-id |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
182 in: query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
183 schema: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
184 type: string |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
185 - name: ids |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
186 in: query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
187 schema: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
188 type: string |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
189 description: comma-separated list of archive ids |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
190 - name: after |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
191 in: query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
192 schema: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
193 type: string |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
194 - name: before |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
195 in: query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
196 schema: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
197 type: string |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
198 - name: max |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
199 in: query |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
200 schema: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
201 type: integer |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
202 responses: |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
203 '200': |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
204 $ref: '#/components/responses/success' |
2ff1fa824c5d
mod_rest: Document /archive/ in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4935
diff
changeset
|
205 |
5123
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
206 /rest/lastactivity/{to}: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
207 get: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
208 tags: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
209 - query |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
210 summary: Query last activity of an entity. Sometimes used as "uptime" for servers. |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
211 security: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
212 - basic: [] |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
213 - token: [] |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
214 parameters: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
215 - $ref: '#/components/parameters/to' |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
216 responses: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
217 '200': |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
218 $ref: '#/components/responses/success' |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
219 |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
220 /rest/stats/{to}: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
221 get: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
222 tags: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
223 - query |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
224 summary: Query an entity for statistics |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
225 security: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
226 - basic: [] |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
227 - token: [] |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
228 parameters: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
229 - $ref: '#/components/parameters/to' |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
230 responses: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
231 '200': |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
232 $ref: '#/components/responses/success' |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
233 |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
234 /rest/upload_request/{to}: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
235 get: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
236 tags: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
237 - query |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
238 summary: Lorem ipsum |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
239 security: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
240 - basic: [] |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
241 - token: [] |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
242 parameters: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
243 - $ref: '#/components/parameters/to' |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
244 responses: |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
245 '200': |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
246 $ref: '#/components/responses/success' |
09dd378748b8
mod_rest: Add some GET-mapped iq-queries to OpenAPI documentation
Kim Alvefur <zash@zash.se>
parents:
5080
diff
changeset
|
247 |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
248 components: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
249 schemas: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
250 stanza: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
251 type: object |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
252 example: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
253 body: Hello |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
254 type: chat |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
255 kind: message |
4476 | 256 to: alice@example.com |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
257 state: active |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
258 oneOf: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
259 - $ref: '#/components/schemas/message' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
260 - $ref: '#/components/schemas/presence' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
261 - $ref: '#/components/schemas/iq' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
262 |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
263 message: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
264 type: object |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
265 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
266 name: message |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
267 properties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
268 kind: |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
269 description: Which kind of stanza |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
270 type: string |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
271 enum: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
272 - message |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
273 type: |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
274 type: string |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
275 enum: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
276 - chat |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
277 - error |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
278 - groupchat |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
279 - headline |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
280 - normal |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
281 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
282 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
283 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
284 to: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
285 $ref: '#/components/schemas/to' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
286 from: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
287 $ref: '#/components/schemas/from' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
288 id: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
289 $ref: '#/components/schemas/id' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
290 lang: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
291 $ref: '#/components/schemas/lang' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
292 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
293 body: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
294 $ref: '#/components/schemas/body' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
295 subject: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
296 $ref: '#/components/schemas/subject' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
297 thread: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
298 $ref: '#/components/schemas/thread' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
299 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
300 state: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
301 $ref: '#/components/schemas/state' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
302 nick: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
303 $ref: '#/components/schemas/nick' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
304 delay: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
305 $ref: '#/components/schemas/delay' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
306 replace: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
307 $ref: '#/components/schemas/replace' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
308 |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
309 html: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
310 $ref: '#/components/schemas/html' |
4547
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
311 oob: |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
312 $ref: '#/components/schemas/oob' |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
313 reactions: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
314 $ref: '#/components/schemas/reactions' |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
315 occupant_id: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
316 $ref: '#/components/schemas/occupant_id' |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
317 attach_to: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
318 $ref: '#/components/schemas/attach_to' |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
319 fallback: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
320 $ref: '#/components/schemas/fallback' |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
321 stanza_ids: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
322 $ref: '#/components/schemas/stanza_ids' |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
323 reference: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
324 $ref: '#/components/schemas/reference' |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
325 markable: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
326 $ref: '#/components/schemas/markable' |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
327 displayed: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
328 $ref: '#/components/schemas/displayed' |
4959
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
329 encryption: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
330 $ref: '#/components/schemas/encryption' |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
331 |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
332 error: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
333 $ref: '#/components/schemas/error' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
334 |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
335 presence: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
336 type: object |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
337 properties: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
338 kind: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
339 description: Which kind of stanza |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
340 type: string |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
341 enum: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
342 - presence |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
343 type: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
344 type: string |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
345 enum: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
346 - available |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
347 - unavailable |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
348 - subscribe |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
349 - subscribed |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
350 - unsubscribe |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
351 - unsubscribed |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
352 - error |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
353 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
354 attribute: true |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
355 to: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
356 $ref: '#/components/schemas/to' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
357 from: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
358 $ref: '#/components/schemas/from' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
359 id: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
360 $ref: '#/components/schemas/id' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
361 lang: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
362 $ref: '#/components/schemas/lang' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
363 |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
364 show: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
365 $ref: '#/components/schemas/show' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
366 status: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
367 $ref: '#/components/schemas/status' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
368 priority: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
369 $ref: '#/components/schemas/priority' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
370 |
4572
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
371 caps: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
372 $ref: '#/components/schemas/caps' |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
373 nick: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
374 $ref: '#/components/schemas/nick' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
375 delay: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
376 $ref: '#/components/schemas/delay' |
4573
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
377 vcard_update: |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
378 $ref: '#/components/schemas/vcard_update' |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
379 idle_since: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
380 $ref: '#/components/schemas/idle_since' |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
381 |
4935
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
382 muc: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
383 $ref: '#/components/schemas/muc' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
384 |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
385 error: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
386 $ref: '#/components/schemas/error' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
387 |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
388 iq: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
389 type: object |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
390 properties: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
391 kind: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
392 description: Which kind of stanza |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
393 type: string |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
394 enum: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
395 - iq |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
396 type: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
397 type: string |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
398 enum: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
399 - get |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
400 - set |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
401 - result |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
402 - error |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
403 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
404 attribute: true |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
405 to: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
406 $ref: '#/components/schemas/to' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
407 from: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
408 $ref: '#/components/schemas/from' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
409 id: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
410 $ref: '#/components/schemas/id' |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
411 lang: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
412 $ref: '#/components/schemas/lang' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
413 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
414 ping: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
415 $ref: '#/components/schemas/ping' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
416 version: |
4527
9a6aaba3d5ef
mod_rest: Reflect XEP-0092 queries no longer taking booleans in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4497
diff
changeset
|
417 $ref: '#/components/schemas/version' |
4574
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
418 lastactivity: |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
419 $ref: '#/components/schemas/lastactivity' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
420 disco: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
421 $ref: '#/components/schemas/disco' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
422 items: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
423 $ref: '#/components/schemas/items' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
424 command: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
425 $ref: '#/components/schemas/command' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
426 |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
427 stats: |
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
428 $ref: '#/components/schemas/stats' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
429 payload: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
430 $ref: '#/components/schemas/payload' |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
431 gateway: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
432 $ref: '#/components/schemas/gateway' |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
433 register: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
434 $ref: '#/components/schemas/register' |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
435 extdisco: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
436 $ref: '#/components/schemas/extdisco' |
4889
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
437 upload_request: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
438 $ref: '#/components/schemas/upload_request' |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
439 upload_slot: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
440 $ref: '#/components/schemas/upload_slot' |
4546
cfe196f88e96
mod_rest: Reorganise openapi spec to group stanza types
Kim Alvefur <zash@zash.se>
parents:
4529
diff
changeset
|
441 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
442 error: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
443 $ref: '#/components/schemas/error' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
444 |
4495
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
445 iq_pong: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
446 description: Test reachability of some XMPP address |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
447 type: object |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
448 xml: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
449 name: iq |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
450 properties: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
451 type: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
452 type: string |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
453 enum: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
454 - result |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
455 xml: |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
456 attribute: true |
cdc530ec76d6
mod_rest/openapi: Improve ping (XEP-0199) representation
Kim Alvefur <zash@zash.se>
parents:
4494
diff
changeset
|
457 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
458 iq_result_version: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
459 description: Version query response |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
460 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
461 xml: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
462 name: iq |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
463 properties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
464 type: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
465 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
466 enum: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
467 - result |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
468 xml: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
469 attribute: true |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
470 version: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
471 $ref: '#/components/schemas/version' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
472 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
473 kind: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
474 description: Which kind of stanza |
4476 | 475 type: string |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
476 enum: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
477 - message |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
478 - presence |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
479 - iq |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
480 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
481 type: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
482 description: Stanza type |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
483 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
484 enum: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
485 - chat |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
486 - normal |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
487 - headline |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
488 - groupchat |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
489 - get |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
490 - set |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
491 - result |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
492 - available |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
493 - unavailable |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
494 - subscribe |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
495 - subscribed |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
496 - unsubscribe |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
497 - unsubscribed |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
498 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
499 attribute: true |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
500 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
501 to: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
502 description: recipient |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
503 example: alice@example.com |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
504 type: string |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
505 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
506 attribute: true |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
507 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
508 from: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
509 description: the sender |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
510 example: bob@localhost.example |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
511 type: string |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
512 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
513 attribute: true |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
514 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
515 id: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
516 description: Reasonably unique id. mod_rest generates one if left out. |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
517 type: string |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
518 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
519 attribute: true |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
520 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
521 lang: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
522 description: Language code |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
523 example: en |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
524 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
525 prefix: xml |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
526 attribute: true |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
527 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
528 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
529 body: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
530 description: Human-readable chat message |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
531 example: Hello, World! |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
532 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
533 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
534 subject: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
535 description: Subject of message or group chat |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
536 example: Talking about stuff |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
537 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
538 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
539 thread: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
540 description: Message thread identifier |
4571
913fcb5efc77
mod_rest: Update schema for <thread>
Kim Alvefur <zash@zash.se>
parents:
4570
diff
changeset
|
541 properties: |
913fcb5efc77
mod_rest: Update schema for <thread>
Kim Alvefur <zash@zash.se>
parents:
4570
diff
changeset
|
542 parent: |
913fcb5efc77
mod_rest: Update schema for <thread>
Kim Alvefur <zash@zash.se>
parents:
4570
diff
changeset
|
543 type: string |
913fcb5efc77
mod_rest: Update schema for <thread>
Kim Alvefur <zash@zash.se>
parents:
4570
diff
changeset
|
544 xml: |
913fcb5efc77
mod_rest: Update schema for <thread>
Kim Alvefur <zash@zash.se>
parents:
4570
diff
changeset
|
545 attribute: true |
913fcb5efc77
mod_rest: Update schema for <thread>
Kim Alvefur <zash@zash.se>
parents:
4570
diff
changeset
|
546 id: |
913fcb5efc77
mod_rest: Update schema for <thread>
Kim Alvefur <zash@zash.se>
parents:
4570
diff
changeset
|
547 type: string |
913fcb5efc77
mod_rest: Update schema for <thread>
Kim Alvefur <zash@zash.se>
parents:
4570
diff
changeset
|
548 xml: |
913fcb5efc77
mod_rest: Update schema for <thread>
Kim Alvefur <zash@zash.se>
parents:
4570
diff
changeset
|
549 text: true |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
550 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
551 show: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
552 description: indicator of availability, ie away or not |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
553 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
554 enum: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
555 - away |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
556 - chat |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
557 - dnd |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
558 - xa |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
559 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
560 status: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
561 description: Textual status message. |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
562 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
563 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
564 priority: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
565 description: Presence priority |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
566 type: integer |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
567 maximum: 127 |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
568 minimum: -128 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
569 |
4476 | 570 state: |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
571 description: Chat state notifications, e.g. "is typing..." |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
572 type: string |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
573 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
574 namespace: http://jabber.org/protocol/chatstates |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
575 x_name_is_value: true |
4476 | 576 enum: |
577 - active | |
578 - inactive | |
579 - gone | |
580 - composing | |
581 - paused | |
582 example: composing | |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
583 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
584 nick: |
4476 | 585 type: string |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
586 description: Nickname of the sender |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
587 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
588 name: nick |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
589 namespace: http://jabber.org/protocol/nick |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
590 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
591 delay: |
4476 | 592 type: string |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
593 format: date-time |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
594 description: Timestamp of when a stanza was delayed, in ISO 8601 / XEP-0082 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
595 format. |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
596 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
597 name: delay |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
598 namespace: urn:xmpp:delay |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
599 x_single_attribute: stamp |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
600 |
4476 | 601 replace: |
602 type: string | |
603 description: ID of message being replaced (e.g. for corrections) | |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
604 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
605 name: replace |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
606 namespace: urn:xmpp:message-correct:0 |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
607 x_single_attribute: id |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
608 |
4935
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
609 muc: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
610 description: Multi-User-Chat related |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
611 type: object |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
612 xml: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
613 name: x |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
614 namespace: http://jabber.org/protocol/muc |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
615 properties: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
616 history: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
617 type: object |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
618 properties: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
619 maxchars: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
620 type: integer |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
621 minimum: 0 |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
622 xml: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
623 attribute: true |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
624 maxstanzas: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
625 type: integer |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
626 minimum: 0 |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
627 xml: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
628 attribute: true |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
629 seconds: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
630 type: integer |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
631 minimum: 0 |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
632 xml: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
633 attribute: true |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
634 since: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
635 type: string |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
636 format: date-time |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
637 xml: |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
638 attribute: true |
a85efae90e21
mod_rest: Expand mapping of XEP-0045 join stanza
Kim Alvefur <zash@zash.se>
parents:
4929
diff
changeset
|
639 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
640 |
4549
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
641 invite: |
4958
2735e29cf94b
mod_rest: Add some descriptive details to schema
Kim Alvefur <zash@zash.se>
parents:
4948
diff
changeset
|
642 description: Invite to a group chat |
2735e29cf94b
mod_rest: Add some descriptive details to schema
Kim Alvefur <zash@zash.se>
parents:
4948
diff
changeset
|
643 title: "XEP-0249: Direct MUC Invitations" |
4549
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
644 type: object |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
645 required: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
646 - jid |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
647 xml: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
648 name: x |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
649 namespace: jabber:x:conference |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
650 properties: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
651 jid: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
652 type: string |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
653 description: Address of the group chat |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
654 format: xmpp-jid |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
655 xml: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
656 attribute: true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
657 reason: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
658 type: string |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
659 description: Optional message by the inviter |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
660 xml: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
661 attribute: true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
662 password: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
663 type: string |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
664 description: Password for the group chat, if required |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
665 xml: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
666 attribute: true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
667 thread: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
668 type: string |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
669 xml: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
670 attribute: true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
671 continue: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
672 type: boolean |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
673 description: Whether the group chat continues a one-to-one chat |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
674 xml: |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
675 attribute: true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4548
diff
changeset
|
676 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
677 html: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
678 description: HTML version of 'body' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
679 example: <body><p>Hello!</p></body> |
4476 | 680 type: string |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
681 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
682 ping: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
683 description: A ping. |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
684 type: boolean |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
685 enum: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
686 - true |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
687 xml: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
688 name: ping |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
689 namespace: urn:xmpp:ping |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
690 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
691 version: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
692 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
693 description: Software version query |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
694 properties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
695 name: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
696 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
697 example: My Software |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
698 version: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
699 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
700 example: 1.0.0 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
701 os: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
702 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
703 example: Linux |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
704 required: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
705 - name |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
706 - version |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
707 xml: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
708 name: query |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
709 namespace: jabber:iq:version |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
710 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
711 disco: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
712 description: Discover supported features |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
713 oneOf: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
714 - description: A full response |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
715 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
716 properties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
717 features: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
718 description: List of URIs indicating supported features |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
719 type: array |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
720 items: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
721 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
722 identities: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
723 description: List of abstract identities or types that describe the |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
724 entity |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
725 type: array |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
726 example: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
727 - name: Prosody |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
728 type: im |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
729 category: server |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
730 items: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
731 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
732 properties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
733 name: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
734 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
735 type: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
736 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
737 category: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
738 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
739 node: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
740 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
741 extensions: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
742 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
743 - description: A query with a node, or an empty response with a node |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
744 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
745 - description: Either a query, or an empty response |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
746 type: boolean |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
747 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
748 items: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
749 description: List of references to other entities |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
750 oneOf: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
751 - description: List of items referenced |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
752 type: array |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
753 items: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
754 properties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
755 jid: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
756 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
757 description: Address of item |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
758 node: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
759 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
760 name: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
761 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
762 description: Descriptive name |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
763 required: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
764 - jid |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
765 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
766 - type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
767 description: A query with a node, or an empty reply list with a node |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
768 - description: An items query or empty list |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
769 type: boolean |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
770 enum: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
771 - true |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
772 |
4476 | 773 command: |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
774 description: Ad-hoc commands. |
4476 | 775 oneOf: |
776 - type: object | |
777 properties: | |
778 data: | |
4486
4f41678ba00d
mod_rest/openapi: Fix dataform references
Kim Alvefur <zash@zash.se>
parents:
4479
diff
changeset
|
779 $ref: '#/components/schemas/formdata' |
4476 | 780 action: |
781 type: string | |
782 note: | |
783 type: object | |
784 properties: | |
785 text: | |
786 type: string | |
787 type: | |
788 type: string | |
789 enum: | |
790 - info | |
791 - warn | |
792 - error | |
793 form: | |
4486
4f41678ba00d
mod_rest/openapi: Fix dataform references
Kim Alvefur <zash@zash.se>
parents:
4479
diff
changeset
|
794 $ref: '#/components/schemas/dataform' |
4476 | 795 sessionid: |
796 type: string | |
797 status: | |
798 type: string | |
799 node: | |
800 type: string | |
801 actions: | |
802 type: object | |
803 properties: | |
804 complete: | |
805 type: boolean | |
806 prev: | |
807 type: boolean | |
808 next: | |
809 type: boolean | |
810 execute: | |
811 type: string | |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
812 - type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
813 description: Call a command by 'node' id, without arguments |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
814 |
4547
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
815 oob: |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
816 type: object |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
817 description: Reference a media file |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
818 xml: |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
819 name: x |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
820 namespace: jabber:x:oob |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
821 properties: |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
822 url: |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
823 type: string |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
824 description: URL of the attached media file |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
825 example: https://media.example.net/thisfile.jpg |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
826 format: uri |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
827 desc: |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
828 description: Optional description |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4546
diff
changeset
|
829 type: string |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
830 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
831 payload: |
4958
2735e29cf94b
mod_rest: Add some descriptive details to schema
Kim Alvefur <zash@zash.se>
parents:
4948
diff
changeset
|
832 title: 'XEP-0335: JSON Containers' |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
833 description: A piece of arbitrary JSON with a type field attached |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
834 type: object |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
835 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
836 name: payload |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
837 namespace: urn:xmpp:json-msg:0 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
838 required: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
839 - datatype |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
840 - data |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
841 properties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
842 data: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
843 example: '{"some":"json"}' |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
844 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
845 datatype: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
846 example: urn:example:my-json#payload |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
847 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
848 |
4959
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
849 rsm: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
850 title: 'XEP-0059: Result Set Management' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
851 xml: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
852 name: set |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
853 namespace: http://jabber.org/protocol/rsm |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
854 type: object |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
855 properties: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
856 last: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
857 type: string |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
858 max: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
859 type: integer |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
860 index: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
861 type: integer |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
862 count: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
863 type: integer |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
864 before: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
865 type: string |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
866 after: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
867 type: string |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
868 first: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
869 type: string |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
870 |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
871 archive_query: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
872 title: 'XEP-0313: Message Archive Management' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
873 type: object |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
874 properties: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
875 queryid: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
876 xml: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
877 attribute: true |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
878 type: string |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
879 page: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
880 $ref: '#/components/schemas/rsm' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
881 form: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
882 $ref: '#/components/schemas/dataform' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
883 xml: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
884 name: query |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
885 namespace: urn:xmpp:mam:2 |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
886 |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
887 archive_result: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
888 title: 'XEP-0313: Message Archive Management' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
889 xml: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
890 namespace: urn:xmpp:mam:2 |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
891 name: result |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
892 type: object |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
893 properties: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
894 queryid: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
895 type: string |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
896 xml: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
897 attribute: true |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
898 forward: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
899 $ref: '#/components/schemas/forwarded' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
900 |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
901 forwarded: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
902 title: 'XEP-0297: Stanza Forwarding' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
903 xml: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
904 name: forwarded |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
905 namespace: urn:xmpp:forward:0 |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
906 type: object |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
907 properties: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
908 message: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
909 $ref: '#/components/schemas/message' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
910 delay: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
911 $ref: '#/components/schemas/delay' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
912 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
913 dataform: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
914 description: Data form |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
915 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
916 properties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
917 title: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
918 description: Title of the form |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
919 example: TPS Report |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
920 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
921 fields: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
922 type: array |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
923 items: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
924 description: Form field |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
925 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
926 properties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
927 value: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
928 description: Field value |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
929 oneOf: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
930 - type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
931 - type: array |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
932 items: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
933 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
934 type: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
935 description: Type of form field |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
936 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
937 label: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
938 description: Descriptive label for the field |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
939 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
940 desc: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
941 description: Longer description, i.e. that would go in a tooltip |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
942 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
943 required: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
944 description: Whether the field must be included in the form |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
945 type: boolean |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
946 var: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
947 description: Internal name of the field |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
948 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
949 type: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
950 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
951 enum: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
952 - form |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
953 - submit |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
954 - cancel |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
955 - result |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
956 instructions: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
957 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
958 |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
959 formdata: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
960 description: Simplified data form carrying only values |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
961 type: object |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
962 additionalProperties: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
963 oneOf: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
964 - type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
965 - type: array |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
966 items: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
967 type: string |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
968 |
4476 | 969 stats: |
970 description: Statistics | |
971 type: array | |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
972 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
973 name: query |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
974 namespace: http://jabber.org/protocol/stats |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
975 wrapped: true |
4476 | 976 items: |
977 type: object | |
978 properties: | |
979 name: | |
980 type: string | |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
981 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
982 attribute: true |
4476 | 983 unit: |
984 type: string | |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
985 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
986 attribute: true |
4476 | 987 value: |
988 type: string | |
4570
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
989 xml: |
82df1eed45d1
mod_rest: Add various XML metadata to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
990 attribute: true |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
991 |
4574
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
992 lastactivity: |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
993 type: object |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
994 xml: |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
995 name: query |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
996 namespace: jabber:iq:last |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
997 properties: |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
998 seconds: |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
999 type: integer |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
1000 minimum: 0 |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
1001 xml: |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
1002 attribute: true |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
1003 status: |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
1004 type: string |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
1005 xml: |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
1006 text: true |
38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4573
diff
changeset
|
1007 |
4572
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1008 caps: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1009 type: object |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1010 xml: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1011 name: c |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1012 namespace: http://jabber.org/protocol/caps |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1013 properties: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1014 ver: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1015 type: string |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1016 xml: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1017 attribute: true |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1018 hash: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1019 type: string |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1020 xml: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1021 attribute: true |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1022 node: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1023 type: string |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1024 xml: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1025 attribute: true |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1026 ext: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1027 type: string |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1028 xml: |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1029 attribute: true |
2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4571
diff
changeset
|
1030 |
4573
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1031 vcard_update: |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1032 type: object |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1033 xml: |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1034 name: x |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1035 namespace: vcard-temp:x:update |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1036 properties: |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1037 photo: |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1038 type: string |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1039 example: adc83b19e793491b1c6ea0fd8b46cd9f32e592fc |
766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
Kim Alvefur <zash@zash.se>
parents:
4572
diff
changeset
|
1040 |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1041 reactions: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1042 type: object |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1043 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1044 namespace: urn:xmpp:reactions:0 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1045 properties: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1046 id: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1047 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1048 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1049 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1050 reactions: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1051 type: array |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1052 items: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1053 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1054 name: reaction |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1055 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1056 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1057 wrapped: false |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1058 name: reactions |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1059 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1060 occupant_id: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1061 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1062 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1063 namespace: urn:xmpp:occupant-id:0 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1064 x_single_attribute: id |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1065 name: occupant-id |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1066 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1067 attach_to: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1068 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1069 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1070 namespace: urn:xmpp:message-attaching:1 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1071 x_single_attribute: id |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1072 name: attach-to |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1073 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1074 fallback: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1075 type: boolean |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1076 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1077 namespace: urn:xmpp:fallback:0 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1078 x_name_is_value: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1079 name: fallback |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1080 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1081 stanza_ids: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1082 type: array |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1083 items: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1084 type: object |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1085 required: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1086 - id |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1087 - by |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1088 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1089 namespace: urn:xmpp:sid:0 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1090 name: stanza-id |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1091 properties: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1092 id: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1093 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1094 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1095 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1096 by: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1097 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1098 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1099 format: xmpp-jid |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1100 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1101 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1102 reference: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1103 type: object |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1104 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1105 namespace: urn:xmpp:reference:0 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1106 properties: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1107 end: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1108 minimum: 0 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1109 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1110 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1111 type: integer |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1112 uri: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1113 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1114 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1115 format: uri |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1116 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1117 begin: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1118 minimum: 0 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1119 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1120 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1121 type: integer |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1122 type: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1123 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1124 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1125 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1126 required: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1127 - type |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1128 - uri |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1129 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1130 markable: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1131 type: boolean |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1132 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1133 namespace: urn:xmpp:chat-markers:0 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1134 x_name_is_value: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1135 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1136 displayed: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1137 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1138 description: Message ID of a message that has been displayed |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1139 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1140 namespace: urn:xmpp:chat-markers:0 |
5080
ce9b836f66d5
mod_rest: Fix JSON conversion of 'displayed' chat marker
Kim Alvefur <zash@zash.se>
parents:
4959
diff
changeset
|
1141 x_single_attribute: id |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1142 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1143 idle_since: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1144 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1145 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1146 namespace: urn:xmpp:idle:1 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1147 x_single_attribute: since |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1148 name: idle |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1149 format: date-time |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1150 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1151 gateway: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1152 type: object |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1153 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1154 namespace: jabber:iq:gateway |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1155 name: query |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1156 properties: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1157 desc: |
4802
75543146e94e
mod_rest: Fix minor mistakes in openapi spec
Kim Alvefur <zash@zash.se>
parents:
4801
diff
changeset
|
1158 type: string |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1159 prompt: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1160 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1161 jid: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1162 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1163 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1164 extdisco: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1165 type: object |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1166 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1167 namespace: urn:xmpp:extdisco:2 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1168 name: services |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1169 properties: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1170 type: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1171 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1172 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1173 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1174 services: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1175 items: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1176 type: object |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1177 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1178 name: service |
4800
1e2f53fb2099
mod_rest: Fix mistaken way of specifying required fields in XEP-0215 map
Kim Alvefur <zash@zash.se>
parents:
4729
diff
changeset
|
1179 required: |
1e2f53fb2099
mod_rest: Fix mistaken way of specifying required fields in XEP-0215 map
Kim Alvefur <zash@zash.se>
parents:
4729
diff
changeset
|
1180 - type |
1e2f53fb2099
mod_rest: Fix mistaken way of specifying required fields in XEP-0215 map
Kim Alvefur <zash@zash.se>
parents:
4729
diff
changeset
|
1181 - host |
4729
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1182 properties: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1183 transport: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1184 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1185 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1186 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1187 type: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1188 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1189 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1190 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1191 port: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1192 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1193 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1194 type: integer |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1195 host: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1196 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1197 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1198 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1199 expires: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1200 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1201 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1202 format: datetime |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1203 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1204 username: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1205 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1206 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1207 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1208 password: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1209 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1210 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1211 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1212 restricted: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1213 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1214 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1215 type: boolean |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1216 name: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1217 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1218 attribute: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1219 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1220 type: array |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1221 |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1222 register: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1223 type: object |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1224 description: Register with a service |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1225 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1226 namespace: jabber:iq:register |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1227 name: query |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1228 properties: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1229 nick: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1230 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1231 misc: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1232 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1233 password: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1234 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1235 date: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1236 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1237 address: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1238 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1239 key: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1240 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1241 text: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1242 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1243 url: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1244 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1245 zip: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1246 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1247 phone: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1248 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1249 last: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1250 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1251 email: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1252 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1253 remove: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1254 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1255 x_name_is_value: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1256 type: boolean |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1257 city: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1258 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1259 registered: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1260 xml: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1261 x_name_is_value: true |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1262 type: boolean |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1263 first: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1264 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1265 state: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1266 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1267 instructions: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1268 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1269 username: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1270 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1271 name: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1272 type: string |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1273 required: |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1274 - username |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1275 - password |
fae4e1335593
mod_rest: Add new fields to openapi spec from mapping schema
Kim Alvefur <zash@zash.se>
parents:
4574
diff
changeset
|
1276 |
4889
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1277 upload_slot: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1278 type: object |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1279 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1280 name: slot |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1281 namespace: urn:xmpp:http:upload:0 |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1282 properties: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1283 put: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1284 type: object |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1285 properties: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1286 url: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1287 type: string |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1288 format: uri |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1289 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1290 attribute: true |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1291 headers: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1292 type: array |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1293 items: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1294 type: object |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1295 required: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1296 - name |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1297 - value |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1298 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1299 name: header |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1300 properties: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1301 name: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1302 type: string |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1303 enum: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1304 - Authorization |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1305 - Cookie |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1306 - Expires |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1307 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1308 attribute: true |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1309 value: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1310 type: string |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1311 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1312 text: true |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1313 get: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1314 type: object |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1315 properties: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1316 url: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1317 type: string |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1318 format: uri |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1319 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1320 attribute: true |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1321 upload_request: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1322 type: object |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1323 required: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1324 - filename |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1325 - size |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1326 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1327 name: request |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1328 namespace: urn:xmpp:http:upload:0 |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1329 properties: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1330 filename: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1331 type: string |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1332 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1333 attribute: true |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1334 content-type: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1335 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1336 attribute: true |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1337 name: content-type |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1338 size: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1339 type: integer |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1340 xml: |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1341 attribute: true |
52522c71ad1a
mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se>
parents:
4802
diff
changeset
|
1342 |
4959
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
1343 encryption: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
1344 title: 'XEP-0380: Explicit Message Encryption' |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
1345 type: string |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
1346 xml: |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
1347 x_single_attribute: namespace |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
1348 name: encryption |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
1349 namespace: urn:xmpp:eme:0 |
0989dea9b356
mod_rest: Add various things to openapi spec
Kim Alvefur <zash@zash.se>
parents:
4958
diff
changeset
|
1350 |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
1351 error: |
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
1352 description: Description of something gone wrong. See the Stanza Errors section in RFC 6120. |
4476 | 1353 type: object |
4479
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1354 properties: |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1355 type: |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1356 description: General category of error |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1357 type: string |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1358 enum: |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1359 - auth |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1360 - cancel |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1361 - continue |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1362 - modify |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1363 - wait |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1364 condition: |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1365 description: Specific error condition. |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1366 type: string |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1367 # enum: [ full list available in RFC 6120 ] |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1368 code: |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1369 description: Legacy numeric error code. Similar to HTTP status codes. |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1370 type: integer |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1371 text: |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1372 description: Description of error intended for human eyes. |
356b5ad521a5
mod_rest: Add schema for errors
Kim Alvefur <zash@zash.se>
parents:
4478
diff
changeset
|
1373 type: string |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
1374 |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1375 securitySchemes: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1376 token: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1377 description: Tokens from mod_http_oauth2. |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1378 scheme: Bearer |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1379 type: http |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1380 basic: |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1381 description: Use JID as username. |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1382 scheme: Basic |
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1383 type: http |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
1384 |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1385 requestBodies: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1386 common: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1387 required: true |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1388 content: |
4497
4c262e5a02b5
mod_rest/openapi: Reorder request bodies becasue YAML
Kim Alvefur <zash@zash.se>
parents:
4496
diff
changeset
|
1389 application/json: |
4c262e5a02b5
mod_rest/openapi: Reorder request bodies becasue YAML
Kim Alvefur <zash@zash.se>
parents:
4496
diff
changeset
|
1390 schema: |
4c262e5a02b5
mod_rest/openapi: Reorder request bodies becasue YAML
Kim Alvefur <zash@zash.se>
parents:
4496
diff
changeset
|
1391 $ref: '#/components/schemas/stanza' |
4c262e5a02b5
mod_rest/openapi: Reorder request bodies becasue YAML
Kim Alvefur <zash@zash.se>
parents:
4496
diff
changeset
|
1392 application/xmpp+xml: |
4c262e5a02b5
mod_rest/openapi: Reorder request bodies becasue YAML
Kim Alvefur <zash@zash.se>
parents:
4496
diff
changeset
|
1393 schema: |
4c262e5a02b5
mod_rest/openapi: Reorder request bodies becasue YAML
Kim Alvefur <zash@zash.se>
parents:
4496
diff
changeset
|
1394 description: Single XMPP stanza in XML format. |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1395 application/x-www-form-urlencoded: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1396 schema: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1397 description: A subset of the JSON schema, only top level string fields. |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
1398 |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1399 responses: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1400 success: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1401 description: The stanza was sent and returned a response. |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1402 content: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1403 application/json: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1404 schema: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1405 $ref: '#/components/schemas/stanza' |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1406 application/xmpp+xml: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1407 schema: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1408 description: Single XMPP stanza in XML format. |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1409 example: <message><body>Hello</body></message> |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1410 application/x-www-form-urlencoded: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1411 schema: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1412 description: A subset of the JSON schema, only top level string fields. |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1413 example: body=Hello |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1414 text/plain: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1415 schema: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1416 description: Plain text response used as message body. |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1417 example: Hello |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1418 type: string |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1419 sent: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1420 description: The stanza was sent without problem, and without response, |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1421 so an empty reply. |
4494
aa4dcd4b39c8
mod_rest/openapi: Improve organization and navigation
Kim Alvefur <zash@zash.se>
parents:
4493
diff
changeset
|
1422 |
4487
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1423 parameters: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1424 to: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1425 name: to |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1426 in: path |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1427 required: true |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1428 schema: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1429 $ref: '#/components/schemas/to' |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1430 kind: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1431 name: kind |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1432 in: path |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1433 required: true |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1434 schema: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1435 $ref: '#/components/schemas/kind' |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1436 type: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1437 name: type |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1438 in: path |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1439 required: true |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1440 schema: |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1441 $ref: '#/components/schemas/type' |
f877a4d3770b
mod_rest/openapi: Deduplicate things using references
Kim Alvefur <zash@zash.se>
parents:
4486
diff
changeset
|
1442 |
4474
949db0714b5f
mod_rest: Add an OpenAPI specification
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1443 ... |