Commit 6556f51a authored by skoulouzis's avatar skoulouzis

skoulouzis/SURE_TOSCA:1.0.0

parent ae43cbfa
...@@ -153,16 +153,59 @@ paths: ...@@ -153,16 +153,59 @@ paths:
name: has_attributes name: has_attributes
type: boolean type: boolean
description: filter if has attributes description: filter if has attributes
- in: query
name: has_requirements
type: boolean
description: filter if has requirements
- in: query
name: has_capabilities
type: boolean
description: filter if has capabilities
- in: query
name: has_artifacts
type: boolean
description: filter if has artifacts
- in: query - in: query
name: derived_from name: derived_from
type: string type: string
required: false required: false
description: derived from description: derived from
responses:
200:
description: "successful operation"
schema:
type: array
items:
type: object
additionalProperties:
type: object
404:
description: "Not found"
405:
description: "Invalid input"
/tosca_template/{id}/relationship_templates:
get:
summary: ""
description: "returns the interface types"
operationId: "getRrelationshipTemplates"
produces:
- "application/json"
parameters:
- name: "id"
in: "path"
description: "ID of topolog template uplodaed"
required: true
type: "string"
- in: query - in: query
name: has_requirements name: type_name
type: boolean type: string
description: filter if has requirements required: false
description: The relationship type
- in: query
name: derived_from
type: string
required: false
description: derived from
responses: responses:
200: 200:
description: "successful operation" description: "successful operation"
...@@ -210,29 +253,44 @@ paths: ...@@ -210,29 +253,44 @@ paths:
required: true required: true
type: "string" type: "string"
- in: query - in: query
name: node_name name: type_name
type: string type: string
description: filter by node name required: false
description: The type
- in: query - in: query
name: node_type name: name_key
type: string type: string
description: filter by node type required: false
description: The type
- in: query
name: has_interfaces
type: boolean
description: filter if has interfaces
- in: query - in: query
name: has_interface name: has_properties
type: boolean type: boolean
description: filter if node has interface description: filter if has properties
- in: query
name: has_attributes
type: boolean
description: filter if has attributes
- in: query - in: query
name: has_requirements name: has_requirements
type: boolean type: boolean
description: filter if node has requirements description: filter if has requirements
- in: query - in: query
name: has_artifacts name: has_capabilities
type: boolean type: boolean
description: filter if node has artifacts description: filter if has capabilities
- in: query - in: query
name: has_properties name: has_artifacts
type: boolean type: boolean
description: filter if node has properties description: filter if has artifacts
- in: query
name: derived_from
type: string
required: false
description: derived from
responses: responses:
200: 200:
description: "successful operation" 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