"schema" : {
"type" : "string"
}
+ }, {
+ "in" : "query",
+ "name" : "excludePrimitives",
+ "schema" : {
+ "type" : "string",
+ "default" : "false"
+ }
} ],
"responses" : {
"200" : {
"tags" : [ "SDCE-2 APIs" ]
}
},
+ "/v1/catalog/customToscaFunctions/{type}" : {
+ "get" : {
+ "description" : "Retrieve default custom tosca functions values from the configuration file based on type",
+ "operationId" : "getDefaultCustomToscaFunctionValues",
+ "parameters" : [ {
+ "in" : "header",
+ "name" : "USER_ID",
+ "schema" : {
+ "type" : "string"
+ }
+ }, {
+ "in" : "path",
+ "name" : "type",
+ "required" : true,
+ "schema" : {
+ "type" : "string",
+ "enum" : [ "ALL", "CUSTOM", "GET_INPUT" ]
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Returns default custom tosca functions values from configuration file Ok"
+ },
+ "404" : {
+ "description" : "Default custom tosca functions not found"
+ },
+ "500" : {
+ "description" : "Internal Server Error"
+ },
+ "default" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/User"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary" : "Retrieve all custom tosca functions",
+ "tags" : [ "SDCE-2 APIs" ]
+ }
+ },
+ "/v1/catalog/data-types/{dataTypeId}" : {
+ "delete" : {
+ "operationId" : "deleteDatatype",
+ "parameters" : [ {
+ "description" : "The data type id",
+ "in" : "path",
+ "name" : "dataTypeId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "default" : {
+ "content" : {
+ "*/*" : { }
+ },
+ "description" : "default response"
+ }
+ },
+ "servers" : [ {
+ "url" : "/sdc2/rest",
+ "variables" : { }
+ } ],
+ "tags" : [ "SDCE-2 APIs" ]
+ }
+ },
+ "/v1/catalog/data-types/{dataTypeId}/{propertyId}" : {
+ "delete" : {
+ "operationId" : "deleteProperty",
+ "parameters" : [ {
+ "description" : "The data type id",
+ "in" : "path",
+ "name" : "dataTypeId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ }, {
+ "description" : "The property id to delete",
+ "in" : "path",
+ "name" : "propertyId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "default" : {
+ "content" : {
+ "*/*" : { }
+ },
+ "description" : "default response"
+ }
+ },
+ "servers" : [ {
+ "url" : "/sdc2/rest",
+ "variables" : { }
+ } ],
+ "tags" : [ "SDCE-2 APIs" ]
+ }
+ },
+ "/v1/catalog/data-types/{dataTypeName}/models" : {
+ "get" : {
+ "description" : "Get models for type",
+ "operationId" : "getDataTypeModels",
+ "parameters" : [ {
+ "in" : "path",
+ "name" : "dataTypeName",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "dataTypeModels"
+ },
+ "400" : {
+ "description" : "Invalid content / Missing content"
+ },
+ "403" : {
+ "description" : "Restricted operation"
+ },
+ "404" : {
+ "description" : "Data type not found"
+ },
+ "default" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "allowedMethods" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "cookies" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : {
+ "comment" : {
+ "type" : "string"
+ },
+ "domain" : {
+ "type" : "string"
+ },
+ "expiry" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "httpOnly" : {
+ "type" : "boolean"
+ },
+ "maxAge" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "secure" : {
+ "type" : "boolean"
+ },
+ "value" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ }
+ },
+ "date" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "entity" : {
+ "type" : "object"
+ },
+ "entityTag" : {
+ "type" : "object",
+ "properties" : {
+ "value" : {
+ "type" : "string"
+ },
+ "weak" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "headers" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object"
+ }
+ }
+ },
+ "language" : {
+ "type" : "object",
+ "properties" : {
+ "country" : {
+ "type" : "string"
+ },
+ "displayCountry" : {
+ "type" : "string"
+ },
+ "displayLanguage" : {
+ "type" : "string"
+ },
+ "displayName" : {
+ "type" : "string"
+ },
+ "displayScript" : {
+ "type" : "string"
+ },
+ "displayVariant" : {
+ "type" : "string"
+ },
+ "extensionKeys" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "iso3Country" : {
+ "type" : "string"
+ },
+ "iso3Language" : {
+ "type" : "string"
+ },
+ "language" : {
+ "type" : "string"
+ },
+ "script" : {
+ "type" : "string"
+ },
+ "unicodeLocaleAttributes" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "unicodeLocaleKeys" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "variant" : {
+ "type" : "string"
+ }
+ }
+ },
+ "lastModified" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "length" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "links" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "params" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "rel" : {
+ "type" : "string"
+ },
+ "rels" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "title" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "uri" : {
+ "type" : "string",
+ "format" : "uri"
+ },
+ "uriBuilder" : {
+ "type" : "object"
+ }
+ }
+ },
+ "uniqueItems" : true
+ },
+ "location" : {
+ "type" : "string",
+ "format" : "uri"
+ },
+ "mediaType" : {
+ "type" : "object",
+ "properties" : {
+ "parameters" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "subtype" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "wildcardSubtype" : {
+ "type" : "boolean"
+ },
+ "wildcardType" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "metadata" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object"
+ }
+ }
+ },
+ "status" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "statusInfo" : {
+ "type" : "object",
+ "properties" : {
+ "family" : {
+ "type" : "string",
+ "enum" : [ "INFORMATIONAL", "SUCCESSFUL", "REDIRECTION", "CLIENT_ERROR", "SERVER_ERROR", "OTHER" ]
+ },
+ "reasonPhrase" : {
+ "type" : "string"
+ },
+ "statusCode" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "stringHeaders" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "servers" : [ {
+ "url" : "/sdc2/rest",
+ "variables" : { }
+ } ],
+ "summary" : "Returns list of models for type",
+ "tags" : [ "SDCE-2 APIs" ]
+ }
+ },
"/v1/catalog/data-types/{dataTypeUid}" : {
"get" : {
"description" : "Get data types",
} ],
"summary" : "Create a property in the given data type",
"tags" : [ "SDCE-2 APIs" ]
+ },
+ "put" : {
+ "description" : "Update a property in the given data type",
+ "operationId" : "updateProperty",
+ "parameters" : [ {
+ "description" : "The data type id",
+ "in" : "path",
+ "name" : "id",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PropertyDefinitionDto"
+ }
+ }
+ },
+ "description" : "Property to update",
+ "required" : true
+ },
+ "responses" : {
+ "201" : {
+ "description" : "Property updated in the data type"
+ },
+ "400" : {
+ "description" : "Invalid payload"
+ },
+ "403" : {
+ "description" : "Restricted operation"
+ },
+ "404" : {
+ "description" : "Data type not found"
+ },
+ "default" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PropertyDefinitionDto"
+ }
+ }
+ }
+ }
+ },
+ "servers" : [ {
+ "url" : "/sdc2/rest",
+ "variables" : { }
+ } ],
+ "summary" : "Update a property in the given data type",
+ "tags" : [ "SDCE-2 APIs" ]
}
},
"/v1/catalog/dataTypes" : {
"tags" : [ "SDCE-2 APIs" ]
}
},
+ "/v1/catalog/downloadDataType" : {
+ "get" : {
+ "description" : "Get data types",
+ "operationId" : "downloadDataType",
+ "parameters" : [ {
+ "in" : "header",
+ "name" : "USER_ID",
+ "schema" : {
+ "type" : "string"
+ }
+ }, {
+ "description" : "dataTypeId",
+ "in" : "query",
+ "name" : "dataTypeId",
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "allDataTypes"
+ },
+ "400" : {
+ "description" : "Invalid content / Missing content"
+ },
+ "403" : {
+ "description" : "Restricted operation"
+ },
+ "404" : {
+ "description" : "Data types not found"
+ },
+ "default" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "allowedMethods" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "cookies" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : {
+ "comment" : {
+ "type" : "string"
+ },
+ "domain" : {
+ "type" : "string"
+ },
+ "expiry" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "httpOnly" : {
+ "type" : "boolean"
+ },
+ "maxAge" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "secure" : {
+ "type" : "boolean"
+ },
+ "value" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ }
+ },
+ "date" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "entity" : {
+ "type" : "object"
+ },
+ "entityTag" : {
+ "type" : "object",
+ "properties" : {
+ "value" : {
+ "type" : "string"
+ },
+ "weak" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "headers" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object"
+ }
+ }
+ },
+ "language" : {
+ "type" : "object",
+ "properties" : {
+ "country" : {
+ "type" : "string"
+ },
+ "displayCountry" : {
+ "type" : "string"
+ },
+ "displayLanguage" : {
+ "type" : "string"
+ },
+ "displayName" : {
+ "type" : "string"
+ },
+ "displayScript" : {
+ "type" : "string"
+ },
+ "displayVariant" : {
+ "type" : "string"
+ },
+ "extensionKeys" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "iso3Country" : {
+ "type" : "string"
+ },
+ "iso3Language" : {
+ "type" : "string"
+ },
+ "language" : {
+ "type" : "string"
+ },
+ "script" : {
+ "type" : "string"
+ },
+ "unicodeLocaleAttributes" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "unicodeLocaleKeys" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "variant" : {
+ "type" : "string"
+ }
+ }
+ },
+ "lastModified" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "length" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "links" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "params" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "rel" : {
+ "type" : "string"
+ },
+ "rels" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "title" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "uri" : {
+ "type" : "string",
+ "format" : "uri"
+ },
+ "uriBuilder" : {
+ "type" : "object"
+ }
+ }
+ },
+ "uniqueItems" : true
+ },
+ "location" : {
+ "type" : "string",
+ "format" : "uri"
+ },
+ "mediaType" : {
+ "type" : "object",
+ "properties" : {
+ "parameters" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "subtype" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "wildcardSubtype" : {
+ "type" : "boolean"
+ },
+ "wildcardType" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "metadata" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object"
+ }
+ }
+ },
+ "status" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "statusInfo" : {
+ "type" : "object",
+ "properties" : {
+ "family" : {
+ "type" : "string",
+ "enum" : [ "INFORMATIONAL", "SUCCESSFUL", "REDIRECTION", "CLIENT_ERROR", "SERVER_ERROR", "OTHER" ]
+ },
+ "reasonPhrase" : {
+ "type" : "string"
+ },
+ "statusCode" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "stringHeaders" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "servers" : [ {
+ "url" : "/sdc2/rest",
+ "variables" : { }
+ } ],
+ "summary" : "Returns all data types from all models",
+ "tags" : [ "SDCE-2 APIs" ]
+ }
+ },
"/v1/catalog/gab/searchFor" : {
"post" : {
"description" : "Search json paths inside the yaml",
"tags" : [ "SDCE-2 APIs" ]
}
},
+ "/v1/catalog/interface-types/{interfaceTypeId}" : {
+ "delete" : {
+ "operationId" : "deleteInterfaceType",
+ "parameters" : [ {
+ "description" : "The interface type id",
+ "in" : "path",
+ "name" : "interfaceTypeId",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "default" : {
+ "content" : {
+ "*/*" : { }
+ },
+ "description" : "default response"
+ }
+ },
+ "servers" : [ {
+ "url" : "/sdc2/rest",
+ "variables" : { }
+ } ],
+ "tags" : [ "SDCE-2 APIs" ]
+ }
+ },
"/v1/catalog/interfaceLifecycleTypes" : {
"get" : {
"description" : "Get interface lifecycle types",
"400" : {
"description" : "Invalid content / Missing content"
},
+ "401" : {
+ "description" : "Unauthorized Tenant"
+ },
"403" : {
"description" : "Restricted operation"
},
"400" : {
"description" : "Invalid content / Missing content"
},
+ "401" : {
+ "description" : "Unauthorized Tenant"
+ },
"403" : {
"description" : "Restricted operation"
},
"url" : "/sdc2/rest",
"variables" : { }
} ],
- "summary" : "Returns one toggleable feature state",
+ "summary" : "Returns one toggleable feature state",
+ "tags" : [ "SDCE-2 APIs" ]
+ }
+ },
+ "/v1/catalog/toggle/{featureName}/state/{state}" : {
+ "put" : {
+ "description" : "Update feature toggle state",
+ "operationId" : "updateFeatureState",
+ "parameters" : [ {
+ "in" : "path",
+ "name" : "featureName",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ }, {
+ "in" : "path",
+ "name" : "state",
+ "required" : true,
+ "schema" : {
+ "type" : "boolean"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Success"
+ },
+ "400" : {
+ "description" : "Invalid content / Missing content"
+ },
+ "403" : {
+ "description" : "Restricted operation"
+ },
+ "404" : {
+ "description" : "Toggleable features not found"
+ },
+ "default" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "allowedMethods" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "cookies" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : {
+ "comment" : {
+ "type" : "string"
+ },
+ "domain" : {
+ "type" : "string"
+ },
+ "expiry" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "httpOnly" : {
+ "type" : "boolean"
+ },
+ "maxAge" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "path" : {
+ "type" : "string"
+ },
+ "secure" : {
+ "type" : "boolean"
+ },
+ "value" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ }
+ },
+ "date" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "entity" : {
+ "type" : "object"
+ },
+ "entityTag" : {
+ "type" : "object",
+ "properties" : {
+ "value" : {
+ "type" : "string"
+ },
+ "weak" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "headers" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object"
+ }
+ }
+ },
+ "language" : {
+ "type" : "object",
+ "properties" : {
+ "country" : {
+ "type" : "string"
+ },
+ "displayCountry" : {
+ "type" : "string"
+ },
+ "displayLanguage" : {
+ "type" : "string"
+ },
+ "displayName" : {
+ "type" : "string"
+ },
+ "displayScript" : {
+ "type" : "string"
+ },
+ "displayVariant" : {
+ "type" : "string"
+ },
+ "extensionKeys" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "iso3Country" : {
+ "type" : "string"
+ },
+ "iso3Language" : {
+ "type" : "string"
+ },
+ "language" : {
+ "type" : "string"
+ },
+ "script" : {
+ "type" : "string"
+ },
+ "unicodeLocaleAttributes" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "unicodeLocaleKeys" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ },
+ "uniqueItems" : true
+ },
+ "variant" : {
+ "type" : "string"
+ }
+ }
+ },
+ "lastModified" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "length" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "links" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "params" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "rel" : {
+ "type" : "string"
+ },
+ "rels" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "title" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "uri" : {
+ "type" : "string",
+ "format" : "uri"
+ },
+ "uriBuilder" : {
+ "type" : "object"
+ }
+ }
+ },
+ "uniqueItems" : true
+ },
+ "location" : {
+ "type" : "string",
+ "format" : "uri"
+ },
+ "mediaType" : {
+ "type" : "object",
+ "properties" : {
+ "parameters" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "subtype" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "wildcardSubtype" : {
+ "type" : "boolean"
+ },
+ "wildcardType" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "metadata" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object"
+ }
+ }
+ },
+ "status" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "statusInfo" : {
+ "type" : "object",
+ "properties" : {
+ "family" : {
+ "type" : "string",
+ "enum" : [ "INFORMATIONAL", "SUCCESSFUL", "REDIRECTION", "CLIENT_ERROR", "SERVER_ERROR", "OTHER" ]
+ },
+ "reasonPhrase" : {
+ "type" : "string"
+ },
+ "statusCode" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "stringHeaders" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "servers" : [ {
+ "url" : "/sdc2/rest",
+ "variables" : { }
+ } ],
+ "summary" : "Update feature status",
"tags" : [ "SDCE-2 APIs" ]
}
},
- "/v1/catalog/toggle/{featureName}/state/{state}" : {
- "put" : {
- "description" : "Update feature toggle state",
- "operationId" : "updateFeatureState",
+ "/v1/catalog/upload/resource/import" : {
+ "post" : {
+ "description" : "Import node types from a TOSCA yaml, along with the types metadata",
+ "operationId" : "bulkImport",
"parameters" : [ {
- "in" : "path",
- "name" : "featureName",
- "required" : true,
+ "in" : "header",
+ "name" : "USER_ID",
"schema" : {
"type" : "string"
}
- }, {
- "in" : "path",
- "name" : "state",
- "required" : true,
- "schema" : {
- "type" : "boolean"
- }
} ],
+ "requestBody" : {
+ "content" : {
+ "multipart/form-data" : {
+ "schema" : {
+ "type" : "object",
+ "properties" : {
+ "createNewVersion" : {
+ "type" : "boolean",
+ "default" : true,
+ "description" : "The model name to associate the node types to"
+ },
+ "nodeTypeMetadataJson" : {
+ "$ref" : "#/components/schemas/NodeTypesMetadataList"
+ },
+ "nodeTypesYaml" : {
+ "type" : "object",
+ "description" : "The node types TOSCA definition yaml"
+ }
+ },
+ "required" : [ "nodeTypeMetadataJson", "nodeTypesYaml" ]
+ }
+ }
+ }
+ },
"responses" : {
- "200" : {
- "description" : "Success"
+ "201" : {
+ "description" : "Resources created"
},
"400" : {
"description" : "Invalid content / Missing content"
"403" : {
"description" : "Restricted operation"
},
- "404" : {
- "description" : "Toggleable features not found"
+ "409" : {
+ "description" : "One of the resources already exists"
},
"default" : {
"content" : {
"url" : "/sdc2/rest",
"variables" : { }
} ],
- "summary" : "Update feature status",
+ "summary" : "Creates node types from a TOSCA yaml file",
"tags" : [ "SDCE-2 APIs" ]
}
},
- "/v1/catalog/upload/resource/import" : {
+ "/v1/catalog/upload/{resourceAuthority}" : {
"post" : {
- "description" : "Import node types from a TOSCA yaml, along with the types metadata",
- "operationId" : "bulkImport",
+ "description" : "Create Resource from yaml",
+ "operationId" : "uploadMultipart",
"parameters" : [ {
+ "description" : "validValues: normative-resource / user-resource",
+ "in" : "path",
+ "name" : "resourceAuthority",
+ "required" : true,
+ "schema" : {
+ "type" : "string",
+ "enum" : [ "multipart", "user-resource", "user-resource-ui-import" ]
+ }
+ }, {
"in" : "header",
"name" : "USER_ID",
"schema" : {
"type" : "string"
}
+ }, {
+ "in" : "query",
+ "name" : "createNewVersion",
+ "schema" : {
+ "type" : "boolean",
+ "default" : true
+ }
} ],
"requestBody" : {
"content" : {
"schema" : {
"type" : "object",
"properties" : {
- "createNewVersion" : {
- "type" : "boolean",
- "default" : true,
- "description" : "The model name to associate the node types to"
- },
- "nodeTypeMetadataJson" : {
- "$ref" : "#/components/schemas/NodeTypesMetadataList"
+ "resourceMetadata" : {
+ "type" : "string",
+ "description" : "resourceMetadata"
},
- "nodeTypesYaml" : {
- "type" : "object",
- "description" : "The node types TOSCA definition yaml"
+ "resourceZip" : {
+ "$ref" : "#/components/schemas/FormDataContentDisposition"
}
- },
- "required" : [ "nodeTypeMetadataJson", "nodeTypesYaml" ]
+ }
}
}
}
},
"responses" : {
"201" : {
- "description" : "Resources created"
+ "description" : "Resource created"
},
"400" : {
"description" : "Invalid content / Missing content"
"description" : "Restricted operation"
},
"409" : {
- "description" : "One of the resources already exists"
+ "description" : "Resource already exist"
},
"default" : {
"content" : {
"url" : "/sdc2/rest",
"variables" : { }
} ],
- "summary" : "Creates node types from a TOSCA yaml file",
+ "summary" : "Returns created resource",
"tags" : [ "SDCE-2 APIs" ]
}
},
- "/v1/catalog/upload/{resourceAuthority}" : {
+ "/v1/catalog/uploadType/annotationtypes" : {
"post" : {
- "description" : "Create Resource from yaml",
- "operationId" : "uploadMultipart",
+ "description" : "Create AnnotationTypes from yaml",
+ "operationId" : "uploadAnnotationTypes",
"parameters" : [ {
- "description" : "validValues: normative-resource / user-resource",
- "in" : "path",
- "name" : "resourceAuthority",
- "required" : true,
- "schema" : {
- "type" : "string",
- "enum" : [ "multipart", "user-resource", "user-resource-ui-import" ]
- }
- }, {
"in" : "header",
"name" : "USER_ID",
"schema" : {
"type" : "string"
}
- }, {
- "in" : "query",
- "name" : "createNewVersion",
- "schema" : {
- "type" : "boolean",
- "default" : true
- }
} ],
"requestBody" : {
"content" : {
"schema" : {
"type" : "object",
"properties" : {
- "resourceMetadata" : {
+ "annotationTypesZip" : {
"type" : "string",
- "description" : "resourceMetadata"
- },
- "resourceZip" : {
- "$ref" : "#/components/schemas/FormDataContentDisposition"
+ "format" : "binary",
+ "description" : "FileInputStream"
}
}
}
},
"responses" : {
"201" : {
- "description" : "Resource created"
+ "description" : "annotation types created"
},
"400" : {
"description" : "Invalid content / Missing content"
"description" : "Restricted operation"
},
"409" : {
- "description" : "Resource already exist"
+ "description" : "annotation types already exist"
},
"default" : {
"content" : {
"url" : "/sdc2/rest",
"variables" : { }
} ],
- "summary" : "Returns created resource",
+ "summary" : "Returns created annotation types",
"tags" : [ "SDCE-2 APIs" ]
}
},
- "/v1/catalog/uploadType/annotationtypes" : {
+ "/v1/catalog/uploadType/artifactTypes" : {
"post" : {
- "description" : "Create AnnotationTypes from yaml",
- "operationId" : "uploadAnnotationTypes",
+ "description" : "Create Tosca Artifact types from yaml",
+ "operationId" : "uploadArtifactTypes",
"parameters" : [ {
"in" : "header",
"name" : "USER_ID",
"schema" : {
"type" : "object",
"properties" : {
- "annotationTypesZip" : {
+ "artifactsZip" : {
"type" : "string",
"format" : "binary",
- "description" : "FileInputStream"
+ "description" : "Zip file containing a yaml with the TOSCA artifact types definition"
+ },
+ "includeToModelImport" : {
+ "type" : "boolean",
+ "description" : "A flag to add types to the default imports"
+ },
+ "model" : {
+ "type" : "string",
+ "description" : "model name"
}
}
}
},
"responses" : {
"201" : {
- "description" : "annotation types created"
+ "description" : "Tosca Artifact types created"
},
"400" : {
"description" : "Invalid content / Missing content"
"description" : "Restricted operation"
},
"409" : {
- "description" : "annotation types already exist"
+ "description" : "Tosca Artifact Type already exist"
},
"default" : {
"content" : {
"url" : "/sdc2/rest",
"variables" : { }
} ],
- "summary" : "Returns created annotation types",
+ "summary" : "Returns created Tosca artifact types",
"tags" : [ "SDCE-2 APIs" ]
}
},
- "/v1/catalog/uploadType/artifactTypes" : {
+ "/v1/catalog/uploadType/capability" : {
"post" : {
- "description" : "Create Tosca Artifact types from yaml",
- "operationId" : "uploadArtifactTypes",
+ "description" : "Create Capability Type from yaml",
+ "operationId" : "uploadCapabilityType",
"parameters" : [ {
"in" : "header",
"name" : "USER_ID",
"schema" : {
"type" : "object",
"properties" : {
- "artifactsZip" : {
+ "capabilityTypeZip" : {
"type" : "string",
"format" : "binary",
- "description" : "Zip file containing a yaml with the TOSCA artifact types definition"
+ "description" : "FileInputStream"
},
"includeToModelImport" : {
"type" : "boolean",
- "description" : "A flag to add types to the default imports"
+ "description" : "includeToModelImport"
},
"model" : {
"type" : "string",
},
"responses" : {
"201" : {
- "description" : "Tosca Artifact types created"
+ "description" : "Capability Type created"
},
"400" : {
"description" : "Invalid content / Missing content"
"description" : "Restricted operation"
},
"409" : {
- "description" : "Tosca Artifact Type already exist"
+ "description" : "Capability Type already exist"
},
"default" : {
"content" : {
"url" : "/sdc2/rest",
"variables" : { }
} ],
- "summary" : "Returns created Tosca artifact types",
+ "summary" : "Returns created Capability Type",
"tags" : [ "SDCE-2 APIs" ]
}
},
- "/v1/catalog/uploadType/capability" : {
+ "/v1/catalog/uploadType/categories" : {
"post" : {
- "description" : "Create Capability Type from yaml",
- "operationId" : "uploadCapabilityType",
+ "description" : "Create Categories from yaml",
+ "operationId" : "uploadCategories",
"parameters" : [ {
"in" : "header",
"name" : "USER_ID",
"schema" : {
"type" : "object",
"properties" : {
- "capabilityTypeZip" : {
+ "categoriesZip" : {
"type" : "string",
"format" : "binary",
"description" : "FileInputStream"
- },
- "includeToModelImport" : {
- "type" : "boolean",
- "description" : "includeToModelImport"
- },
- "model" : {
- "type" : "string",
- "description" : "model"
}
}
}
},
"responses" : {
"201" : {
- "description" : "Capability Type created"
+ "description" : "Categories created"
},
"400" : {
"description" : "Invalid content / Missing content"
"description" : "Restricted operation"
},
"409" : {
- "description" : "Capability Type already exist"
+ "description" : "Category already exist"
},
"default" : {
"content" : {
"url" : "/sdc2/rest",
"variables" : { }
} ],
- "summary" : "Returns created Capability Type",
+ "summary" : "Returns created categories",
"tags" : [ "SDCE-2 APIs" ]
}
},
- "/v1/catalog/uploadType/categories" : {
+ "/v1/catalog/uploadType/datatypes" : {
"post" : {
- "description" : "Create Categories from yaml",
- "operationId" : "uploadCategories",
+ "description" : "Create Data Types from zip",
+ "operationId" : "uploadDataTypes",
"parameters" : [ {
"in" : "header",
"name" : "USER_ID",
"schema" : {
"type" : "object",
"properties" : {
- "categoriesZip" : {
+ "dataTypesZip" : {
"type" : "string",
"format" : "binary",
"description" : "FileInputStream"
+ },
+ "includeToModelImport" : {
+ "type" : "boolean",
+ "description" : "includeToModelImport"
+ },
+ "model" : {
+ "type" : "string",
+ "description" : "model name"
}
}
}
},
"responses" : {
"201" : {
- "description" : "Categories created"
+ "description" : "Data types created"
},
"400" : {
"description" : "Invalid content / Missing content"
"description" : "Restricted operation"
},
"409" : {
- "description" : "Category already exist"
+ "description" : "Data types already exist"
},
"default" : {
"content" : {
"url" : "/sdc2/rest",
"variables" : { }
} ],
- "summary" : "Returns created categories",
+ "summary" : "Returns created data types",
"tags" : [ "SDCE-2 APIs" ]
}
},
- "/v1/catalog/uploadType/datatypes" : {
+ "/v1/catalog/uploadType/datatypesyaml" : {
"post" : {
- "description" : "Create Categories from yaml",
- "operationId" : "uploadDataTypes",
+ "description" : "Create Data Types from yaml",
+ "operationId" : "uploadDataTypesYaml",
"parameters" : [ {
"in" : "header",
"name" : "USER_ID",
"schema" : {
"type" : "object",
"properties" : {
- "dataTypesZip" : {
+ "dataTypesYaml" : {
"type" : "string",
"format" : "binary",
"description" : "FileInputStream"
},
"model" : {
"type" : "string",
- "description" : "model"
+ "description" : "model name"
}
}
}
},
"model" : {
"type" : "string",
- "description" : "model"
+ "description" : "model name"
},
"toscaTypeMetadata" : {
"type" : "string",
},
"model" : {
"type" : "string",
- "description" : "model"
+ "description" : "model name"
}
}
}
},
"model" : {
"type" : "string",
- "description" : "model"
+ "description" : "model name"
},
"policyTypesZip" : {
"type" : "string",
},
"model" : {
"type" : "string",
- "description" : "model"
+ "description" : "model name"
},
"relationshipTypeZip" : {
"type" : "string",
"type" : "string"
}
},
+ "tenant" : {
+ "type" : "string"
+ },
"uniqueId" : {
"type" : "string"
},
"defaultBaseType" : {
"type" : "string"
},
+ "doNotExtendBaseType" : {
+ "type" : "boolean"
+ },
"required" : {
"type" : "boolean"
}
"normalizedName" : {
"type" : "string"
},
+ "notApplicableMetadataKeys" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
"ownerId" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE" ]
},
+ "toscaSubPath" : {
+ "type" : "string"
+ },
"type" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE" ]
},
+ "toscaSubPath" : {
+ "type" : "string"
+ },
"type" : {
"type" : "string"
},
"dataValidatorFilterExcludedUrls" : {
"type" : "string"
},
+ "defaultCustomToscaFunctions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/CustomToscaFunction"
+ }
+ },
"defaultImports" : {
"type" : "array",
"items" : {
}
}
},
+ "CustomToscaFunction" : {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ }
+ }
+ },
"DataTypeDataDefinition" : {
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
},
+ "normative" : {
+ "type" : "boolean"
+ },
"ownerId" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
+ "normative" : {
+ "type" : "boolean"
+ },
"ownerId" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE" ]
},
+ "toscaSubPath" : {
+ "type" : "string"
+ },
"type" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE" ]
},
+ "toscaSubPath" : {
+ "type" : "string"
+ },
"type" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE" ]
},
+ "toscaSubPath" : {
+ "type" : "string"
+ },
"type" : {
"type" : "string"
},
"constraints" : {
"type" : "array",
"items" : {
- "$ref" : "#/components/schemas/PropertyConstraint"
+ "type" : "object"
}
},
"defaultValue" : {
"type" : "string",
"enum" : [ "EQUAL", "IN_RANGE", "GREATER_THAN", "GREATER_OR_EQUAL", "LESS_OR_EQUAL", "LENGTH", "MIN_LENGTH", "MAX_LENGTH", "VALID_VALUES", "LESS_THAN", "PATTERN", "SCHEMA" ]
},
+ "originalType" : {
+ "type" : "string"
+ },
"propertyName" : {
"type" : "string"
},
},
"valueType" : {
"type" : "string",
- "enum" : [ "STATIC", "GET_PROPERTY", "GET_INPUT", "GET_ATTRIBUTE", "YAML", "CONCAT" ]
+ "enum" : [ "STATIC", "GET_PROPERTY", "GET_INPUT", "GET_ATTRIBUTE", "YAML", "CUSTOM", "CONCAT", "SEVERAL" ]
}
}
},
"type" : "string"
}
},
+ "tenant" : {
+ "type" : "string"
+ },
"topologyTemplate" : {
"type" : "boolean"
},
"type" : "string"
}
},
+ "tenant" : {
+ "type" : "string"
+ },
"topologyTemplate" : {
"type" : "boolean"
},
},
"type" : {
"type" : "string",
- "enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE", "CONCAT", "YAML", "STRING" ]
+ "enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE", "CONCAT", "CUSTOM", "YAML", "STRING" ]
},
"value" : {
"type" : "string"
"sourceUniqueId" : {
"type" : "string"
},
+ "toscaIndexList" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object"
+ }
+ },
"type" : {
"type" : "string",
- "enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE", "CONCAT", "YAML", "STRING" ]
+ "enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE", "CONCAT", "CUSTOM", "YAML", "STRING" ]
}
}
},
"constraintOperator" : {
"type" : "string"
},
+ "originalType" : {
+ "type" : "string"
+ },
"servicePropertyName" : {
"type" : "string"
},
name: USER_ID
schema:
type: string
+ - in: query
+ name: excludePrimitives
+ schema:
+ type: string
+ default: "false"
responses:
"200":
description: allDataTypes
summary: Returns capability types
tags:
- SDCE-2 APIs
+ /v1/catalog/customToscaFunctions/{type}:
+ get:
+ description: Retrieve default custom tosca functions values from the configuration
+ file based on type
+ operationId: getDefaultCustomToscaFunctionValues
+ parameters:
+ - in: header
+ name: USER_ID
+ schema:
+ type: string
+ - in: path
+ name: type
+ required: true
+ schema:
+ type: string
+ enum:
+ - ALL
+ - CUSTOM
+ - GET_INPUT
+ responses:
+ "200":
+ description: Returns default custom tosca functions values from configuration
+ file Ok
+ "404":
+ description: Default custom tosca functions not found
+ "500":
+ description: Internal Server Error
+ default:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/User'
+ summary: Retrieve all custom tosca functions
+ tags:
+ - SDCE-2 APIs
+ /v1/catalog/data-types/{dataTypeId}:
+ delete:
+ operationId: deleteDatatype
+ parameters:
+ - description: The data type id
+ in: path
+ name: dataTypeId
+ required: true
+ schema:
+ type: string
+ responses:
+ default:
+ content:
+ '*/*': {}
+ description: default response
+ servers:
+ - url: /sdc2/rest
+ variables: {}
+ tags:
+ - SDCE-2 APIs
+ /v1/catalog/data-types/{dataTypeId}/{propertyId}:
+ delete:
+ operationId: deleteProperty
+ parameters:
+ - description: The data type id
+ in: path
+ name: dataTypeId
+ required: true
+ schema:
+ type: string
+ - description: The property id to delete
+ in: path
+ name: propertyId
+ required: true
+ schema:
+ type: string
+ responses:
+ default:
+ content:
+ '*/*': {}
+ description: default response
+ servers:
+ - url: /sdc2/rest
+ variables: {}
+ tags:
+ - SDCE-2 APIs
+ /v1/catalog/data-types/{dataTypeName}/models:
+ get:
+ description: Get models for type
+ operationId: getDataTypeModels
+ parameters:
+ - in: path
+ name: dataTypeName
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: dataTypeModels
+ "400":
+ description: Invalid content / Missing content
+ "403":
+ description: Restricted operation
+ "404":
+ description: Data type not found
+ default:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ type: object
+ properties:
+ allowedMethods:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ cookies:
+ type: object
+ additionalProperties:
+ type: object
+ properties:
+ comment:
+ type: string
+ domain:
+ type: string
+ expiry:
+ type: string
+ format: date-time
+ httpOnly:
+ type: boolean
+ maxAge:
+ type: integer
+ format: int32
+ name:
+ type: string
+ path:
+ type: string
+ secure:
+ type: boolean
+ value:
+ type: string
+ version:
+ type: integer
+ format: int32
+ date:
+ type: string
+ format: date-time
+ entity:
+ type: object
+ entityTag:
+ type: object
+ properties:
+ value:
+ type: string
+ weak:
+ type: boolean
+ headers:
+ type: object
+ additionalProperties:
+ type: array
+ items:
+ type: object
+ language:
+ type: object
+ properties:
+ country:
+ type: string
+ displayCountry:
+ type: string
+ displayLanguage:
+ type: string
+ displayName:
+ type: string
+ displayScript:
+ type: string
+ displayVariant:
+ type: string
+ extensionKeys:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ iso3Country:
+ type: string
+ iso3Language:
+ type: string
+ language:
+ type: string
+ script:
+ type: string
+ unicodeLocaleAttributes:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ unicodeLocaleKeys:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ variant:
+ type: string
+ lastModified:
+ type: string
+ format: date-time
+ length:
+ type: integer
+ format: int32
+ links:
+ type: array
+ items:
+ type: object
+ properties:
+ params:
+ type: object
+ additionalProperties:
+ type: string
+ rel:
+ type: string
+ rels:
+ type: array
+ items:
+ type: string
+ title:
+ type: string
+ type:
+ type: string
+ uri:
+ type: string
+ format: uri
+ uriBuilder:
+ type: object
+ uniqueItems: true
+ location:
+ type: string
+ format: uri
+ mediaType:
+ type: object
+ properties:
+ parameters:
+ type: object
+ additionalProperties:
+ type: string
+ subtype:
+ type: string
+ type:
+ type: string
+ wildcardSubtype:
+ type: boolean
+ wildcardType:
+ type: boolean
+ metadata:
+ type: object
+ additionalProperties:
+ type: array
+ items:
+ type: object
+ status:
+ type: integer
+ format: int32
+ statusInfo:
+ type: object
+ properties:
+ family:
+ type: string
+ enum:
+ - INFORMATIONAL
+ - SUCCESSFUL
+ - REDIRECTION
+ - CLIENT_ERROR
+ - SERVER_ERROR
+ - OTHER
+ reasonPhrase:
+ type: string
+ statusCode:
+ type: integer
+ format: int32
+ stringHeaders:
+ type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ servers:
+ - url: /sdc2/rest
+ variables: {}
+ summary: Returns list of models for type
+ tags:
+ - SDCE-2 APIs
/v1/catalog/data-types/{dataTypeUid}:
get:
description: Get data types
summary: Create a property in the given data type
tags:
- SDCE-2 APIs
+ put:
+ description: Update a property in the given data type
+ operationId: updateProperty
+ parameters:
+ - description: The data type id
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PropertyDefinitionDto'
+ description: Property to update
+ required: true
+ responses:
+ "201":
+ description: Property updated in the data type
+ "400":
+ description: Invalid payload
+ "403":
+ description: Restricted operation
+ "404":
+ description: Data type not found
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PropertyDefinitionDto'
+ servers:
+ - url: /sdc2/rest
+ variables: {}
+ summary: Update a property in the given data type
+ tags:
+ - SDCE-2 APIs
/v1/catalog/dataTypes:
get:
description: Get data types
summary: Retrieve all Directives
tags:
- SDCE-2 APIs
+ /v1/catalog/downloadDataType:
+ get:
+ description: Get data types
+ operationId: downloadDataType
+ parameters:
+ - in: header
+ name: USER_ID
+ schema:
+ type: string
+ - description: dataTypeId
+ in: query
+ name: dataTypeId
+ schema:
+ type: string
+ responses:
+ "200":
+ description: allDataTypes
+ "400":
+ description: Invalid content / Missing content
+ "403":
+ description: Restricted operation
+ "404":
+ description: Data types not found
+ default:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ type: object
+ properties:
+ allowedMethods:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ cookies:
+ type: object
+ additionalProperties:
+ type: object
+ properties:
+ comment:
+ type: string
+ domain:
+ type: string
+ expiry:
+ type: string
+ format: date-time
+ httpOnly:
+ type: boolean
+ maxAge:
+ type: integer
+ format: int32
+ name:
+ type: string
+ path:
+ type: string
+ secure:
+ type: boolean
+ value:
+ type: string
+ version:
+ type: integer
+ format: int32
+ date:
+ type: string
+ format: date-time
+ entity:
+ type: object
+ entityTag:
+ type: object
+ properties:
+ value:
+ type: string
+ weak:
+ type: boolean
+ headers:
+ type: object
+ additionalProperties:
+ type: array
+ items:
+ type: object
+ language:
+ type: object
+ properties:
+ country:
+ type: string
+ displayCountry:
+ type: string
+ displayLanguage:
+ type: string
+ displayName:
+ type: string
+ displayScript:
+ type: string
+ displayVariant:
+ type: string
+ extensionKeys:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ iso3Country:
+ type: string
+ iso3Language:
+ type: string
+ language:
+ type: string
+ script:
+ type: string
+ unicodeLocaleAttributes:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ unicodeLocaleKeys:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ variant:
+ type: string
+ lastModified:
+ type: string
+ format: date-time
+ length:
+ type: integer
+ format: int32
+ links:
+ type: array
+ items:
+ type: object
+ properties:
+ params:
+ type: object
+ additionalProperties:
+ type: string
+ rel:
+ type: string
+ rels:
+ type: array
+ items:
+ type: string
+ title:
+ type: string
+ type:
+ type: string
+ uri:
+ type: string
+ format: uri
+ uriBuilder:
+ type: object
+ uniqueItems: true
+ location:
+ type: string
+ format: uri
+ mediaType:
+ type: object
+ properties:
+ parameters:
+ type: object
+ additionalProperties:
+ type: string
+ subtype:
+ type: string
+ type:
+ type: string
+ wildcardSubtype:
+ type: boolean
+ wildcardType:
+ type: boolean
+ metadata:
+ type: object
+ additionalProperties:
+ type: array
+ items:
+ type: object
+ status:
+ type: integer
+ format: int32
+ statusInfo:
+ type: object
+ properties:
+ family:
+ type: string
+ enum:
+ - INFORMATIONAL
+ - SUCCESSFUL
+ - REDIRECTION
+ - CLIENT_ERROR
+ - SERVER_ERROR
+ - OTHER
+ reasonPhrase:
+ type: string
+ statusCode:
+ type: integer
+ format: int32
+ stringHeaders:
+ type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ servers:
+ - url: /sdc2/rest
+ variables: {}
+ summary: Returns all data types from all models
+ tags:
+ - SDCE-2 APIs
/v1/catalog/gab/searchFor:
post:
description: Search json paths inside the yaml
variables: {}
tags:
- SDCE-2 APIs
+ /v1/catalog/interface-types/{interfaceTypeId}:
+ delete:
+ operationId: deleteInterfaceType
+ parameters:
+ - description: The interface type id
+ in: path
+ name: interfaceTypeId
+ required: true
+ schema:
+ type: string
+ responses:
+ default:
+ content:
+ '*/*': {}
+ description: default response
+ servers:
+ - url: /sdc2/rest
+ variables: {}
+ tags:
+ - SDCE-2 APIs
/v1/catalog/interfaceLifecycleTypes:
get:
description: Get interface lifecycle types
description: Resource created
"400":
description: Invalid content / Missing content
+ "401":
+ description: Unauthorized Tenant
"403":
description: Restricted operation
"409":
description: Service created
"400":
description: Invalid content / Missing content
+ "401":
+ description: Unauthorized Tenant
"403":
description: Restricted operation
"409":
description: includeToModelImport
model:
type: string
- description: model
+ description: model name
responses:
"201":
description: Capability Type created
- SDCE-2 APIs
/v1/catalog/uploadType/datatypes:
post:
- description: Create Categories from yaml
+ description: Create Data Types from zip
operationId: uploadDataTypes
parameters:
- in: header
description: includeToModelImport
model:
type: string
- description: model
+ description: model name
+ responses:
+ "201":
+ description: Data types created
+ "400":
+ description: Invalid content / Missing content
+ "403":
+ description: Restricted operation
+ "409":
+ description: Data types already exist
+ default:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ type: object
+ properties:
+ allowedMethods:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ cookies:
+ type: object
+ additionalProperties:
+ type: object
+ properties:
+ comment:
+ type: string
+ domain:
+ type: string
+ expiry:
+ type: string
+ format: date-time
+ httpOnly:
+ type: boolean
+ maxAge:
+ type: integer
+ format: int32
+ name:
+ type: string
+ path:
+ type: string
+ secure:
+ type: boolean
+ value:
+ type: string
+ version:
+ type: integer
+ format: int32
+ date:
+ type: string
+ format: date-time
+ entity:
+ type: object
+ entityTag:
+ type: object
+ properties:
+ value:
+ type: string
+ weak:
+ type: boolean
+ headers:
+ type: object
+ additionalProperties:
+ type: array
+ items:
+ type: object
+ language:
+ type: object
+ properties:
+ country:
+ type: string
+ displayCountry:
+ type: string
+ displayLanguage:
+ type: string
+ displayName:
+ type: string
+ displayScript:
+ type: string
+ displayVariant:
+ type: string
+ extensionKeys:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ iso3Country:
+ type: string
+ iso3Language:
+ type: string
+ language:
+ type: string
+ script:
+ type: string
+ unicodeLocaleAttributes:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ unicodeLocaleKeys:
+ type: array
+ items:
+ type: string
+ uniqueItems: true
+ variant:
+ type: string
+ lastModified:
+ type: string
+ format: date-time
+ length:
+ type: integer
+ format: int32
+ links:
+ type: array
+ items:
+ type: object
+ properties:
+ params:
+ type: object
+ additionalProperties:
+ type: string
+ rel:
+ type: string
+ rels:
+ type: array
+ items:
+ type: string
+ title:
+ type: string
+ type:
+ type: string
+ uri:
+ type: string
+ format: uri
+ uriBuilder:
+ type: object
+ uniqueItems: true
+ location:
+ type: string
+ format: uri
+ mediaType:
+ type: object
+ properties:
+ parameters:
+ type: object
+ additionalProperties:
+ type: string
+ subtype:
+ type: string
+ type:
+ type: string
+ wildcardSubtype:
+ type: boolean
+ wildcardType:
+ type: boolean
+ metadata:
+ type: object
+ additionalProperties:
+ type: array
+ items:
+ type: object
+ status:
+ type: integer
+ format: int32
+ statusInfo:
+ type: object
+ properties:
+ family:
+ type: string
+ enum:
+ - INFORMATIONAL
+ - SUCCESSFUL
+ - REDIRECTION
+ - CLIENT_ERROR
+ - SERVER_ERROR
+ - OTHER
+ reasonPhrase:
+ type: string
+ statusCode:
+ type: integer
+ format: int32
+ stringHeaders:
+ type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ servers:
+ - url: /sdc2/rest
+ variables: {}
+ summary: Returns created data types
+ tags:
+ - SDCE-2 APIs
+ /v1/catalog/uploadType/datatypesyaml:
+ post:
+ description: Create Data Types from yaml
+ operationId: uploadDataTypesYaml
+ parameters:
+ - in: header
+ name: USER_ID
+ schema:
+ type: string
+ requestBody:
+ content:
+ multipart/form-data:
+ schema:
+ type: object
+ properties:
+ dataTypesYaml:
+ type: string
+ format: binary
+ description: FileInputStream
+ includeToModelImport:
+ type: boolean
+ description: includeToModelImport
+ model:
+ type: string
+ description: model name
responses:
"201":
description: Data types created
description: includeToModelImport
model:
type: string
- description: model
+ description: model name
toscaTypeMetadata:
type: string
description: toscaTypeMetadata
description: FileInputStream
model:
type: string
- description: model
+ description: model name
responses:
"201":
description: Interface Lifecycle Type created
description: includeToModelImport
model:
type: string
- description: model
+ description: model name
policyTypesZip:
type: string
format: binary
description: includeToModelImport
model:
type: string
- description: model
+ description: model name
relationshipTypeZip:
type: string
format: binary
type: array
items:
type: string
+ tenant:
+ type: string
uniqueId:
type: string
uuid:
type: string
defaultBaseType:
type: string
+ doNotExtendBaseType:
+ type: boolean
required:
type: boolean
CategoryDefinition:
type: string
normalizedName:
type: string
+ notApplicableMetadataKeys:
+ type: array
+ items:
+ type: string
ownerId:
type: string
ownerIdIfEmpty:
- GET_INPUT
- GET_PROPERTY
- GET_ATTRIBUTE
- type:
- type: string
- uniqueId:
- type: string
- userCreated:
- type: boolean
- value:
- type: string
- valueUniqueUid:
- type: string
- version:
- type: string
- ComponentInstanceInterface:
- type: object
- properties:
- creationDate:
- type: integer
- format: int64
- definition:
- type: boolean
- derivedFrom:
- type: string
- description:
- type: string
- empty:
- type: boolean
- inputs:
- type: object
- additionalProperties:
- $ref: '#/components/schemas/InputDataDefinition'
- interfaceId:
- type: string
- interfaceInstanceDataDefinition:
- $ref: '#/components/schemas/InterfaceInstanceDataDefinition'
- lastUpdateDate:
- type: integer
- format: int64
- model:
- type: string
- operations:
- type: object
- additionalProperties:
- $ref: '#/components/schemas/OperationDataDefinition'
- ownerId:
- type: string
- ownerIdIfEmpty:
- type: string
- writeOnly: true
- toscaResourceName:
+ toscaSubPath:
+ type: string
+ type:
+ type: string
+ uniqueId:
+ type: string
+ userCreated:
+ type: boolean
+ value:
+ type: string
+ valueUniqueUid:
+ type: string
+ version:
+ type: string
+ ComponentInstanceInterface:
+ type: object
+ properties:
+ creationDate:
+ type: integer
+ format: int64
+ definition:
+ type: boolean
+ derivedFrom:
+ type: string
+ description:
+ type: string
+ empty:
+ type: boolean
+ inputs:
+ type: object
+ additionalProperties:
+ $ref: '#/components/schemas/InputDataDefinition'
+ interfaceId:
+ type: string
+ interfaceInstanceDataDefinition:
+ $ref: '#/components/schemas/InterfaceInstanceDataDefinition'
+ lastUpdateDate:
+ type: integer
+ format: int64
+ model:
+ type: string
+ operations:
+ type: object
+ additionalProperties:
+ $ref: '#/components/schemas/OperationDataDefinition'
+ ownerId:
+ type: string
+ ownerIdIfEmpty:
+ type: string
+ writeOnly: true
+ toscaResourceName:
+ type: string
+ type:
+ type: string
+ uniqueId:
+ type: string
+ userCreated:
+ type: boolean
+ version:
+ type: string
+ ComponentInstanceOutput:
+ type: object
+ properties:
+ attribute:
+ $ref: '#/components/schemas/ComponentInstanceAttribute'
+ attributeId:
+ type: string
+ componentInstanceId:
+ type: string
+ componentInstanceName:
+ type: string
+ defaultValue:
+ type: string
+ definition:
+ type: boolean
+ description:
+ type: string
+ empty:
+ type: boolean
+ entry_schema:
+ $ref: '#/components/schemas/EntrySchema'
+ getOutputAttribute:
+ type: boolean
+ getOutputValues:
+ type: array
+ items:
+ $ref: '#/components/schemas/GetOutputValueDataDefinition'
+ get_default:
+ type: object
+ instanceUniqueId:
+ type: string
+ model:
+ type: string
+ name:
+ type: string
+ outputId:
+ type: string
+ outputPath:
+ type: string
+ ownerId:
+ type: string
+ ownerIdIfEmpty:
+ type: string
+ writeOnly: true
+ parentUniqueId:
+ type: string
+ path:
+ type: array
+ items:
+ type: string
+ rules:
+ type: array
+ items:
+ $ref: '#/components/schemas/PropertyRule'
+ schema:
+ $ref: '#/components/schemas/SchemaDefinition'
+ schemaType:
+ type: string
+ status:
+ type: string
+ type:
+ type: string
+ uniqueId:
+ type: string
+ value:
+ type: string
+ valueUniqueUid:
+ type: string
+ version:
+ type: string
+ ComponentInstanceProperty:
+ type: object
+ properties:
+ annotations:
+ type: array
+ items:
+ $ref: '#/components/schemas/Annotation'
+ componentInstanceId:
+ type: string
+ componentInstanceName:
+ type: string
+ constraints:
+ type: array
+ items:
+ $ref: '#/components/schemas/PropertyConstraint'
+ defaultValue:
+ type: string
+ definition:
+ type: boolean
+ description:
+ type: string
+ empty:
+ type: boolean
+ getInputProperty:
+ type: boolean
+ getInputValues:
+ type: array
+ items:
+ $ref: '#/components/schemas/GetInputValueDataDefinition'
+ getPolicyValues:
+ type: array
+ items:
+ $ref: '#/components/schemas/GetPolicyValueDataDefinition'
+ hidden:
+ type: boolean
+ immutable:
+ type: boolean
+ inputId:
+ type: string
+ inputPath:
+ type: string
+ instanceUniqueId:
+ type: string
+ isDeclaredListInput:
+ type: boolean
+ label:
+ type: string
+ mappedToComponentProperty:
+ type: boolean
+ metadata:
+ type: object
+ additionalProperties:
+ type: string
+ model:
+ type: string
+ name:
+ type: string
+ ownerId:
+ type: string
+ ownerIdIfEmpty:
+ type: string
+ writeOnly: true
+ parentPropertyType:
+ type: string
+ parentUniqueId:
+ type: string
+ password:
+ type: boolean
+ path:
+ type: array
+ items:
+ type: string
+ propertyConstraints:
+ type: array
+ items:
+ type: string
+ propertyId:
+ type: string
+ required:
+ type: boolean
+ rules:
+ type: array
+ items:
+ $ref: '#/components/schemas/PropertyRule'
+ schema:
+ $ref: '#/components/schemas/SchemaDefinition'
+ schemaProperty:
+ $ref: '#/components/schemas/PropertyDataDefinition'
+ schemaType:
+ type: string
+ status:
+ type: string
+ subPropertyInputPath:
+ type: string
+ subPropertyToscaFunctions:
+ type: array
+ items:
+ $ref: '#/components/schemas/SubPropertyToscaFunction'
+ toscaFunction:
+ $ref: '#/components/schemas/ToscaFunction'
+ toscaGetFunction:
+ $ref: '#/components/schemas/ToscaGetFunctionDataDefinition'
+ toscaGetFunctionType:
+ type: string
+ enum:
+ - GET_INPUT
+ - GET_PROPERTY
+ - GET_ATTRIBUTE
+ toscaSubPath:
type: string
type:
type: string
type: string
userCreated:
type: boolean
- version:
- type: string
- ComponentInstanceOutput:
- type: object
- properties:
- attribute:
- $ref: '#/components/schemas/ComponentInstanceAttribute'
- attributeId:
- type: string
- componentInstanceId:
- type: string
- componentInstanceName:
- type: string
- defaultValue:
- type: string
- definition:
- type: boolean
- description:
- type: string
- empty:
- type: boolean
- entry_schema:
- $ref: '#/components/schemas/EntrySchema'
- getOutputAttribute:
- type: boolean
- getOutputValues:
- type: array
- items:
- $ref: '#/components/schemas/GetOutputValueDataDefinition'
- get_default:
- type: object
- instanceUniqueId:
- type: string
- model:
- type: string
- name:
- type: string
- outputId:
- type: string
- outputPath:
- type: string
- ownerId:
- type: string
- ownerIdIfEmpty:
- type: string
- writeOnly: true
- parentUniqueId:
- type: string
- path:
- type: array
- items:
- type: string
- rules:
- type: array
- items:
- $ref: '#/components/schemas/PropertyRule'
- schema:
- $ref: '#/components/schemas/SchemaDefinition'
- schemaType:
- type: string
- status:
- type: string
- type:
- type: string
- uniqueId:
- type: string
- value:
- type: string
- valueUniqueUid:
- type: string
- version:
- type: string
- ComponentInstanceProperty:
- type: object
- properties:
- annotations:
- type: array
- items:
- $ref: '#/components/schemas/Annotation'
- componentInstanceId:
- type: string
- componentInstanceName:
- type: string
- constraints:
- type: array
- items:
- $ref: '#/components/schemas/PropertyConstraint'
- defaultValue:
- type: string
- definition:
- type: boolean
- description:
- type: string
- empty:
- type: boolean
- getInputProperty:
- type: boolean
- getInputValues:
- type: array
- items:
- $ref: '#/components/schemas/GetInputValueDataDefinition'
- getPolicyValues:
- type: array
- items:
- $ref: '#/components/schemas/GetPolicyValueDataDefinition'
- hidden:
- type: boolean
- immutable:
- type: boolean
- inputId:
- type: string
- inputPath:
- type: string
- instanceUniqueId:
- type: string
- isDeclaredListInput:
- type: boolean
- label:
- type: string
- mappedToComponentProperty:
- type: boolean
- metadata:
- type: object
- additionalProperties:
- type: string
- model:
- type: string
- name:
- type: string
- ownerId:
- type: string
- ownerIdIfEmpty:
- type: string
- writeOnly: true
- parentPropertyType:
- type: string
- parentUniqueId:
- type: string
- password:
- type: boolean
- path:
- type: array
- items:
- type: string
- propertyConstraints:
- type: array
- items:
- type: string
- propertyId:
- type: string
- required:
- type: boolean
- rules:
- type: array
- items:
- $ref: '#/components/schemas/PropertyRule'
- schema:
- $ref: '#/components/schemas/SchemaDefinition'
- schemaProperty:
- $ref: '#/components/schemas/PropertyDataDefinition'
- schemaType:
- type: string
- status:
- type: string
- subPropertyInputPath:
- type: string
- subPropertyToscaFunctions:
- type: array
- items:
- $ref: '#/components/schemas/SubPropertyToscaFunction'
- toscaFunction:
- $ref: '#/components/schemas/ToscaFunction'
- toscaGetFunction:
- $ref: '#/components/schemas/ToscaGetFunctionDataDefinition'
- toscaGetFunctionType:
- type: string
- enum:
- - GET_INPUT
- - GET_PROPERTY
- - GET_ATTRIBUTE
- type:
- type: string
- uniqueId:
- type: string
- userCreated:
- type: boolean
value:
type: string
valueUniqueUid:
$ref: '#/components/schemas/CsarFormat'
dataValidatorFilterExcludedUrls:
type: string
+ defaultCustomToscaFunctions:
+ type: array
+ items:
+ $ref: '#/components/schemas/CustomToscaFunction'
defaultImports:
type: array
items:
properties:
defaultFormat:
type: string
+ CustomToscaFunction:
+ type: object
+ properties:
+ name:
+ type: string
+ type:
+ type: string
DataTypeDataDefinition:
type: object
properties:
format: int64
name:
type: string
+ normative:
+ type: boolean
ownerId:
type: string
ownerIdIfEmpty:
format: int64
name:
type: string
+ normative:
+ type: boolean
ownerId:
type: string
ownerIdIfEmpty:
- GET_INPUT
- GET_PROPERTY
- GET_ATTRIBUTE
+ toscaSubPath:
+ type: string
type:
type: string
uniqueId:
- GET_INPUT
- GET_PROPERTY
- GET_ATTRIBUTE
+ toscaSubPath:
+ type: string
type:
type: string
uniqueId:
- GET_INPUT
- GET_PROPERTY
- GET_ATTRIBUTE
+ toscaSubPath:
+ type: string
type:
type: string
uniqueId:
constraints:
type: array
items:
- $ref: '#/components/schemas/PropertyConstraint'
+ type: object
defaultValue:
type: object
description:
- LESS_THAN
- PATTERN
- SCHEMA
+ originalType:
+ type: string
propertyName:
type: string
targetType:
- GET_INPUT
- GET_ATTRIBUTE
- YAML
+ - CUSTOM
- CONCAT
+ - SEVERAL
PropertyFilterDataDefinition:
type: object
properties:
type: array
items:
type: string
+ tenant:
+ type: string
topologyTemplate:
type: boolean
toscaArtifacts:
type: array
items:
type: string
+ tenant:
+ type: string
topologyTemplate:
type: boolean
toscaArtifacts:
- GET_PROPERTY
- GET_ATTRIBUTE
- CONCAT
+ - CUSTOM
- YAML
- STRING
value:
type: string
sourceUniqueId:
type: string
+ toscaIndexList:
+ type: array
+ items:
+ type: object
type:
type: string
enum:
- GET_PROPERTY
- GET_ATTRIBUTE
- CONCAT
+ - CUSTOM
- YAML
- STRING
ToscaValidatorsConfig:
type: string
constraintOperator:
type: string
+ originalType:
+ type: string
servicePropertyName:
type: string
sourceName:
"enum" : [ "resources", "services" ]
}
}, {
- "description" : "The filter key (resourceType only for resources)",
+ "description" : "The category to filter the result set on",
"in" : "query",
"name" : "category",
"schema" : {
"type" : "string"
}
}, {
- "description" : "The filter key (resourceType only for resources)",
+ "description" : "The sub category to filter the result set on. Only applicable when assetType = resources",
"in" : "query",
"name" : "subCategory",
"schema" : {
"type" : "string"
}
}, {
- "description" : "The filter key (resourceType only for resources)",
+ "description" : "The distribution status to filter the result set on",
"in" : "query",
"name" : "distributionStatus",
"schema" : {
"type" : "string"
}
}, {
- "description" : "The filter key (resourceType only for resources)",
+ "description" : "The resource type to filter the result set on. Only applicable when assetType = resources",
"in" : "query",
"name" : "resourceType",
"schema" : {
"type" : "string"
}
+ }, {
+ "description" : "Additional metadata keys to include in the response, not all keys are supported.\nSupported keys: lastUpdateDate, creationDate, description, uniqueId and category specific metadata keys",
+ "in" : "query",
+ "name" : "include",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }, {
+ "description" : "The version(s) to filter the result set on\nSyntax: /services?version=(highestMatchingVersionOnly|lessThan|greaterThan|equals)(:=)(value)",
+ "examples" : {
+ "An example request to get all services with version equal 2.0" : {
+ "description" : "An example request to get all services with version equal 2.0",
+ "value" : "equals:2.0"
+ },
+ "An example request to get all services with version greater than 1.1" : {
+ "description" : "An example request to get all services with version greater than 1.1",
+ "value" : "greaterThan:1.1"
+ },
+ "An example request to get all services with version less than 2.1" : {
+ "description" : "An example request to get all services with version less than 2.1",
+ "value" : "lessThan:2.1"
+ },
+ "An example request to get each service with highest version" : {
+ "description" : "An example request to get each service with highest version",
+ "value" : "highestMatchingVersionOnly:true"
+ }
+ },
+ "in" : "query",
+ "name" : "version",
+ "schema" : {
+ "type" : "string"
+ }
+ }, {
+ "description" : "The keys of the metadata to include in the entries in the result set. Only applicable when assetType = services\nOnly category specific metadata keys are supported\nSyntax: /services?metadata=<KEY1>(:=)<VALUE1>&metadata=<KEY2>(:=)<VALUE2> ...",
+ "examples" : {
+ "An example request to get all services matching following Category Specific Metadata condition 'ETSI Version=3.3.1'" : {
+ "description" : "An example request to get all services matching following Category Specific Metadata condition 'ETSI Version=3.3.1'",
+ "value" : "ETSI Version:3.3.1"
+ }
+ },
+ "in" : "query",
+ "name" : "metadata",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
} ],
"responses" : {
"200" : {
"normalizedName" : {
"type" : "string"
},
+ "notApplicableMetadataKeys" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
"ownerId" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE" ]
},
+ "toscaSubPath" : {
+ "type" : "string"
+ },
"type" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE" ]
},
+ "toscaSubPath" : {
+ "type" : "string"
+ },
"type" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
+ "normative" : {
+ "type" : "boolean"
+ },
"ownerId" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE" ]
},
+ "toscaSubPath" : {
+ "type" : "string"
+ },
"type" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE" ]
},
+ "toscaSubPath" : {
+ "type" : "string"
+ },
"type" : {
"type" : "string"
},
"type" : "string",
"enum" : [ "EQUAL", "IN_RANGE", "GREATER_THAN", "GREATER_OR_EQUAL", "LESS_OR_EQUAL", "LENGTH", "MIN_LENGTH", "MAX_LENGTH", "VALID_VALUES", "LESS_THAN", "PATTERN", "SCHEMA" ]
},
+ "originalType" : {
+ "type" : "string"
+ },
"propertyName" : {
"type" : "string"
},
},
"valueType" : {
"type" : "string",
- "enum" : [ "STATIC", "GET_PROPERTY", "GET_INPUT", "GET_ATTRIBUTE", "YAML", "CONCAT" ]
+ "enum" : [ "STATIC", "GET_PROPERTY", "GET_INPUT", "GET_ATTRIBUTE", "YAML", "CUSTOM", "CONCAT", "SEVERAL" ]
}
}
},
"type" : "string"
}
},
+ "tenant" : {
+ "type" : "string"
+ },
"topologyTemplate" : {
"type" : "boolean"
},
},
"type" : {
"type" : "string",
- "enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE", "CONCAT", "YAML", "STRING" ]
+ "enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE", "CONCAT", "CUSTOM", "YAML", "STRING" ]
},
"value" : {
"type" : "string"
"sourceUniqueId" : {
"type" : "string"
},
+ "toscaIndexList" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object"
+ }
+ },
"type" : {
"type" : "string",
- "enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE", "CONCAT", "YAML", "STRING" ]
+ "enum" : [ "GET_INPUT", "GET_PROPERTY", "GET_ATTRIBUTE", "CONCAT", "CUSTOM", "YAML", "STRING" ]
}
}
}