blob: d0b1f35eaa64273dd06f595d20ee4b40572a969e [file] [log] [blame]
tragait34a94b92021-03-30 12:02:27 +01001# ============LICENSE_START=======================================================
halil.cakal04280e22024-01-23 10:05:36 +00002# Copyright (C) 2021-2024 Nordix Foundation
lukegleeson15b93e72021-07-07 15:25:30 +01003# Modifications Copyright (C) 2021 Pantheon.tech
puthuparambil.adityad69742c2022-03-29 11:03:52 +01004# Modifications Copyright (C) 2021-2022 Bell Canada
tragait34a94b92021-03-30 12:02:27 +01005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
lukegleeson15b93e72021-07-07 15:25:30 +010011#
tragait34a94b92021-03-30 12:02:27 +010012# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18# SPDX-License-Identifier: Apache-2.0
19# ============LICENSE_END=========================================================
bmiklosbbaf5012022-08-25 18:28:16 +020020
bmiklos440dc8a2022-09-05 18:25:46 +020021resourceDataForCmHandle:
tragaitc3285512021-08-16 15:12:36 +010022 get:
23 tags:
24 - network-cm-proxy
bmiklosbbaf5012022-08-25 18:28:16 +020025 summary: Get resource data for cm handle
26 description: Get resource data for given cm handle
27 operationId: getResourceDataForCmHandle
tragaitc3285512021-08-16 15:12:36 +010028 parameters:
bmiklosbbaf5012022-08-25 18:28:16 +020029 - $ref: 'components.yaml#/components/parameters/datastoreName'
tragaitc3285512021-08-16 15:12:36 +010030 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
niamhcorefd2e6dd2021-09-29 16:43:35 +010031 - $ref: 'components.yaml#/components/parameters/resourceIdentifierInQuery'
tragaitabdff1b2021-10-06 11:04:18 +010032 - $ref: 'components.yaml#/components/parameters/optionsParamInQuery'
sourabh_sourabh1f2e66e2022-02-16 21:53:41 +053033 - $ref: 'components.yaml#/components/parameters/topicParamInQuery'
bmiklosbbaf5012022-08-25 18:28:16 +020034 - $ref: 'components.yaml#/components/parameters/includeDescendantsOptionInQuery'
danielhanrahanc5222a72024-02-28 16:05:07 +000035 - $ref: 'components.yaml#/components/parameters/authorizationParamInHeader'
tragaitc3285512021-08-16 15:12:36 +010036 responses:
37 200:
emaclee844cab32021-12-01 09:42:37 +000038 description: OK
39 content:
40 application/json:
41 schema:
42 type: object
43 examples:
44 dataSampleResponse:
45 $ref: 'components.yaml#/components/examples/dataSampleResponse'
tragaitc3285512021-08-16 15:12:36 +010046 400:
47 $ref: 'components.yaml#/components/responses/BadRequest'
tragaitc3285512021-08-16 15:12:36 +010048 403:
49 $ref: 'components.yaml#/components/responses/Forbidden'
JosephKeenane0873dd2022-01-28 11:22:22 +000050 500:
51 $ref: 'components.yaml#/components/responses/InternalServerError'
mpriyank93afc1e2022-03-28 15:47:47 +053052 502:
53 $ref: 'components.yaml#/components/responses/BadGateway'
tragait888dcd42021-08-19 15:17:56 +010054
tragaitc584bf22021-08-20 15:45:58 +010055 post:
56 tags:
57 - network-cm-proxy
58 summary: create resource data from pass-through running for cm handle
59 description: create resource data from pass-through running for given cm handle
60 operationId: createResourceDataRunningForCmHandle
61 parameters:
bmiklos440dc8a2022-09-05 18:25:46 +020062 - $ref: 'components.yaml#/components/parameters/datastoreName'
tragaitc584bf22021-08-20 15:45:58 +010063 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
niamhcorefd2e6dd2021-09-29 16:43:35 +010064 - $ref: 'components.yaml#/components/parameters/resourceIdentifierInQuery'
tragaitc584bf22021-08-20 15:45:58 +010065 - $ref: 'components.yaml#/components/parameters/contentParamInHeader'
danielhanrahanc5222a72024-02-28 16:05:07 +000066 - $ref: 'components.yaml#/components/parameters/authorizationParamInHeader'
tragaitc584bf22021-08-20 15:45:58 +010067 requestBody:
68 required: true
69 content:
70 application/json:
71 schema:
puthuparambil.adityad0007332021-12-08 18:53:39 +000072 type: object
emaclee844cab32021-12-01 09:42:37 +000073 examples:
74 dataSampleRequest:
75 $ref: 'components.yaml#/components/examples/dataSampleRequest'
tragaitc584bf22021-08-20 15:45:58 +010076 application/yang-data+json:
77 schema:
puthuparambil.adityad0007332021-12-08 18:53:39 +000078 type: object
79 examples:
80 dataSampleRequest:
81 $ref: 'components.yaml#/components/examples/dataSampleRequest'
tragaitc584bf22021-08-20 15:45:58 +010082 responses:
83 201:
84 $ref: 'components.yaml#/components/responses/Created'
85 400:
86 $ref: 'components.yaml#/components/responses/BadRequest'
tragaitc584bf22021-08-20 15:45:58 +010087 403:
88 $ref: 'components.yaml#/components/responses/Forbidden'
JosephKeenane0873dd2022-01-28 11:22:22 +000089 500:
90 $ref: 'components.yaml#/components/responses/InternalServerError'
mpriyank93afc1e2022-03-28 15:47:47 +053091 502:
92 $ref: 'components.yaml#/components/responses/BadGateway'
niamhcorec309f242021-09-07 10:27:18 +010093
niamhcore919e9062021-11-02 14:08:16 +000094 put:
95 tags:
96 - network-cm-proxy
97 summary: Update resource data from pass-through running for a cm handle
98 description: Update resource data from pass-through running for the given cm handle
99 operationId: updateResourceDataRunningForCmHandle
100 parameters:
bmiklos440dc8a2022-09-05 18:25:46 +0200101 - $ref: 'components.yaml#/components/parameters/datastoreName'
niamhcore919e9062021-11-02 14:08:16 +0000102 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
103 - $ref: 'components.yaml#/components/parameters/resourceIdentifierInQuery'
104 - $ref: 'components.yaml#/components/parameters/contentParamInHeader'
danielhanrahanc5222a72024-02-28 16:05:07 +0000105 - $ref: 'components.yaml#/components/parameters/authorizationParamInHeader'
niamhcore919e9062021-11-02 14:08:16 +0000106 requestBody:
107 required: true
108 content:
109 application/json:
110 schema:
puthuparambil.adityad0007332021-12-08 18:53:39 +0000111 type: object
emaclee844cab32021-12-01 09:42:37 +0000112 examples:
113 dataSampleRequest:
114 $ref: 'components.yaml#/components/examples/dataSampleRequest'
niamhcore919e9062021-11-02 14:08:16 +0000115 application/yang-data+json:
116 schema:
puthuparambil.adityad0007332021-12-08 18:53:39 +0000117 type: object
118 examples:
119 dataSampleRequest:
120 $ref: 'components.yaml#/components/examples/dataSampleRequest'
niamhcore919e9062021-11-02 14:08:16 +0000121 responses:
122 200:
123 $ref: 'components.yaml#/components/responses/Ok'
124 400:
125 $ref: 'components.yaml#/components/responses/BadRequest'
niamhcore919e9062021-11-02 14:08:16 +0000126 403:
127 $ref: 'components.yaml#/components/responses/Forbidden'
JosephKeenane0873dd2022-01-28 11:22:22 +0000128 500:
129 $ref: 'components.yaml#/components/responses/InternalServerError'
mpriyank93afc1e2022-03-28 15:47:47 +0530130 502:
131 $ref: 'components.yaml#/components/responses/BadGateway'
niamhcore919e9062021-11-02 14:08:16 +0000132
niamhcore4314e7b2021-11-24 10:53:51 +0000133 patch:
134 tags:
135 - network-cm-proxy
136 summary: Patch resource data from pass-through running
137 description: Patch resource data from pass-through running for the given cm handle
138 operationId: patchResourceDataRunningForCmHandle
139 parameters:
bmiklos440dc8a2022-09-05 18:25:46 +0200140 - $ref: 'components.yaml#/components/parameters/datastoreName'
niamhcore4314e7b2021-11-24 10:53:51 +0000141 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
142 - $ref: 'components.yaml#/components/parameters/resourceIdentifierInQuery'
143 - $ref: 'components.yaml#/components/parameters/contentParamInHeader'
danielhanrahanc5222a72024-02-28 16:05:07 +0000144 - $ref: 'components.yaml#/components/parameters/authorizationParamInHeader'
niamhcore4314e7b2021-11-24 10:53:51 +0000145 requestBody:
146 required: true
147 content:
tragaitecd7f5e2022-01-13 13:15:14 +0000148 '*/*':
niamhcore4314e7b2021-11-24 10:53:51 +0000149 schema:
150 type: object
puthuparambil.adityad0007332021-12-08 18:53:39 +0000151 examples:
152 dataSampleRequest:
tragaitecd7f5e2022-01-13 13:15:14 +0000153 $ref: 'components.yaml#/components/examples/dataSamplePatchRequest'
niamhcore4314e7b2021-11-24 10:53:51 +0000154 responses:
155 200:
156 $ref: 'components.yaml#/components/responses/Ok'
157 400:
158 $ref: 'components.yaml#/components/responses/BadRequest'
niamhcore4314e7b2021-11-24 10:53:51 +0000159 403:
160 $ref: 'components.yaml#/components/responses/Forbidden'
JosephKeenane0873dd2022-01-28 11:22:22 +0000161 500:
162 $ref: 'components.yaml#/components/responses/InternalServerError'
mpriyank93afc1e2022-03-28 15:47:47 +0530163 502:
164 $ref: 'components.yaml#/components/responses/BadGateway'
niamhcore4314e7b2021-11-24 10:53:51 +0000165
DylanB95ESTeeef2ae2021-11-30 15:07:35 +0000166 delete:
167 tags:
168 - network-cm-proxy
169 summary: Delete resource data
170 description: Delete resource data from pass-through running for a given cm handle
171 operationId: deleteResourceDataRunningForCmHandle
172 parameters:
bmiklos440dc8a2022-09-05 18:25:46 +0200173 - $ref: 'components.yaml#/components/parameters/datastoreName'
DylanB95ESTeeef2ae2021-11-30 15:07:35 +0000174 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
175 - $ref: 'components.yaml#/components/parameters/resourceIdentifierInQuery'
176 - $ref: 'components.yaml#/components/parameters/contentParamInHeader'
danielhanrahanc5222a72024-02-28 16:05:07 +0000177 - $ref: 'components.yaml#/components/parameters/authorizationParamInHeader'
DylanB95ESTeeef2ae2021-11-30 15:07:35 +0000178 responses:
179 204:
180 $ref: 'components.yaml#/components/responses/NoContent'
181 400:
182 $ref: 'components.yaml#/components/responses/BadRequest'
DylanB95ESTeeef2ae2021-11-30 15:07:35 +0000183 403:
184 $ref: 'components.yaml#/components/responses/Forbidden'
185 404:
186 $ref: 'components.yaml#/components/responses/NotFound'
JosephKeenane0873dd2022-01-28 11:22:22 +0000187 500:
188 $ref: 'components.yaml#/components/responses/InternalServerError'
mpriyank93afc1e2022-03-28 15:47:47 +0530189 502:
190 $ref: 'components.yaml#/components/responses/BadGateway'
DylanB95ESTeeef2ae2021-11-30 15:07:35 +0000191
raviteja.karumuri977f7c32023-06-20 19:10:21 +0100192dataOperationForCmHandle:
sourabh_sourabh4031d432023-03-27 14:36:20 +0100193 post:
194 tags:
195 - network-cm-proxy
raviteja.karumuri977f7c32023-06-20 19:10:21 +0100196 summary: Execute a data operation for group of cm handle ids
ToineSiebelink693cfdd2024-04-09 18:39:51 +0100197 description: This request will be handled asynchronously using messaging to the supplied topic. The rest response will be an acknowledge with a requestId to identify the relevant messages. A maximum of 50 cm handles per operation is supported.
raviteja.karumuri977f7c32023-06-20 19:10:21 +0100198 operationId: executeDataOperationForCmHandles
sourabh_sourabh4031d432023-03-27 14:36:20 +0100199 parameters:
sourabh_sourabh4031d432023-03-27 14:36:20 +0100200 - $ref: 'components.yaml#/components/parameters/requiredTopicParamInQuery'
danielhanrahanc5222a72024-02-28 16:05:07 +0000201 - $ref: 'components.yaml#/components/parameters/authorizationParamInHeader'
sourabh_sourabh4031d432023-03-27 14:36:20 +0100202 requestBody:
203 required: true
204 content:
205 application/json:
206 schema:
raviteja.karumuri977f7c32023-06-20 19:10:21 +0100207 $ref: 'components.yaml#/components/schemas/DataOperationRequest'
sourabh_sourabh4031d432023-03-27 14:36:20 +0100208 responses:
209 200:
210 description: OK
211 content:
212 application/json:
213 schema:
214 type: object
215 400:
216 $ref: 'components.yaml#/components/responses/BadRequest'
sourabh_sourabh4031d432023-03-27 14:36:20 +0100217 403:
218 $ref: 'components.yaml#/components/responses/Forbidden'
ToineSiebelink693cfdd2024-04-09 18:39:51 +0100219 413:
220 $ref: 'components.yaml#/components/responses/PayloadTooLarge'
sourabh_sourabh4031d432023-03-27 14:36:20 +0100221 500:
222 $ref: 'components.yaml#/components/responses/InternalServerError'
223 502:
224 $ref: 'components.yaml#/components/responses/BadGateway'
225
lukegleeson20e7a732022-10-20 10:14:00 +0100226queryResourceDataForCmHandle:
227 get:
228 tags:
229 - network-cm-proxy
230 summary: Query resource data for a given cm handle
231 description: Query resource data for a given cm handle
232 operationId: queryResourceDataForCmHandle
233 parameters:
234 - $ref: 'components.yaml#/components/parameters/datastoreName'
235 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
236 - $ref: 'components.yaml#/components/parameters/cpsPathInQuery'
237 - $ref: 'components.yaml#/components/parameters/optionsParamInQuery'
238 - $ref: 'components.yaml#/components/parameters/topicParamInQuery'
239 - $ref: 'components.yaml#/components/parameters/includeDescendantsOptionInQuery'
240 responses:
241 200:
242 description: OK
243 content:
244 application/json:
245 schema:
246 type: object
247 examples:
248 dataSampleResponse:
249 $ref: 'components.yaml#/components/examples/dataSampleResponse'
250 400:
251 $ref: 'components.yaml#/components/responses/BadRequest'
lukegleeson20e7a732022-10-20 10:14:00 +0100252 403:
253 $ref: 'components.yaml#/components/responses/Forbidden'
254 500:
255 $ref: 'components.yaml#/components/responses/InternalServerError'
256 502:
257 $ref: 'components.yaml#/components/responses/BadGateway'
258
niamhcorec309f242021-09-07 10:27:18 +0100259fetchModuleReferencesByCmHandle:
260 get:
261 description: fetch all module references (name and revision) for a given cm handle
262 tags:
263 - network-cm-proxy
264 summary: Fetch all module references (name and revision) for a given cm handle
265 operationId: getModuleReferencesByCmHandle
266 parameters:
267 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
268 responses:
269 200:
270 description: OK
271 content:
272 application/json:
273 schema:
puthuparambil.adityad0007332021-12-08 18:53:39 +0000274 type: array
275 items:
lukegleesond5bda882022-03-02 14:32:47 +0000276 $ref: 'components.yaml#/components/schemas/RestModuleReference'
niamhcorec309f242021-09-07 10:27:18 +0100277 400:
278 $ref: 'components.yaml#/components/responses/BadRequest'
niamhcorec309f242021-09-07 10:27:18 +0100279 403:
280 $ref: 'components.yaml#/components/responses/Forbidden'
JosephKeenane0873dd2022-01-28 11:22:22 +0000281 500:
282 $ref: 'components.yaml#/components/responses/InternalServerError'
niamhcore66017b42021-10-19 11:07:02 +0100283
halil.cakal04280e22024-01-23 10:05:36 +0000284getModuleDefinitions:
emacleee1f73e22022-06-17 17:42:56 +0100285 get:
emacleee1f73e22022-06-17 17:42:56 +0100286 tags:
287 - network-cm-proxy
halil.cakal04280e22024-01-23 10:05:36 +0000288 summary: Get module definitions
289 description: Get module definitions (module name, revision, yang resource) with options to filter on module name and revision
290 operationId: getModuleDefinitions
emacleee1f73e22022-06-17 17:42:56 +0100291 parameters:
292 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
halil.cakal04280e22024-01-23 10:05:36 +0000293 - $ref: 'components.yaml#/components/parameters/moduleNameInQuery'
294 - $ref: 'components.yaml#/components/parameters/revisionInQuery'
emacleee1f73e22022-06-17 17:42:56 +0100295 responses:
296 200:
297 description: OK
298 content:
299 application/json:
300 schema:
301 type: array
302 items:
303 $ref: 'components.yaml#/components/schemas/RestModuleDefinition'
emacleee1f73e22022-06-17 17:42:56 +0100304 403:
305 $ref: 'components.yaml#/components/responses/Forbidden'
306 500:
307 $ref: 'components.yaml#/components/responses/InternalServerError'
308
kissande9ed5812022-05-12 15:59:18 +0200309searchCmHandles:
niamhcore66017b42021-10-19 11:07:02 +0100310 post:
lukegleesonde294742022-07-25 11:00:11 +0100311 description: Execute cm handle query search and return a list of cm handle details. Any number of conditions can be applied. To be included in the result a cm-handle must fulfill ALL the conditions. An empty collection will be returned in the case that the cm handle does not match a condition. For more on cm handle query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible to query on any data related to the cm handle. For more on CPS Path please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS Path Read the Docs</a>. The cm handle ancestor is automatically returned for this query.
niamhcore66017b42021-10-19 11:07:02 +0100312 tags:
313 - network-cm-proxy
314 summary: Execute cm handle search using the available conditions
kissande9ed5812022-05-12 15:59:18 +0200315 operationId: searchCmHandles
niamhcore66017b42021-10-19 11:07:02 +0100316 requestBody:
317 required: true
318 content:
319 application/json:
320 schema:
kissande9ed5812022-05-12 15:59:18 +0200321 $ref: 'components.yaml#/components/schemas/CmHandleQueryParameters'
lukegleeson82a550f2022-07-11 10:55:53 +0100322 examples:
323 Cm handle properties query:
324 $ref: 'components.yaml#/components/examples/pubPropCmHandleQueryParameters'
325 Cm handle modules query:
326 $ref: 'components.yaml#/components/examples/modulesCmHandleQueryParameters'
327 All cm handle query parameters:
328 $ref: 'components.yaml#/components/examples/allCmHandleQueryParameters'
329 Cm handle with CPS path state query:
330 $ref: 'components.yaml#/components/examples/cpsPathCmHandleStateQueryParameters'
331 Cm handle with data sync flag query:
332 $ref: 'components.yaml#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
niamhcore66017b42021-10-19 11:07:02 +0100333 responses:
334 200:
335 description: OK
336 content:
337 application/json:
338 schema:
kissande9ed5812022-05-12 15:59:18 +0200339 type: array
340 items:
341 $ref: 'components.yaml#/components/schemas/RestOutputCmHandle'
niamhcore66017b42021-10-19 11:07:02 +0100342 400:
343 $ref: 'components.yaml#/components/responses/BadRequest'
niamhcore66017b42021-10-19 11:07:02 +0100344 403:
ToineSiebelink18a79eb2021-12-23 12:36:40 +0000345 $ref: 'components.yaml#/components/responses/Forbidden'
JosephKeenane0873dd2022-01-28 11:22:22 +0000346 500:
347 $ref: 'components.yaml#/components/responses/InternalServerError'
DylanB95ESTe5573382022-01-27 17:12:52 +0000348
349retrieveCmHandleDetailsById:
350 get:
351 description: Retrieve CM handle details and properties by cm handle id
352 tags:
353 - network-cm-proxy
354 summary: Retrieve CM handle details
355 operationId: retrieveCmHandleDetailsById
356 parameters:
357 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
358 responses:
359 200:
360 description: OK
361 content:
362 application/json:
363 schema:
364 $ref: 'components.yaml#/components/schemas/RestOutputCmHandle'
lukegleeson78062a12022-06-02 10:56:43 +0100365 400:
366 $ref: 'components.yaml#/components/responses/BadRequest'
JosephKeenandeac4772022-03-28 12:26:07 +0100367 404:
368 $ref: 'components.yaml#/components/responses/NotFound'
369 500:
370 $ref: 'components.yaml#/components/responses/InternalServerError'
371
lukegleesonbed18fd2022-05-06 12:02:42 +0100372getCmHandlePropertiesById:
373 get:
374 description: Get CM handle properties by cm handle id
375 tags:
376 - network-cm-proxy
377 summary: Get CM handle properties
378 operationId: getCmHandlePublicPropertiesByCmHandleId
379 parameters:
380 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
381 responses:
382 200:
383 description: OK
384 content:
385 application/json:
386 schema:
387 $ref: 'components.yaml#/components/schemas/RestOutputCmHandlePublicProperties'
lukegleeson78062a12022-06-02 10:56:43 +0100388 400:
389 $ref: 'components.yaml#/components/responses/BadRequest'
lukegleeson78062a12022-06-02 10:56:43 +0100390 404:
391 $ref: 'components.yaml#/components/responses/NotFound'
392 500:
393 $ref: 'components.yaml#/components/responses/InternalServerError'
394
395getCmHandleStateById:
396 get:
397 description: Get CM handle state by cm handle id
398 tags:
399 - network-cm-proxy
400 summary: Get CM handle state
401 operationId: getCmHandleStateByCmHandleId
402 parameters:
403 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
404 responses:
405 200:
406 description: OK
407 content:
408 application/json:
409 schema:
410 $ref: 'components.yaml#/components/schemas/RestOutputCmHandleCompositeState'
411 400:
412 $ref: 'components.yaml#/components/responses/BadRequest'
lukegleesonbed18fd2022-05-06 12:02:42 +0100413 404:
414 $ref: 'components.yaml#/components/responses/NotFound'
415 500:
416 $ref: 'components.yaml#/components/responses/InternalServerError'
417
kissande9ed5812022-05-12 15:59:18 +0200418searchCmHandleIds:
JosephKeenandeac4772022-03-28 12:26:07 +0100419 post:
lukegleesonde294742022-07-25 11:00:11 +0100420 description: Execute cm handle query search and return a list of cm handle ids. Any number of conditions can be applied. To be included in the result a cm-handle must fulfill ALL the conditions. An empty collection will be returned in the case that the cm handle does not match a condition. For more on cm handle query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible to query on any data related to the cm handle. For more on CPS Path please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS Path Read the Docs</a>. The cm handle ancestor is automatically returned for this query.
JosephKeenandeac4772022-03-28 12:26:07 +0100421 tags:
422 - network-cm-proxy
423 summary: Execute cm handle query upon a given set of query parameters
kissande9ed5812022-05-12 15:59:18 +0200424 operationId: searchCmHandleIds
JosephKeenandeac4772022-03-28 12:26:07 +0100425 requestBody:
426 required: true
427 content:
428 application/json:
429 schema:
kissande9ed5812022-05-12 15:59:18 +0200430 $ref: 'components.yaml#/components/schemas/CmHandleQueryParameters'
lukegleeson82a550f2022-07-11 10:55:53 +0100431 examples:
432 Cm handle properties query:
433 $ref: 'components.yaml#/components/examples/pubPropCmHandleQueryParameters'
434 Cm handle modules query:
435 $ref: 'components.yaml#/components/examples/modulesCmHandleQueryParameters'
436 All cm handle query parameters:
437 $ref: 'components.yaml#/components/examples/allCmHandleQueryParameters'
438 Cm handle with CPS path state query:
439 $ref: 'components.yaml#/components/examples/cpsPathCmHandleStateQueryParameters'
440 Cm handle with data sync flag query:
441 $ref: 'components.yaml#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
JosephKeenandeac4772022-03-28 12:26:07 +0100442 responses:
443 200:
444 description: OK
445 content:
446 application/json:
447 schema:
448 type: array
449 items:
450 type: string
DylanB95ESTe5573382022-01-27 17:12:52 +0000451 400:
452 $ref: 'components.yaml#/components/responses/BadRequest'
DylanB95ESTe5573382022-01-27 17:12:52 +0000453 403:
454 $ref: 'components.yaml#/components/responses/Forbidden'
455 404:
456 $ref: 'components.yaml#/components/responses/NotFound'
457 500:
DylanB95EST6ddbe4a2022-07-19 11:36:10 +0100458 $ref: 'components.yaml#/components/responses/InternalServerError'
459
460setDataSyncEnabledFlag:
461 put:
462 tags:
463 - network-cm-proxy
464 summary: Set the Data Sync Enabled Flag
465 description: Set the data sync enabled flag to true or false for a specified Cm-Handle. This will in turn set the data sync state to UNSYNCHRONIZED and NONE_REQUESTED respectfully.
466 operationId: setDataSyncEnabledFlagForCmHandle
467 parameters:
468 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
469 - $ref: 'components.yaml#/components/parameters/dataSyncEnabled'
470 responses:
471 200:
472 $ref: 'components.yaml#/components/responses/Ok'
473 400:
474 $ref: 'components.yaml#/components/responses/BadRequest'
DylanB95EST6ddbe4a2022-07-19 11:36:10 +0100475 403:
476 $ref: 'components.yaml#/components/responses/Forbidden'
477 500:
478 $ref: 'components.yaml#/components/responses/InternalServerError'
479 502:
danielhanrahanc5222a72024-02-28 16:05:07 +0000480 $ref: 'components.yaml#/components/responses/BadGateway'