Commit ae43cbfa authored by skoulouzis's avatar skoulouzis

skoulouzis/SURE_TOSCA:1.0.0

parent 73dfecdb
......@@ -54,11 +54,11 @@ paths:
description: "Not found"
405:
description: "Invalid input"
/tosca_template/{id}/interface_types:
/tosca_template/{id}/imports:
get:
summary: ""
description: "returns the interface types"
operationId: "getInterfaceTypes"
operationId: "getImports"
produces:
- "application/json"
parameters:
......@@ -67,23 +67,6 @@ paths:
description: "ID of topolog template uplodaed"
required: true
type: "string"
- in: query
name: interface_type
type: string
required: false
description: The interface type
- in: query
name: derived_from
type: string
required: false
description: derived from interface
- in: query
name: operations
type: array
items:
type: string
required: false
description: the list of operations e.e. create, stop.
responses:
200:
description: "successful operation"
......@@ -96,12 +79,12 @@ paths:
404:
description: "Not found"
405:
description: "Invalid input"
/tosca_template/{id}/imports:
description: "Invalid input"
/tosca_template/{id}/dsl_definitions:
get:
summary: ""
description: "returns the interface types"
operationId: "getImports"
operationId: "getDslDefinitions"
produces:
- "application/json"
parameters:
......@@ -110,6 +93,18 @@ paths:
description: "ID of topolog template uplodaed"
required: true
type: "string"
- in: query
name: anchors
type: array
items:
type: string
required: false
description: the anchors the definition is for
- in: query
name: derived_from
type: string
required: false
description: derived from
responses:
200:
description: "successful operation"
......@@ -122,12 +117,12 @@ paths:
404:
description: "Not found"
405:
description: "Invalid input"
/tosca_template/{id}/dsl_definitions:
description: "Invalid input"
/tosca_template/{id}/types:
get:
summary: ""
description: "returns the interface types"
operationId: "getDslDefinitions"
operationId: "getTypes"
produces:
- "application/json"
parameters:
......@@ -137,12 +132,37 @@ paths:
required: true
type: "string"
- in: query
name: anchors
type: array
items:
type: string
name: kind_of_type
description: the type we are looking for e.g. capability_types, artifact_types. etc.
type: string
enum: [node_types, relationship_types, capability_types, artifact_types, data_types, interface_types, policy_types, group_types]
- in: query
name: has_interfaces
type: boolean
description: filter if has interfaces
- in: query
name: type_name
type: string
required: false
description: the anchors the definition is for
description: The relationship type
- in: query
name: has_properties
type: boolean
description: filter if has properties
- in: query
name: has_attributes
type: boolean
description: filter if has attributes
- in: query
name: derived_from
type: string
required: false
description: derived from
- in: query
name: has_requirements
type: boolean
description: filter if has requirements
responses:
200:
description: "successful operation"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment