a9f5965273d5f78f6403fa52d3167c42628d8ed2
[ccsdk/cds.git] / docs / api-reference / media / cds-bp-processor-api-swagger.json
1 {
2   "swagger" : "2.0",
3   "info" : {
4     "description" : "Shows all resources and endpoints which CDS BP processor currently provides with sample requests/responses, parameter description and other information.",
5     "version" : "v1",
6     "title" : "CDS Blueprint Processor API Reference",
7     "termsOfService" : "https://www.onap.org/",
8     "contact" : {
9       "name" : "ONAP Community",
10       "url" : "https://www.onap.org/",
11       "email" : "onap-discuss@lists.onap.org"
12     },
13     "license" : {
14       "name" : "Apache 2.0",
15       "url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
16     }
17   },
18   "host" : "localhost:8080",
19   "tags" : [ {
20     "name" : "Blueprint Model Catalog API",
21     "description" : "Manages all blueprint models which are available in CDS"
22   } ],
23   "schemes" : [ "http" ],
24   "paths" : {
25     "/api/v1/blueprint-model" : {
26       "get" : {
27         "tags" : [ "Blueprint Model Catalog API" ],
28         "summary" : "List all Blueprint Models",
29         "description" : "Lists all meta-data of blueprint models which are saved in CDS.",
30         "operationId" : "BlueprintModelController_allBlueprintModel_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
31         "produces" : [ "application/json" ],
32         "responses" : {
33           "200" : {
34             "description" : "OK",
35             "schema" : {
36               "type" : "array",
37               "items" : {
38                 "$ref" : "#/definitions/BlueprintModelSearch"
39               }
40             }
41           },
42           "500" : {
43             "description" : "Internal Server Error"
44           }
45         }
46       },
47       "post" : {
48         "tags" : [ "Blueprint Model Catalog API" ],
49         "summary" : "Save a Blueprint Model",
50         "description" : "Saves a blueprint model by the given CBA zip file input. There is no validation of the attached CBA happening when this API is called.",
51         "operationId" : "BlueprintModelController_saveBlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
52         "consumes" : [ "multipart/form-data" ],
53         "produces" : [ "application/json" ],
54         "parameters" : [ {
55           "in" : "body",
56           "name" : "file",
57           "description" : "CBA file to be uploaded (example: cba.zip)",
58           "required" : true,
59           "schema" : {
60             "$ref" : "#/definitions/FilePart"
61           }
62         } ],
63         "responses" : {
64           "200" : {
65             "description" : "OK",
66             "schema" : {
67               "type" : "object"
68             }
69           },
70           "500" : {
71             "description" : "Internal Server Error"
72           }
73         }
74       }
75     },
76     "/api/v1/blueprint-model/bootstrap" : {
77       "post" : {
78         "tags" : [ "Blueprint Model Catalog API" ],
79         "summary" : "Bootstrap CDS",
80         "description" : "Loads all Model Types, Resource Dictionaries and Blueprint Models which are included in CDS by default. Before starting to work with CDS, bootstrap should be called to load all the basic models that each orginization might support. Parameter values can be set as `false`  to skip loading e.g. the Resource Dictionaries but this is not recommended.",
81         "operationId" : "BlueprintModelController_bootstrap_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
82         "consumes" : [ "application/json" ],
83         "produces" : [ "application/json" ],
84         "parameters" : [ {
85           "in" : "body",
86           "name" : "body",
87           "description" : "Specifies which elements to load",
88           "required" : true,
89           "schema" : {
90             "$ref" : "#/definitions/BootstrapRequest"
91           }
92         } ],
93         "responses" : {
94           "200" : {
95             "description" : "OK",
96             "schema" : {
97               "type" : "object"
98             }
99           },
100           "500" : {
101             "description" : "Internal Server Error"
102           }
103         }
104       }
105     },
106     "/api/v1/blueprint-model/by-name/{name}/version/{version}" : {
107       "get" : {
108         "tags" : [ "Blueprint Model Catalog API" ],
109         "summary" : "Get a Blueprint Model by Name and Version",
110         "description" : "Get Meta-Data of a Blueprint Model by its name and version.",
111         "operationId" : "BlueprintModelController_getBlueprintByNameAndVersion_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
112         "produces" : [ "application/json" ],
113         "parameters" : [ {
114           "name" : "name",
115           "in" : "path",
116           "description" : "Name of the blueprint model",
117           "required" : true,
118           "type" : "string",
119           "x-example" : "pnf_netconf"
120         }, {
121           "name" : "version",
122           "in" : "path",
123           "description" : "Version of the blueprint model",
124           "required" : true,
125           "type" : "string",
126           "x-example" : "1.0.0"
127         } ],
128         "responses" : {
129           "200" : {
130             "description" : "OK",
131             "schema" : {
132               "type" : "object"
133             }
134           },
135           "404" : {
136             "description" : "Not Found"
137           }
138         }
139       }
140     },
141     "/api/v1/blueprint-model/download/by-name/{name}/version/{version}" : {
142       "get" : {
143         "tags" : [ "Blueprint Model Catalog API" ],
144         "summary" : "Download a Blueprint Model",
145         "description" : "Gets the CBA of a blueprint model by its name and version. Response can be saved to a file to download the CBA.",
146         "operationId" : "BlueprintModelController_downloadBlueprintByNameAndVersion_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
147         "produces" : [ "application/json" ],
148         "parameters" : [ {
149           "name" : "name",
150           "in" : "path",
151           "description" : "Name of the blueprint model",
152           "required" : true,
153           "type" : "string",
154           "x-example" : "pnf_netconf"
155         }, {
156           "name" : "version",
157           "in" : "path",
158           "description" : "Version of the blueprint model",
159           "required" : true,
160           "type" : "string",
161           "x-example" : "1.0.0"
162         } ],
163         "responses" : {
164           "200" : {
165             "description" : "OK",
166             "schema" : {
167               "type" : "object"
168             }
169           },
170           "404" : {
171             "description" : "Not Found"
172           }
173         }
174       }
175     },
176     "/api/v1/blueprint-model/download/{id}" : {
177       "get" : {
178         "tags" : [ "Blueprint Model Catalog API" ],
179         "summary" : "Download a Blueprint Model by ID",
180         "description" : "Gets the CBA of a blueprint model by its ID. Response can be saved to a file to download the CBA.",
181         "operationId" : "BlueprintModelController_downloadBluePrint_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
182         "produces" : [ "application/json" ],
183         "parameters" : [ {
184           "name" : "id",
185           "in" : "path",
186           "description" : "ID of the blueprint model to download",
187           "required" : true,
188           "type" : "string",
189           "x-example" : "67ec1f96-ab55-4b81-aff9-23ee0ed1d7a4"
190         } ],
191         "responses" : {
192           "200" : {
193             "description" : "OK",
194             "schema" : {
195               "type" : "object"
196             }
197           },
198           "404" : {
199             "description" : "Not Found"
200           }
201         }
202       }
203     },
204     "/api/v1/blueprint-model/enrich" : {
205       "post" : {
206         "tags" : [ "Blueprint Model Catalog API" ],
207         "summary" : "Enrich a Blueprint Model",
208         "description" : "Enriches the attached CBA and returns the enriched CBA zip file in the response. The enrichment process will complete the package by providing all the definition of types used.",
209         "operationId" : "BlueprintModelController_enrichBlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
210         "consumes" : [ "multipart/form-data" ],
211         "produces" : [ "application/json" ],
212         "parameters" : [ {
213           "in" : "body",
214           "name" : "file",
215           "description" : "CBA zip file to be uploaded (example: cba_unenriched.zip)",
216           "required" : true,
217           "schema" : {
218             "$ref" : "#/definitions/FilePart"
219           }
220         } ],
221         "responses" : {
222           "200" : {
223             "description" : "successful operation",
224             "schema" : {
225               "type" : "object"
226             }
227           }
228         }
229       }
230     },
231     "/api/v1/blueprint-model/enrichandpublish" : {
232       "post" : {
233         "tags" : [ "Blueprint Model Catalog API" ],
234         "summary" : "Enrich and publish a Blueprint Model",
235         "description" : "Enriches the attached CBA, validates it and saves it in CDS if validation was successful.",
236         "operationId" : "BlueprintModelController_enrichAndPubishlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
237         "consumes" : [ "multipart/form-data" ],
238         "produces" : [ "application/json" ],
239         "parameters" : [ {
240           "in" : "body",
241           "name" : "file",
242           "description" : "Unenriched CBA zip file to be uploaded (example: cba_unenriched.zip)",
243           "required" : true,
244           "schema" : {
245             "$ref" : "#/definitions/FilePart"
246           }
247         } ],
248         "responses" : {
249           "200" : {
250             "description" : "OK",
251             "schema" : {
252               "type" : "object"
253             }
254           },
255           "503" : {
256             "description" : "Service Unavailable"
257           }
258         }
259       }
260     },
261     "/api/v1/blueprint-model/meta-data/{keyword}" : {
262       "get" : {
263         "tags" : [ "Blueprint Model Catalog API" ],
264         "summary" : "Search for Blueprints by a Keyword",
265         "description" : "Lists all blueprint models by a matching keyword in any of the meta-data of the blueprint models. Blueprint models are just returned if a whole keyword is matching, not just parts of it. Not case-sensitive. Used by CDS UI.",
266         "operationId" : "BlueprintModelController_allBlueprintModelMetaData_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
267         "produces" : [ "application/json" ],
268         "parameters" : [ {
269           "name" : "keyword",
270           "in" : "path",
271           "description" : "Keyword to search for in blueprint model meta-data",
272           "required" : true,
273           "type" : "string",
274           "x-example" : "pnf_netconf"
275         } ],
276         "responses" : {
277           "200" : {
278             "description" : "successful operation",
279             "schema" : {
280               "type" : "object"
281             }
282           }
283         }
284       }
285     },
286     "/api/v1/blueprint-model/name/{name}/version/{version}" : {
287       "delete" : {
288         "tags" : [ "Blueprint Model Catalog API" ],
289         "summary" : "Delete a Blueprint Model by Name",
290         "description" : "Deletes a blueprint model identified by its name and version from CDS.",
291         "operationId" : "BlueprintModelController_deleteBlueprintByName_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
292         "parameters" : [ {
293           "name" : "name",
294           "in" : "path",
295           "description" : "Name of the blueprint model",
296           "required" : true,
297           "type" : "string",
298           "x-example" : "pnf_netconf"
299         }, {
300           "name" : "version",
301           "in" : "path",
302           "description" : "Version of the blueprint model",
303           "required" : true,
304           "type" : "string",
305           "x-example" : "1.0.0"
306         } ],
307         "responses" : {
308           "200" : {
309             "description" : "successful operation",
310             "schema" : {
311               "type" : "object"
312             }
313           }
314         }
315       }
316     },
317     "/api/v1/blueprint-model/paged" : {
318       "get" : {
319         "tags" : [ "Blueprint Model Catalog API" ],
320         "summary" : "Get Blueprints ordered",
321         "description" : "Lists all blueprint models which are saved in CDS in an ordered mode.",
322         "operationId" : "BlueprintModelController_allBlueprintModelPaged_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
323         "produces" : [ "application/json" ],
324         "parameters" : [ {
325           "name" : "limit",
326           "in" : "query",
327           "description" : "Maximum number of returned blueprint models",
328           "required" : false,
329           "type" : "integer",
330           "default" : 20,
331           "format" : "int32"
332         }, {
333           "name" : "offset",
334           "in" : "query",
335           "description" : "Offset",
336           "required" : false,
337           "type" : "integer",
338           "default" : 0,
339           "format" : "int32"
340         }, {
341           "name" : "sort",
342           "in" : "query",
343           "description" : "Order of returned blueprint models",
344           "required" : false,
345           "type" : "string",
346           "default" : "DATE",
347           "enum" : [ "DATE", "NAME", "VERSION" ]
348         }, {
349           "name" : "sortType",
350           "in" : "query",
351           "description" : "Ascend or descend ordering",
352           "required" : false,
353           "type" : "string",
354           "default" : "ASC"
355         } ],
356         "responses" : {
357           "200" : {
358             "description" : "successful operation",
359             "schema" : {
360               "$ref" : "#/definitions/PageBlueprintModelSearch"
361             }
362           }
363         }
364       }
365     },
366     "/api/v1/blueprint-model/paged/meta-data/{keyword}" : {
367       "get" : {
368         "tags" : [ "Blueprint Model Catalog API" ],
369         "summary" : "Search for Blueprints by a Keyword in an ordered mode",
370         "description" : "Lists all blueprint models by a matching keyword in any of the meta-data of the blueprint models in an ordered mode. Blueprint models are just returned if a whole keyword is matching, not just parts of it. Not case-sensitive. Used by CDS UI.",
371         "operationId" : "BlueprintModelController_allBlueprintModelMetaDataPaged_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
372         "produces" : [ "application/json" ],
373         "parameters" : [ {
374           "name" : "keyword",
375           "in" : "path",
376           "description" : "Keyword to search for in blueprint model meta-data",
377           "required" : true,
378           "type" : "string",
379           "x-example" : "pnf_netconf"
380         }, {
381           "name" : "limit",
382           "in" : "query",
383           "description" : "Maximum number of returned blueprint models",
384           "required" : false,
385           "type" : "integer",
386           "default" : 20,
387           "format" : "int32"
388         }, {
389           "name" : "offset",
390           "in" : "query",
391           "description" : "Offset",
392           "required" : false,
393           "type" : "integer",
394           "default" : 0,
395           "format" : "int32"
396         }, {
397           "name" : "sort",
398           "in" : "query",
399           "description" : "Order of returned blueprint models",
400           "required" : false,
401           "type" : "string",
402           "default" : "DATE",
403           "enum" : [ "DATE", "NAME", "VERSION" ]
404         }, {
405           "name" : "sortType",
406           "in" : "query",
407           "description" : "Ascend or descend ordering",
408           "required" : false,
409           "type" : "string",
410           "default" : "ASC"
411         } ],
412         "responses" : {
413           "200" : {
414             "description" : "successful operation",
415             "schema" : {
416               "$ref" : "#/definitions/PageBlueprintModelSearch"
417             }
418           }
419         }
420       }
421     },
422     "/api/v1/blueprint-model/publish" : {
423       "post" : {
424         "tags" : [ "Blueprint Model Catalog API" ],
425         "summary" : "Publish a Blueprint Model",
426         "description" : "Validates the attached CBA file and saves it in CDS if validation was successful. CBA needs to be already enriched.",
427         "operationId" : "BlueprintModelController_publishBlueprint_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
428         "consumes" : [ "multipart/form-data" ],
429         "produces" : [ "application/json" ],
430         "parameters" : [ {
431           "in" : "body",
432           "name" : "file",
433           "description" : "Enriched CBA zip file to be uploaded (example: cba_enriched.zip)",
434           "required" : true,
435           "schema" : {
436             "$ref" : "#/definitions/FilePart"
437           }
438         } ],
439         "responses" : {
440           "200" : {
441             "description" : "successful operation",
442             "schema" : {
443               "type" : "object"
444             }
445           }
446         }
447       }
448     },
449     "/api/v1/blueprint-model/search/{tags}" : {
450       "get" : {
451         "tags" : [ "Blueprint Model Catalog API" ],
452         "summary" : "Search for a Blueprint by Tag",
453         "description" : "Searches for all blueprint models which contain the specified input parameter in their tags. Blueprint models which contain just parts of the searched word in their tags are also returned.",
454         "operationId" : "BlueprintModelController_searchBlueprintModels_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
455         "produces" : [ "application/json" ],
456         "parameters" : [ {
457           "name" : "tags",
458           "in" : "path",
459           "description" : "Tag to search for",
460           "required" : true,
461           "type" : "string",
462           "x-example" : "test"
463         } ],
464         "responses" : {
465           "200" : {
466             "description" : "successful operation",
467             "schema" : {
468               "type" : "object"
469             }
470           }
471         }
472       }
473     },
474     "/api/v1/blueprint-model/workflow-spec" : {
475       "post" : {
476         "tags" : [ "Blueprint Model Catalog API" ],
477         "summary" : "Get Workflow Specification",
478         "description" : "Get the workflow of a blueprint identified by Blueprint and workflow name. Inputs, outputs and data types of workflow is returned.",
479         "operationId" : "BlueprintModelController_workflowSpec_POST.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
480         "consumes" : [ "application/json" ],
481         "produces" : [ "application/json" ],
482         "parameters" : [ {
483           "in" : "body",
484           "name" : "body",
485           "required" : false,
486           "schema" : {
487             "$ref" : "#/definitions/WorkFlowSpecRequest"
488           }
489         } ],
490         "responses" : {
491           "200" : {
492             "description" : "successful operation",
493             "schema" : {
494               "type" : "object"
495             }
496           }
497         }
498       }
499     },
500     "/api/v1/blueprint-model/workflows/blueprint-name/{name}/version/{version}" : {
501       "get" : {
502         "tags" : [ "Blueprint Model Catalog API" ],
503         "summary" : "Get Workflows of a Blueprint",
504         "description" : "Get all available workflows of a Blueprint identified by its name and version.",
505         "operationId" : "BlueprintModelController_getWorkflowList_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
506         "produces" : [ "application/json" ],
507         "parameters" : [ {
508           "name" : "name",
509           "in" : "path",
510           "description" : "Name of the blueprint model",
511           "required" : true,
512           "type" : "string",
513           "x-example" : "pnf_netconf"
514         }, {
515           "name" : "version",
516           "in" : "path",
517           "description" : "Version of the blueprint model",
518           "required" : true,
519           "type" : "string",
520           "x-example" : "1.0.0"
521         } ],
522         "responses" : {
523           "200" : {
524             "description" : "successful operation",
525             "schema" : {
526               "type" : "object"
527             }
528           }
529         }
530       }
531     },
532     "/api/v1/blueprint-model/{id}" : {
533       "get" : {
534         "tags" : [ "Blueprint Model Catalog API" ],
535         "summary" : "Get a Blueprint Model by ID",
536         "description" : "Get meta-data of a blueprint model by its internally created ID.",
537         "operationId" : "BlueprintModelController_getBlueprintModel_GET.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
538         "produces" : [ "application/json" ],
539         "parameters" : [ {
540           "name" : "id",
541           "in" : "path",
542           "description" : "ID of the blueprint model to search for",
543           "required" : true,
544           "type" : "string",
545           "x-example" : "67ec1f96-ab55-4b81-aff9-23ee0ed1d7a4"
546         } ],
547         "responses" : {
548           "200" : {
549             "description" : "OK",
550             "schema" : {
551               "type" : "object"
552             }
553           },
554           "404" : {
555             "description" : "Not Found"
556           }
557         }
558       },
559       "delete" : {
560         "tags" : [ "Blueprint Model Catalog API" ],
561         "summary" : "Delete a Blueprint Model by ID",
562         "description" : "Delete a blueprint model by its ID. ID is the internally created ID of blueprint, not the name of blueprint.",
563         "operationId" : "BlueprintModelController_deleteBlueprint_DELETE.org.onap.ccsdk.cds.blueprintsprocessor.designer.api",
564         "parameters" : [ {
565           "name" : "id",
566           "in" : "path",
567           "description" : "ID of the blueprint model to delete",
568           "required" : true,
569           "type" : "string",
570           "x-example" : "67ec1f96-ab55-4b81-aff9-23ee0ed1d7a4"
571         } ],
572         "responses" : {
573           "200" : {
574             "description" : "OK",
575             "schema" : {
576               "type" : "object"
577             }
578           },
579           "404" : {
580             "description" : "RESOURCE_NOT_FOUND"
581           }
582         }
583       }
584     }
585   },
586   "securityDefinitions" : {
587     "Basic Auth" : {
588       "type" : "basic"
589     }
590   },
591   "definitions" : {
592     "BlueprintModelSearch" : {
593       "type" : "object",
594       "required" : [ "artifactName", "artifactVersion", "createdDate", "id", "published", "tags", "updatedBy" ],
595       "properties" : {
596         "id" : {
597           "type" : "string",
598           "example" : "658f9a48-7f54-41ba-ae18-c69f26f3dc94",
599           "description" : "ID of Blueprint model, is automatically created by CDS"
600         },
601         "artifactUUId" : {
602           "type" : "string",
603           "example" : null,
604           "description" : "Artifact UUID, usually null"
605         },
606         "artifactType" : {
607           "type" : "string",
608           "example" : "SDNC_MODEL",
609           "description" : "Artifact Type, usually null"
610         },
611         "artifactVersion" : {
612           "type" : "string",
613           "example" : "1.0.0",
614           "description" : "Artifact Version, usually 1.0.0"
615         },
616         "artifactDescription" : {
617           "type" : "string",
618           "example" : "",
619           "description" : "Artifact Description, usually empty"
620         },
621         "internalVersion" : {
622           "type" : "integer",
623           "format" : "int32",
624           "example" : null,
625           "description" : "Internal Version of CBA, usually null"
626         },
627         "createdDate" : {
628           "type" : "string",
629           "format" : "date-time",
630           "example" : "2020-11-19T10:34:56.000Z",
631           "description" : "Datetime of the creation of CBA in CDS"
632         },
633         "artifactName" : {
634           "type" : "string",
635           "example" : "pnf_netconf",
636           "description" : "Artifact Name, defined in Metadata"
637         },
638         "published" : {
639           "type" : "string",
640           "example" : "pnf_netconf",
641           "description" : "Artifact Name, defined in Metadata"
642         },
643         "updatedBy" : {
644           "type" : "string",
645           "example" : "Deutsche Telekom AG",
646           "description" : "Name of publisher, defined in Metadata"
647         },
648         "tags" : {
649           "type" : "string",
650           "example" : "test",
651           "description" : "Tags to identify the CBA, defined in Metadata"
652         }
653       }
654     },
655     "BootstrapRequest" : {
656       "type" : "object",
657       "required" : [ "loadCBA", "loadModelType", "loadResourceDictionary" ],
658       "properties" : {
659         "loadModelType" : {
660           "type" : "boolean",
661           "example" : true,
662           "description" : "Specifies if default model types should be loaded"
663         },
664         "loadResourceDictionary" : {
665           "type" : "boolean",
666           "example" : true,
667           "description" : "Specifies if default data dictionaries should be loaded"
668         },
669         "loadCBA" : {
670           "type" : "boolean",
671           "example" : true,
672           "description" : "Specifies if default blueprint models should be loaded"
673         }
674       }
675     },
676     "FilePart" : {
677       "type" : "object"
678     },
679     "Page" : {
680       "type" : "object",
681       "properties" : {
682         "totalPages" : {
683           "type" : "integer",
684           "format" : "int32"
685         },
686         "totalElements" : {
687           "type" : "integer",
688           "format" : "int64"
689         },
690         "size" : {
691           "type" : "integer",
692           "format" : "int32"
693         },
694         "content" : {
695           "type" : "array",
696           "items" : {
697             "type" : "object"
698           }
699         },
700         "number" : {
701           "type" : "integer",
702           "format" : "int32"
703         },
704         "sort" : {
705           "$ref" : "#/definitions/Sort"
706         },
707         "last" : {
708           "type" : "boolean"
709         },
710         "numberOfElements" : {
711           "type" : "integer",
712           "format" : "int32"
713         },
714         "pageable" : {
715           "$ref" : "#/definitions/Pageable"
716         },
717         "first" : {
718           "type" : "boolean"
719         },
720         "empty" : {
721           "type" : "boolean"
722         }
723       }
724     },
725     "PageBlueprintModelSearch" : {
726       "type" : "object",
727       "properties" : {
728         "totalPages" : {
729           "type" : "integer",
730           "format" : "int32"
731         },
732         "totalElements" : {
733           "type" : "integer",
734           "format" : "int64"
735         },
736         "size" : {
737           "type" : "integer",
738           "format" : "int32"
739         },
740         "content" : {
741           "type" : "array",
742           "items" : {
743             "$ref" : "#/definitions/BlueprintModelSearch"
744           }
745         },
746         "number" : {
747           "type" : "integer",
748           "format" : "int32"
749         },
750         "sort" : {
751           "$ref" : "#/definitions/Sort"
752         },
753         "last" : {
754           "type" : "boolean"
755         },
756         "numberOfElements" : {
757           "type" : "integer",
758           "format" : "int32"
759         },
760         "pageable" : {
761           "$ref" : "#/definitions/Pageable"
762         },
763         "first" : {
764           "type" : "boolean"
765         },
766         "empty" : {
767           "type" : "boolean"
768         }
769       }
770     },
771     "Pageable" : {
772       "type" : "object",
773       "properties" : {
774         "offset" : {
775           "type" : "integer",
776           "format" : "int64"
777         },
778         "sort" : {
779           "$ref" : "#/definitions/Sort"
780         },
781         "paged" : {
782           "type" : "boolean"
783         },
784         "unpaged" : {
785           "type" : "boolean"
786         },
787         "pageNumber" : {
788           "type" : "integer",
789           "format" : "int32"
790         },
791         "pageSize" : {
792           "type" : "integer",
793           "format" : "int32"
794         }
795       }
796     },
797     "Sort" : {
798       "type" : "object",
799       "properties" : {
800         "unsorted" : {
801           "type" : "boolean"
802         },
803         "sorted" : {
804           "type" : "boolean"
805         },
806         "empty" : {
807           "type" : "boolean"
808         }
809       }
810     },
811     "WorkFlowSpecRequest" : {
812       "type" : "object",
813       "required" : [ "blueprintName", "workflowName" ],
814       "properties" : {
815         "blueprintName" : {
816           "type" : "string",
817           "example" : "pnf_netconf",
818           "description" : "Name of the BLueprint"
819         },
820         "version" : {
821           "type" : "string"
822         },
823         "returnContent" : {
824           "type" : "string"
825         },
826         "workflowName" : {
827           "type" : "string",
828           "example" : "config-assign",
829           "description" : "Name of the Workflow"
830         },
831         "specType" : {
832           "type" : "string"
833         }
834       }
835     }
836   }
837 }