blob: 24717bc59bdf4e5856676de9f386fc8966cfa5c5 [file] [log] [blame]
JvD_Ericsson1cbfc282024-02-15 11:34:36 +00001{
2 "info": {
3 "_postman_id": "e86df76f-6b33-4648-ba66-ea9d3129c052",
4 "name": "CPS-CORE",
5 "description": "A collection of the endpoints in CPS-CORE. This is not an exhaustive collection but captures the main functionality.\n\nTo perform this functionality execute the API calls in order to create a dataspace, schema set (file is provided), anchor, and data node. Then GET the nodes to retrieve the information. The APIs in CPS-ADMIN can be used after initial POST requests.\n\nbookstore-model.yang can be found at cps/postman-collections/bookstore-model.yang",
6 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
7 "_exporter_id": "17907116"
8 },
9 "item": [
10 {
11 "name": "CPS-ADMIN",
12 "item": [
13 {
14 "name": "Get all dataspaces",
15 "request": {
16 "method": "GET",
17 "header": [
18 {
19 "key": "Accept",
20 "value": "application/json"
21 }
22 ],
23 "url": {
24 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/admin/dataspaces",
25 "protocol": "http",
26 "host": [
27 "{{CPS_HOST}}"
28 ],
29 "port": "{{CPS_PORT}}",
30 "path": [
31 "cps",
32 "api",
33 "v2",
34 "admin",
35 "dataspaces"
36 ]
37 },
38 "description": "Read all dataspaces"
39 },
40 "response": []
41 },
42 {
43 "name": "Get a dataspace",
44 "request": {
45 "method": "GET",
46 "header": [
47 {
48 "key": "Accept",
49 "value": "application/json"
50 }
51 ],
52 "url": {
53 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/admin/dataspaces/my-store",
54 "protocol": "http",
55 "host": [
56 "{{CPS_HOST}}"
57 ],
58 "port": "{{CPS_PORT}}",
59 "path": [
60 "cps",
61 "api",
62 "v2",
63 "admin",
64 "dataspaces",
65 "my-store"
66 ]
67 },
68 "description": "Read a dataspace given a dataspace name"
69 },
70 "response": []
71 },
72 {
73 "name": "Get anchors",
74 "request": {
75 "method": "GET",
76 "header": [
77 {
78 "key": "Accept",
79 "value": "application/json"
80 }
81 ],
82 "url": {
83 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors",
84 "protocol": "http",
85 "host": [
86 "{{CPS_HOST}}"
87 ],
88 "port": "{{CPS_PORT}}",
89 "path": [
90 "cps",
91 "api",
92 "v2",
93 "dataspaces",
94 "my-store",
95 "anchors"
96 ]
97 },
98 "description": "Read all anchors, given a dataspace"
99 },
100 "response": []
101 },
102 {
103 "name": "Get an anchor",
104 "request": {
105 "method": "GET",
106 "header": [
107 {
108 "key": "Accept",
109 "value": "application/json"
110 }
111 ],
112 "url": {
113 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor",
114 "protocol": "http",
115 "host": [
116 "{{CPS_HOST}}"
117 ],
118 "port": "{{CPS_PORT}}",
119 "path": [
120 "cps",
121 "api",
122 "v2",
123 "dataspaces",
124 "my-store",
125 "anchors",
126 "bookstore-anchor"
127 ]
128 },
129 "description": "Read all anchors, given a dataspace"
130 },
131 "response": []
132 },
133 {
134 "name": "Get schema sets",
135 "request": {
136 "method": "GET",
137 "header": [
138 {
139 "key": "Accept",
140 "value": "application/json"
141 }
142 ],
143 "url": {
144 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/schema-sets",
145 "protocol": "http",
146 "host": [
147 "{{CPS_HOST}}"
148 ],
149 "port": "{{CPS_PORT}}",
150 "path": [
151 "cps",
152 "api",
153 "v2",
154 "dataspaces",
155 "my-store",
156 "schema-sets"
157 ]
158 },
159 "description": "Read all schema sets, given a dataspace"
160 },
161 "response": []
162 },
163 {
164 "name": "Get a schema set",
165 "request": {
166 "method": "GET",
167 "header": [
168 {
169 "key": "Accept",
170 "value": "application/json"
171 }
172 ],
173 "url": {
174 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/schema-sets/stores-module",
175 "protocol": "http",
176 "host": [
177 "{{CPS_HOST}}"
178 ],
179 "port": "{{CPS_PORT}}",
180 "path": [
181 "cps",
182 "api",
183 "v2",
184 "dataspaces",
185 "my-store",
186 "schema-sets",
187 "stores-module"
188 ]
189 },
190 "description": "Read a schema set given a schema set name and a dataspace"
191 },
192 "response": []
193 }
194 ],
195 "description": "Some endpoints of CPS-ADMIN not mentioed in the CPS-CORE folder"
196 },
197 {
198 "name": "Create Dataspace",
199 "request": {
200 "method": "POST",
201 "header": [],
202 "url": {
203 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces?dataspace-name=my-store",
204 "protocol": "http",
205 "host": [
206 "{{CPS_HOST}}"
207 ],
208 "port": "{{CPS_PORT}}",
209 "path": [
210 "cps",
211 "api",
212 "v2",
213 "dataspaces"
214 ],
215 "query": [
216 {
217 "key": "dataspace-name",
218 "value": "my-store"
219 }
220 ]
221 }
222 },
223 "response": []
224 },
225 {
226 "name": "Create Schema Set",
227 "request": {
228 "method": "POST",
229 "header": [
230 {
231 "key": "Content-Type",
232 "value": "multipart/form-data",
233 "type": "text",
234 "disabled": true
235 }
236 ],
237 "body": {
238 "mode": "formdata",
239 "formdata": [
240 {
241 "key": "file",
242 "type": "file",
243 "src": "cps/postman-collections/bookstore.zip"
244 }
245 ]
246 },
247 "url": {
248 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/schema-sets?schema-set-name=stores-module",
249 "protocol": "http",
250 "host": [
251 "{{CPS_HOST}}"
252 ],
253 "port": "{{CPS_PORT}}",
254 "path": [
255 "cps",
256 "api",
257 "v2",
258 "dataspaces",
259 "my-store",
260 "schema-sets"
261 ],
262 "query": [
263 {
264 "key": "schema-set-name",
265 "value": "stores-module"
266 }
267 ]
268 },
269 "description": "Make sure in the body there is form data. key = file and value will be the zip/yang file."
270 },
271 "response": []
272 },
273 {
274 "name": "Create Anchor",
275 "request": {
276 "method": "POST",
277 "header": [],
278 "url": {
279 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors?schema-set-name=stores-module&anchor-name=bookstore-anchor",
280 "protocol": "http",
281 "host": [
282 "{{CPS_HOST}}"
283 ],
284 "port": "{{CPS_PORT}}",
285 "path": [
286 "cps",
287 "api",
288 "v2",
289 "dataspaces",
290 "my-store",
291 "anchors"
292 ],
293 "query": [
294 {
295 "key": "schema-set-name",
296 "value": "stores-module"
297 },
298 {
299 "key": "anchor-name",
300 "value": "bookstore-anchor"
301 }
302 ]
303 }
304 },
305 "response": []
306 },
307 {
308 "name": "Create DataNodes",
309 "request": {
310 "method": "POST",
311 "header": [],
312 "body": {
313 "mode": "raw",
314 "raw": "{\n \"bookstore-address\": [\n {\n \"bookstore-name\": \"Easons\",\n \"address\": \"Dublin,Ireland\",\n \"postal-code\": \"D02HA21\"\n }\n ],\n \"bookstore\": {\n \"bookstore-name\": \"Easons\",\n \"premises\": {\n \"addresses\": [\n {\n \"house-number\": 2,\n \"street\": \"Main Street\",\n \"town\": \"Maynooth\",\n \"county\": \"Kildare\"\n },\n {\n \"house-number\": 24,\n \"street\": \"Grafton Street\",\n \"town\": \"Dublin\",\n \"county\": \"Dublin\"\n }\n ]\n },\n \"categories\": [\n {\n \"code\": 1,\n \"name\": \"Children\",\n \"books\": [\n {\n \"title\": \"Matilda\",\n \"lang\": \"English\",\n \"authors\": [\n \"Roald Dahl\"\n ],\n \"editions\": [\n 1988,\n 2000\n ],\n \"price\": 20\n },\n {\n \"title\": \"The Gruffalo\",\n \"lang\": \"English\",\n \"authors\": [\n \"Julia Donaldson\"\n ],\n \"editions\": [\n 1999\n ],\n \"price\": 15\n }\n ]\n },\n {\n \"code\": 2,\n \"name\": \"Thriller\",\n \"books\": [\n {\n \"title\": \"Annihilation\",\n \"lang\": \"English\",\n \"authors\": [\n \"Jeff VanderMeer\"\n ],\n \"editions\": [\n 2014\n ],\n \"price\": 15\n }\n ]\n },\n {\n \"code\": 3,\n \"name\": \"Comedy\",\n \"books\": [\n {\n \"title\": \"Good Omens\",\n \"lang\": \"English\",\n \"authors\": [\n \"Neil Gaiman\",\n \"Terry Pratchett\"\n ],\n \"editions\": [\n 2006\n ],\n \"price\": 13\n },\n {\n \"title\": \"The Colour of Magic\",\n \"lang\": \"English\",\n \"authors\": [\n \"Terry Pratchett\"\n ],\n \"editions\": [\n 1983\n ],\n \"price\": 12\n },\n {\n \"title\": \"The Light Fantastic\",\n \"lang\": \"English\",\n \"authors\": [\n \"Terry Pratchett\"\n ],\n \"editions\": [\n 1986\n ],\n \"price\": 14\n },\n {\n \"title\": \"A Book with No Language\",\n \"lang\": \"\",\n \"authors\": [\n \"Joe Bloggs\"\n ],\n \"editions\": [\n 2023\n ],\n \"price\": 20\n }\n ]\n },\n {\n \"code\": 4,\n \"name\": \"Computing\",\n \"books\": [\n {\n \"title\": \"Debian GNU/Linux\",\n \"lang\": \"German\",\n \"authors\": [\n \"Peter H. Ganten\",\n \"Wulf Alex\"\n ],\n \"editions\": [\n 2007,\n 2013,\n 2021\n ],\n \"price\": 39\n },\n {\n \"title\": \"Logarithm tables\",\n \"lang\": \"N/A\",\n \"authors\": [\n \"Joe Bloggs\"\n ],\n \"editions\": [\n 2009\n ],\n \"price\": 11\n }\n ]\n },\n {\n \"code\": 5,\n \"name\": \"Discount books\",\n \"books\": [\n {\n \"title\": \"Book 1\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 1\n },\n {\n \"title\": \"Book 2\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 2\n },\n {\n \"title\": \"Book 3\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 3\n },\n {\n \"title\": \"Book 4\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 4\n },\n {\n \"title\": \"Book 5\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 5\n },\n {\n \"title\": \"Book 6\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 6\n },\n {\n \"title\": \"Book 7\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 7\n },\n {\n \"title\": \"Book 8\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 8\n },\n {\n \"title\": \"Book 9\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 9\n },\n {\n \"title\": \"Book 10\",\n \"lang\": \"blah\",\n \"authors\": [],\n \"editions\": [],\n \"price\": 10\n }\n ]\n }\n ]\n }\n}",
315 "options": {
316 "raw": {
317 "language": "json"
318 }
319 }
320 },
321 "url": {
322 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/nodes",
323 "protocol": "http",
324 "host": [
325 "{{CPS_HOST}}"
326 ],
327 "port": "{{CPS_PORT}}",
328 "path": [
329 "cps",
330 "api",
331 "v2",
332 "dataspaces",
333 "my-store",
334 "anchors",
335 "bookstore-anchor",
336 "nodes"
337 ]
338 }
339 },
340 "response": []
341 },
342 {
343 "name": "Get Root Node All Descendants",
344 "request": {
345 "method": "GET",
346 "header": [],
347 "url": {
348 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/node?xpath=/&descendants=all",
349 "protocol": "http",
350 "host": [
351 "{{CPS_HOST}}"
352 ],
353 "port": "{{CPS_PORT}}",
354 "path": [
355 "cps",
356 "api",
357 "v2",
358 "dataspaces",
359 "my-store",
360 "anchors",
361 "bookstore-anchor",
362 "node"
363 ],
364 "query": [
365 {
366 "key": "xpath",
367 "value": "/"
368 },
369 {
370 "key": "descendants",
371 "value": "all"
372 }
373 ]
374 }
375 },
376 "response": []
377 },
378 {
379 "name": "Get Node Staff No Descendants",
380 "request": {
381 "method": "GET",
382 "header": [],
383 "url": {
384 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/node?xpath=/bookstore/staff&descendants=none",
385 "protocol": "http",
386 "host": [
387 "{{CPS_HOST}}"
388 ],
389 "port": "{{CPS_PORT}}",
390 "path": [
391 "cps",
392 "api",
393 "v2",
394 "dataspaces",
395 "my-store",
396 "anchors",
397 "bookstore-anchor",
398 "node"
399 ],
400 "query": [
401 {
402 "key": "xpath",
403 "value": "/bookstore/staff"
404 },
405 {
406 "key": "descendants",
407 "value": "none"
408 }
409 ]
410 }
411 },
412 "response": []
413 },
414 {
415 "name": "Get Node Inventory All Descendants",
416 "request": {
417 "method": "GET",
418 "header": [],
419 "url": {
420 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/node?xpath=/bookstore/inventory&descendants=all",
421 "protocol": "http",
422 "host": [
423 "{{CPS_HOST}}"
424 ],
425 "port": "{{CPS_PORT}}",
426 "path": [
427 "cps",
428 "api",
429 "v2",
430 "dataspaces",
431 "my-store",
432 "anchors",
433 "bookstore-anchor",
434 "node"
435 ],
436 "query": [
437 {
438 "key": "xpath",
439 "value": "/bookstore/inventory"
440 },
441 {
442 "key": "descendants",
443 "value": "all"
444 }
445 ]
446 }
447 },
448 "response": []
449 },
450 {
451 "name": "Get Node Inventory Categories Direct Descendants",
452 "request": {
453 "method": "GET",
454 "header": [],
455 "url": {
456 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/node?xpath=/bookstore/inventory/categories[@code='2']&descendants=direct",
457 "protocol": "http",
458 "host": [
459 "{{CPS_HOST}}"
460 ],
461 "port": "{{CPS_PORT}}",
462 "path": [
463 "cps",
464 "api",
465 "v2",
466 "dataspaces",
467 "my-store",
468 "anchors",
469 "bookstore-anchor",
470 "node"
471 ],
472 "query": [
473 {
474 "key": "xpath",
475 "value": "/bookstore/inventory/categories[@code='2']"
476 },
477 {
478 "key": "descendants",
479 "value": "direct"
480 }
481 ]
482 }
483 },
484 "response": []
485 },
486 {
487 "name": "Query Path Leaf Condition All Descendants",
488 "request": {
489 "method": "GET",
490 "header": [],
491 "url": {
492 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/nodes/query?cps-path=/bookstore/inventory/categories[@numberOfBooks=1]&descendants=-1",
493 "protocol": "http",
494 "host": [
495 "{{CPS_HOST}}"
496 ],
497 "port": "{{CPS_PORT}}",
498 "path": [
499 "cps",
500 "api",
501 "v2",
502 "dataspaces",
503 "my-store",
504 "anchors",
505 "bookstore-anchor",
506 "nodes",
507 "query"
508 ],
509 "query": [
510 {
511 "key": "cps-path",
512 "value": "/bookstore/inventory/categories[@numberOfBooks=1]"
513 },
514 {
515 "key": "descendants",
516 "value": "-1"
517 }
518 ]
519 }
520 },
521 "response": []
522 },
523 {
524 "name": "Query Path Ancestor No Descendants",
525 "request": {
526 "method": "GET",
527 "header": [],
528 "url": {
529 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/nodes/query?cps-path=//categories[@code=1]/ancestor::inventory&descendants=0",
530 "protocol": "http",
531 "host": [
532 "{{CPS_HOST}}"
533 ],
534 "port": "{{CPS_PORT}}",
535 "path": [
536 "cps",
537 "api",
538 "v2",
539 "dataspaces",
540 "my-store",
541 "anchors",
542 "bookstore-anchor",
543 "nodes",
544 "query"
545 ],
546 "query": [
547 {
548 "key": "cps-path",
549 "value": "//categories[@code=1]/ancestor::inventory"
550 },
551 {
552 "key": "descendants",
553 "value": "0"
554 }
555 ]
556 }
557 },
558 "response": []
559 },
560 {
561 "name": "Patch Nodes",
562 "request": {
563 "method": "PATCH",
564 "header": [],
565 "body": {
566 "mode": "raw",
567 "raw": "{\r\n \"staff\": {\r\n \"manager\": \"Jane Doe\",\r\n \"members\": [\r\n {\"name\": \"Some Guy\"},\r\n {\"name\": \"Another Person\"}\r\n ]\r\n }\r\n}",
568 "options": {
569 "raw": {
570 "language": "json"
571 }
572 }
573 },
574 "url": {
575 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/nodes?xpath=/bookstore",
576 "protocol": "http",
577 "host": [
578 "{{CPS_HOST}}"
579 ],
580 "port": "{{CPS_PORT}}",
581 "path": [
582 "cps",
583 "api",
584 "v2",
585 "dataspaces",
586 "my-store",
587 "anchors",
588 "bookstore-anchor",
589 "nodes"
590 ],
591 "query": [
592 {
593 "key": "xpath",
594 "value": "/bookstore"
595 }
596 ]
597 }
598 },
599 "response": []
600 },
601 {
602 "name": "Get Node Staff Direct Descendants",
603 "request": {
604 "method": "GET",
605 "header": [],
606 "url": {
607 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/node?xpath=/bookstore/staff&descendants=1",
608 "protocol": "http",
609 "host": [
610 "{{CPS_HOST}}"
611 ],
612 "port": "{{CPS_PORT}}",
613 "path": [
614 "cps",
615 "api",
616 "v2",
617 "dataspaces",
618 "my-store",
619 "anchors",
620 "bookstore-anchor",
621 "node"
622 ],
623 "query": [
624 {
625 "key": "xpath",
626 "value": "/bookstore/staff"
627 },
628 {
629 "key": "descendants",
630 "value": "1"
631 }
632 ]
633 }
634 },
635 "response": []
636 },
637 {
638 "name": "Delete DataNodes",
639 "request": {
640 "method": "DELETE",
641 "header": [],
642 "url": {
643 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor/nodes?xpath=/",
644 "protocol": "http",
645 "host": [
646 "{{CPS_HOST}}"
647 ],
648 "port": "{{CPS_PORT}}",
649 "path": [
650 "cps",
651 "api",
652 "v2",
653 "dataspaces",
654 "my-store",
655 "anchors",
656 "bookstore-anchor",
657 "nodes"
658 ],
659 "query": [
660 {
661 "key": "xpath",
662 "value": "/"
663 }
664 ]
665 }
666 },
667 "response": []
668 },
669 {
670 "name": "Delete Anchor",
671 "request": {
672 "method": "DELETE",
673 "header": [],
674 "url": {
675 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/anchors/bookstore-anchor",
676 "protocol": "http",
677 "host": [
678 "{{CPS_HOST}}"
679 ],
680 "port": "{{CPS_PORT}}",
681 "path": [
682 "cps",
683 "api",
684 "v2",
685 "dataspaces",
686 "my-store",
687 "anchors",
688 "bookstore-anchor"
689 ]
690 }
691 },
692 "response": []
693 },
694 {
695 "name": "Delete Schema Set",
696 "request": {
697 "method": "DELETE",
698 "header": [
699 {
700 "key": "Content-Type",
701 "value": "multipart/form-data",
702 "type": "text",
703 "disabled": true
704 }
705 ],
706 "body": {
707 "mode": "formdata",
708 "formdata": [
709 {
710 "key": "file",
711 "type": "file",
712 "src": "/home/jeff/Downloads/bookstore-model.yang"
713 }
714 ]
715 },
716 "url": {
717 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces/my-store/schema-sets/stores-module",
718 "protocol": "http",
719 "host": [
720 "{{CPS_HOST}}"
721 ],
722 "port": "{{CPS_PORT}}",
723 "path": [
724 "cps",
725 "api",
726 "v2",
727 "dataspaces",
728 "my-store",
729 "schema-sets",
730 "stores-module"
731 ]
732 },
733 "description": "Make sure in the body there is form data. key = file and value will be the zip/yang file."
734 },
735 "response": []
736 },
737 {
738 "name": "Delete Dataspace",
739 "request": {
740 "method": "DELETE",
741 "header": [],
742 "url": {
743 "raw": "http://{{CPS_HOST}}:{{CPS_PORT}}/cps/api/v2/dataspaces?dataspace-name=my-store",
744 "protocol": "http",
745 "host": [
746 "{{CPS_HOST}}"
747 ],
748 "port": "{{CPS_PORT}}",
749 "path": [
750 "cps",
751 "api",
752 "v2",
753 "dataspaces"
754 ],
755 "query": [
756 {
757 "key": "dataspace-name",
758 "value": "my-store"
759 }
760 ]
761 }
762 },
763 "response": []
764 }
765 ],
766 "auth": {
767 "type": "basic",
768 "basic": [
769 {
770 "key": "password",
771 "value": "cpsr0cks!",
772 "type": "string"
773 },
774 {
775 "key": "username",
776 "value": "cpsuser",
777 "type": "string"
778 }
779 ]
780 }
781}