Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
ae43cbfa
Commit
ae43cbfa
authored
Oct 30, 2019
by
skoulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skoulouzis/SURE_TOSCA:1.0.0
parent
73dfecdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
30 deletions
+50
-30
swagger_sure_tosca.yml
openAPI/ swagger_sure_tosca.yml
+50
-30
No files found.
openAPI/ swagger_sure_tosca.yml
View file @
ae43cbfa
...
...
@@ -54,11 +54,11 @@ paths:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/i
nterface_type
s
:
/tosca_template/{id}/i
mport
s
:
get
:
summary
:
"
"
description
:
"
returns
the
interface
types"
operationId
:
"
getI
nterfaceType
s"
operationId
:
"
getI
mport
s"
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}/
import
s
:
description
:
"
Invalid
input"
/tosca_template/{id}/
dsl_definition
s
:
get
:
summary
:
"
"
description
:
"
returns
the
interface
types"
operationId
:
"
get
Import
s"
operationId
:
"
get
DslDefinition
s"
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_definition
s
:
description
:
"
Invalid
input"
/tosca_template/{id}/
type
s
:
get
:
summary
:
"
"
description
:
"
returns
the
interface
types"
operationId
:
"
get
DslDefinition
s"
operationId
:
"
get
Type
s"
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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment