tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 2 | # Copyright (C) 2021-2022 Nordix Foundation |
Ruslan Kashapov | 1baf48d | 2021-05-07 10:46:27 +0300 | [diff] [blame] | 3 | # Modifications Copyright (C) 2021 Pantheon.tech |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 10 | # |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 20 | components: |
| 21 | schemas: |
niamhcore | 66017b4 | 2021-10-19 11:07:02 +0100 | [diff] [blame] | 22 | # Common Schemas |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 23 | ErrorMessage: |
| 24 | type: object |
| 25 | title: Error |
| 26 | properties: |
| 27 | status: |
| 28 | type: string |
| 29 | message: |
| 30 | type: string |
| 31 | details: |
| 32 | type: string |
DylanB95EST | 4f4178c | 2021-07-02 13:30:42 +0100 | [diff] [blame] | 33 | |
niamhcore | 66017b4 | 2021-10-19 11:07:02 +0100 | [diff] [blame] | 34 | # Request Schemas |
DylanB95EST | 4f4178c | 2021-07-02 13:30:42 +0100 | [diff] [blame] | 35 | RestDmiPluginRegistration: |
| 36 | type: object |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 37 | properties: |
DylanB95EST | 4f4178c | 2021-07-02 13:30:42 +0100 | [diff] [blame] | 38 | dmiPlugin: |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 39 | type: string |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 40 | example: my-dmi-plugin |
DylanB95EST | d042fcd | 2022-02-21 12:57:08 +0000 | [diff] [blame] | 41 | default: "" |
JosephKeenan | 20b4f9c | 2021-11-23 12:18:28 +0000 | [diff] [blame] | 42 | dmiDataPlugin: |
| 43 | type: string |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 44 | example: my-dmi-data-plugin |
DylanB95EST | d042fcd | 2022-02-21 12:57:08 +0000 | [diff] [blame] | 45 | default: "" |
JosephKeenan | 20b4f9c | 2021-11-23 12:18:28 +0000 | [diff] [blame] | 46 | dmiModelPlugin: |
| 47 | type: string |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 48 | example: my-dmi-model-plugin |
DylanB95EST | d042fcd | 2022-02-21 12:57:08 +0000 | [diff] [blame] | 49 | default: "" |
DylanB95EST | 4f4178c | 2021-07-02 13:30:42 +0100 | [diff] [blame] | 50 | createdCmHandles: |
| 51 | type: array |
| 52 | items: |
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 53 | $ref: '#/components/schemas/RestInputCmHandle' |
DylanB95EST | 31facc8 | 2021-08-18 17:12:25 +0100 | [diff] [blame] | 54 | updatedCmHandles: |
| 55 | type: array |
| 56 | items: |
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 57 | $ref: '#/components/schemas/RestInputCmHandle' |
Renu Kumari | 2c96317 | 2022-03-10 16:02:55 -0500 | [diff] [blame^] | 58 | example: |
| 59 | cmHandle: my-cm-handle |
| 60 | cmHandleProperties: |
| 61 | add-my-property: add-property |
| 62 | update-my-property: updated-property |
| 63 | delete-my-property: '~' |
| 64 | publicCmHandleProperties: |
| 65 | add-my-property: add-property |
| 66 | update-my-property: updated-property |
| 67 | delete-my-property: '~' |
DylanB95EST | e999b02 | 2021-08-24 16:56:40 +0100 | [diff] [blame] | 68 | removedCmHandles: |
| 69 | type: array |
| 70 | items: |
| 71 | type: string |
Renu Kumari | 2c96317 | 2022-03-10 16:02:55 -0500 | [diff] [blame^] | 72 | example: [my-cm-handle1, my-cm-handle2, my-cm-handle3] |
DylanB95EST | 4f4178c | 2021-07-02 13:30:42 +0100 | [diff] [blame] | 73 | |
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 74 | RestInputCmHandle: |
DylanB95EST | 4f4178c | 2021-07-02 13:30:42 +0100 | [diff] [blame] | 75 | required: |
| 76 | - cmHandle |
| 77 | type: object |
| 78 | properties: |
| 79 | cmHandle: |
| 80 | type: string |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 81 | example: my-cm-handle |
DylanB95EST | 4f4178c | 2021-07-02 13:30:42 +0100 | [diff] [blame] | 82 | cmHandleProperties: |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 83 | $ref: '#/components/schemas/RestCmHandleProperties' |
| 84 | publicCmHandleProperties: |
| 85 | $ref: '#/components/schemas/RestCmHandleProperties' |
| 86 | RestCmHandleProperties: |
DylanB95EST | 4f4178c | 2021-07-02 13:30:42 +0100 | [diff] [blame] | 87 | type: object |
| 88 | additionalProperties: |
| 89 | type: string |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 90 | example: my-property |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 91 | |
niamhcore | 66017b4 | 2021-10-19 11:07:02 +0100 | [diff] [blame] | 92 | Conditions: |
| 93 | type: object |
| 94 | properties: |
| 95 | conditions: |
| 96 | $ref: '#/components/schemas/ConditionsData' |
| 97 | ConditionsData: |
| 98 | type: array |
| 99 | items: |
| 100 | type: object |
| 101 | $ref: '#/components/schemas/ConditionProperties' |
| 102 | ConditionProperties: |
| 103 | properties: |
| 104 | name: |
| 105 | type: string |
| 106 | example: hasAllModules |
| 107 | conditionParameters: |
niamhcore | b0d9307 | 2021-10-28 13:39:24 +0100 | [diff] [blame] | 108 | $ref: '#/components/schemas/ModuleNamesAsJsonArray' |
| 109 | ModuleNamesAsJsonArray: |
niamhcore | 66017b4 | 2021-10-19 11:07:02 +0100 | [diff] [blame] | 110 | type: array |
| 111 | items: |
| 112 | type: object |
niamhcore | b0d9307 | 2021-10-28 13:39:24 +0100 | [diff] [blame] | 113 | $ref: '#/components/schemas/ModuleNameAsJsonObject' |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 114 | example: [my-module-1, my-module-2, my-module-3] |
niamhcore | b0d9307 | 2021-10-28 13:39:24 +0100 | [diff] [blame] | 115 | ModuleNameAsJsonObject: |
niamhcore | 66017b4 | 2021-10-19 11:07:02 +0100 | [diff] [blame] | 116 | properties: |
| 117 | moduleName: |
| 118 | type: string |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 119 | example: my-module |
niamhcore | 66017b4 | 2021-10-19 11:07:02 +0100 | [diff] [blame] | 120 | |
| 121 | #Response Schemas |
| 122 | CmHandles: |
| 123 | type: object |
| 124 | properties: |
| 125 | cmHandles: |
| 126 | $ref: '#/components/schemas/CmHandleProperties' |
| 127 | CmHandleProperties: |
| 128 | type: array |
| 129 | items: |
| 130 | type: object |
| 131 | $ref: '#/components/schemas/CmHandleProperty' |
| 132 | CmHandleProperty: |
| 133 | properties: |
| 134 | cmHandleId: |
| 135 | type: string |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 136 | example: my-cm-handle-id |
| 137 | |
puthuparambil.aditya | d000733 | 2021-12-08 18:53:39 +0000 | [diff] [blame] | 138 | ModuleReference: |
| 139 | type: object |
| 140 | title: Module reference details |
| 141 | properties: |
| 142 | moduleName: |
| 143 | type: string |
| 144 | example: my-module-name |
| 145 | revision: |
| 146 | type: string |
| 147 | example: my-module-revision |
| 148 | |
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 149 | RestOutputCmHandle: |
| 150 | type: object |
| 151 | title: CM handle Details |
| 152 | properties: |
| 153 | cmHandle: |
| 154 | type: string |
| 155 | example: my-cm-handle1 |
| 156 | publicCmHandleProperties: |
| 157 | $ref: '#/components/schemas/CmHandlePublicProperties' |
| 158 | CmHandlePublicProperties: |
| 159 | type: array |
| 160 | items: |
| 161 | type: object |
| 162 | additionalProperties: |
| 163 | type: string |
| 164 | example: Book Type |
| 165 | |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 166 | examples: |
| 167 | dataSampleRequest: |
| 168 | summary: Sample request |
| 169 | description: Sample request body |
| 170 | value: |
| 171 | test:bookstore: |
| 172 | bookstore-name: Chapters |
| 173 | categories: |
| 174 | - code: '01' |
| 175 | name: SciFi |
| 176 | books: |
| 177 | - authors: |
| 178 | - Iain M. Banks |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 179 | - Ursula K. Le Guin |
| 180 | - code: '02' |
| 181 | name: kids |
| 182 | books: |
| 183 | - authors: |
| 184 | - Philip Pullman |
| 185 | |
tragait | ecd7f5e | 2022-01-13 13:15:14 +0000 | [diff] [blame] | 186 | dataSamplePatchRequest: |
| 187 | summary: Sample patch request |
| 188 | description: Sample patch request body |
| 189 | value: |
| 190 | ietf-restconf:yang-patch: |
| 191 | patch-id: patch-1 |
| 192 | edit: |
| 193 | - edit-id: edit1 |
| 194 | operation: merge |
| 195 | target: / |
| 196 | value: |
| 197 | test:bookstore: |
| 198 | bookstore-name: Chapters |
| 199 | categories: |
| 200 | - code: '01' |
| 201 | name: Science |
| 202 | books: |
| 203 | - authors: |
| 204 | - Author1 |
| 205 | - Author2 |
| 206 | - code: '02' |
| 207 | name: Arts |
| 208 | books: |
| 209 | - authors: |
| 210 | - Author3 |
| 211 | - edit-id: edit2 |
| 212 | operation: merge |
| 213 | target: / |
| 214 | value: |
| 215 | test:bookstore: |
| 216 | bookstore-name: Novels |
| 217 | categories: |
| 218 | - code: '03' |
| 219 | name: History |
| 220 | books: |
| 221 | - authors: |
| 222 | - Iain M. Banks |
| 223 | - Ursula K. Le Guin |
| 224 | - code: '04' |
| 225 | name: Fiction |
| 226 | books: |
| 227 | - authors: |
| 228 | - Philip Pullman |
| 229 | |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 230 | dataSampleResponse: |
| 231 | summary: Sample response |
| 232 | description: Sample response for selecting 'sample 1'. |
| 233 | value: |
| 234 | bookstore: |
| 235 | categories: |
| 236 | - code: '01' |
| 237 | books: |
puthuparambil.aditya | d000733 | 2021-12-08 18:53:39 +0000 | [diff] [blame] | 238 | - authors: |
| 239 | - Iain M. Banks |
| 240 | - Ursula K. Le Guin |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 241 | name: SciFi |
| 242 | - code: '02' |
| 243 | books: |
puthuparambil.aditya | d000733 | 2021-12-08 18:53:39 +0000 | [diff] [blame] | 244 | - authors: |
| 245 | - Philip Pullman |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 246 | name: kids |
niamhcore | 66017b4 | 2021-10-19 11:07:02 +0100 | [diff] [blame] | 247 | |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 248 | parameters: |
Hanif Kukkalli | 83e318f | 2021-02-23 12:26:39 +0100 | [diff] [blame] | 249 | cmHandleInPath: |
| 250 | name: cm-handle |
| 251 | in: path |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 252 | description: The identifier for a network function, network element, subnetwork or any other cm object by managed Network CM Proxy |
Hanif Kukkalli | 83e318f | 2021-02-23 12:26:39 +0100 | [diff] [blame] | 253 | required: true |
| 254 | schema: |
| 255 | type: string |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 256 | example: my-cm-handle |
Hanif Kukkalli | 83e318f | 2021-02-23 12:26:39 +0100 | [diff] [blame] | 257 | xpathInQuery: |
| 258 | name: xpath |
| 259 | in: query |
| 260 | description: xpath |
| 261 | required: false |
| 262 | schema: |
| 263 | type: string |
| 264 | default: / |
Ruslan Kashapov | 1baf48d | 2021-05-07 10:46:27 +0300 | [diff] [blame] | 265 | requiredXpathInQuery: |
| 266 | name: xpath |
| 267 | in: query |
| 268 | description: xpath |
| 269 | required: true |
| 270 | schema: |
| 271 | type: string |
Hanif Kukkalli | 83e318f | 2021-02-23 12:26:39 +0100 | [diff] [blame] | 272 | includeDescendantsOptionInQuery: |
| 273 | name: include-descendants |
| 274 | in: query |
| 275 | description: include-descendants |
| 276 | required: false |
| 277 | schema: |
| 278 | type: boolean |
| 279 | default: false |
niamhcore | b5d573b | 2021-02-26 10:13:48 +0000 | [diff] [blame] | 280 | cpsPathInQuery: |
| 281 | name: cps-path |
| 282 | in: query |
| 283 | description: cps-path |
| 284 | required: false |
| 285 | schema: |
| 286 | type: string |
| 287 | default: / |
niamhcore | fd2e6dd | 2021-09-29 16:43:35 +0100 | [diff] [blame] | 288 | resourceIdentifierInQuery: |
tragait | c328551 | 2021-08-16 15:12:36 +0100 | [diff] [blame] | 289 | name: resourceIdentifier |
niamhcore | fd2e6dd | 2021-09-29 16:43:35 +0100 | [diff] [blame] | 290 | in: query |
| 291 | description: The format of resource identifier depend on the associated DMI Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but it can really be anything. |
tragait | c328551 | 2021-08-16 15:12:36 +0100 | [diff] [blame] | 292 | required: true |
niamhcore | fd2e6dd | 2021-09-29 16:43:35 +0100 | [diff] [blame] | 293 | allowReserved: true |
tragait | c328551 | 2021-08-16 15:12:36 +0100 | [diff] [blame] | 294 | schema: |
| 295 | type: string |
niamhcore | fd2e6dd | 2021-09-29 16:43:35 +0100 | [diff] [blame] | 296 | examples: |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 297 | sample 1: |
niamhcore | fd2e6dd | 2021-09-29 16:43:35 +0100 | [diff] [blame] | 298 | value: |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 299 | resourceIdentifier: \shops\bookstore |
| 300 | sample 2: |
niamhcore | fd2e6dd | 2021-09-29 16:43:35 +0100 | [diff] [blame] | 301 | value: |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 302 | resourceIdentifier: \shops\bookstore\categories[@code=1] |
| 303 | sample 3: |
niamhcore | fd2e6dd | 2021-09-29 16:43:35 +0100 | [diff] [blame] | 304 | value: |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 305 | resourceIdentifier: parent=shops,child=bookstore |
tragait | c328551 | 2021-08-16 15:12:36 +0100 | [diff] [blame] | 306 | acceptParamInHeader: |
tragait | c584bf2 | 2021-08-20 15:45:58 +0100 | [diff] [blame] | 307 | name: Accept |
tragait | c328551 | 2021-08-16 15:12:36 +0100 | [diff] [blame] | 308 | in: header |
| 309 | required: false |
| 310 | description: Accept parameter for response, if accept parameter is null, that means client can accept any format. |
| 311 | schema: |
| 312 | type: string |
| 313 | enum: [ application/json, application/yang-data+json ] |
tragait | abdff1b | 2021-10-06 11:04:18 +0100 | [diff] [blame] | 314 | optionsParamInQuery: |
| 315 | name: options |
tragait | c328551 | 2021-08-16 15:12:36 +0100 | [diff] [blame] | 316 | in: query |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 317 | description: options parameter in query, it is mandatory to wrap key(s)=value(s) in parenthesis'()'. The format of options parameter depend on the associated DMI Plugin implementation. |
tragait | c328551 | 2021-08-16 15:12:36 +0100 | [diff] [blame] | 318 | required: false |
| 319 | schema: |
| 320 | type: string |
tragait | abdff1b | 2021-10-06 11:04:18 +0100 | [diff] [blame] | 321 | allowReserved: true |
| 322 | examples: |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 323 | sample 1: |
tragait | abdff1b | 2021-10-06 11:04:18 +0100 | [diff] [blame] | 324 | value: |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 325 | options: (depth=3) |
| 326 | sample 2: |
tragait | abdff1b | 2021-10-06 11:04:18 +0100 | [diff] [blame] | 327 | value: |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 328 | options: (fields=book) |
| 329 | sample 3: |
tragait | abdff1b | 2021-10-06 11:04:18 +0100 | [diff] [blame] | 330 | value: |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 331 | options: (depth=2,fields=book/authors) |
tragait | c584bf2 | 2021-08-20 15:45:58 +0100 | [diff] [blame] | 332 | contentParamInHeader: |
| 333 | name: Content-Type |
| 334 | in: header |
| 335 | required: false |
| 336 | description: Content parameter for request, if content parameter is null, default value is application/json. |
| 337 | schema: |
| 338 | type: string |
| 339 | default: application/json |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 340 | example: application/yang-data+json |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 341 | |
| 342 | responses: |
| 343 | NotFound: |
| 344 | description: The specified resource was not found |
| 345 | content: |
| 346 | application/json: |
| 347 | schema: |
| 348 | $ref: '#/components/schemas/ErrorMessage' |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 349 | example: |
| 350 | status: 400 |
| 351 | message: Not found error message |
| 352 | details: Not found error details |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 353 | Unauthorized: |
| 354 | description: Unauthorized |
| 355 | content: |
| 356 | application/json: |
| 357 | schema: |
| 358 | $ref: '#/components/schemas/ErrorMessage' |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 359 | example: |
| 360 | status: 401 |
| 361 | message: Unauthorized error message |
| 362 | details: Unauthorized error details |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 363 | Forbidden: |
| 364 | description: Forbidden |
| 365 | content: |
| 366 | application/json: |
| 367 | schema: |
| 368 | $ref: '#/components/schemas/ErrorMessage' |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 369 | example: |
| 370 | status: 403 |
| 371 | message: Forbidden error message |
| 372 | details: Forbidden error details |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 373 | BadRequest: |
| 374 | description: Bad Request |
| 375 | content: |
| 376 | application/json: |
| 377 | schema: |
| 378 | $ref: '#/components/schemas/ErrorMessage' |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 379 | example: |
| 380 | status: 400 BAD_REQUEST |
| 381 | message: Bad request error message |
| 382 | details: Bad request error details |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 383 | Conflict: |
| 384 | description: Conflict |
| 385 | content: |
| 386 | application/json: |
| 387 | schema: |
| 388 | $ref: '#/components/schemas/ErrorMessage' |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 389 | example: |
| 390 | status: 409 CONFLICT |
| 391 | message: Conflict error message |
| 392 | details: Conflict error details |
Hanif Kukkalli | 83e318f | 2021-02-23 12:26:39 +0100 | [diff] [blame] | 393 | NotImplemented: |
| 394 | description: The given path has not been implemented |
| 395 | content: |
| 396 | application/json: |
| 397 | schema: |
| 398 | $ref: '#/components/schemas/ErrorMessage' |
emaclee | 844cab3 | 2021-12-01 09:42:37 +0000 | [diff] [blame] | 399 | example: |
| 400 | status: 501 |
| 401 | message: Not implemented error message |
| 402 | details: Not implemented error details |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 403 | Ok: |
| 404 | description: OK |
| 405 | content: |
| 406 | application/json: |
| 407 | schema: |
| 408 | type: object |
| 409 | Created: |
| 410 | description: Created |
DylanB95EST | 4f4178c | 2021-07-02 13:30:42 +0100 | [diff] [blame] | 411 | content: {} |
Ruslan Kashapov | 9f52f60 | 2021-01-22 12:53:01 +0200 | [diff] [blame] | 412 | NoContent: |
| 413 | description: No Content |
| 414 | content: {} |
JosephKeenan | e0873dd | 2022-01-28 11:22:22 +0000 | [diff] [blame] | 415 | InternalServerError: |
| 416 | description: Internal Server Error |
| 417 | content: |
| 418 | application/json: |
| 419 | schema: |
| 420 | $ref: "#/components/schemas/ErrorMessage" |
| 421 | example: |
| 422 | status: 500 |
| 423 | message: Internal Server Error |
| 424 | details: Internal Server Error occurred |