Commit 73dfecdb authored by skoulouzis's avatar skoulouzis

skoulouzis/SURE_TOSCA:1.0.0

parent e8b55018
...@@ -54,6 +54,108 @@ paths: ...@@ -54,6 +54,108 @@ paths:
description: "Not found" description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/interface_types:
get:
summary: ""
description: "returns the interface types"
operationId: "getInterfaceTypes"
produces:
- "application/json"
parameters:
- name: "id"
in: "path"
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"
schema:
type: array
items:
type: object
additionalProperties:
type: object
404:
description: "Not found"
405:
description: "Invalid input"
/tosca_template/{id}/imports:
get:
summary: ""
description: "returns the interface types"
operationId: "getImports"
produces:
- "application/json"
parameters:
- name: "id"
in: "path"
description: "ID of topolog template uplodaed"
required: true
type: "string"
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}/dsl_definitions:
get:
summary: ""
description: "returns the interface types"
operationId: "getDslDefinitions"
produces:
- "application/json"
parameters:
- name: "id"
in: "path"
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
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}/topology_template: /tosca_template/{id}/topology_template:
get: get:
description: "r" description: "r"
...@@ -454,46 +556,3 @@ paths: ...@@ -454,46 +556,3 @@ paths:
description: "Not found" description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
\ No newline at end of file
/tosca_template/{id}/interface_types:
get:
summary: ""
description: "returns the interface types"
operationId: "getInterfaceTypes"
produces:
- "application/json"
parameters:
- name: "id"
in: "path"
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: derived from interface
responses:
200:
description: "successful operation"
schema:
type: array
items:
type: object
additionalProperties:
type: object
404:
description: "Not found"
405:
description: "Invalid input"
\ No newline at end of file
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