**id** | **str**| ID of topolog template uplodaed |
**node_name** | **str**| node_name |
### Return type
**list[dict(str, object)]**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_all_ancestor_types**
> list[str] get_all_ancestor_types(id, node_name)
Recursively get all requirements all the way to the ROOT including the input node's
### Example
```python
from__future__importprint_function
importtime
importswagger_client
fromswagger_client.restimportApiException
frompprintimportpprint
# create an instance of the API class
api_instance=swagger_client.DefaultApi()
id='id_example'# str | ID of topolog template uplodaed
**id** | **str**| ID of topolog template uplodaed |
**node_name** | **str**| node_name |
### Return type
**list[str]**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**node_name** | **str**| node_name |
### Return type
**dict(str, object)**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**anchors** | [**list[str]**](str.md)| the anchors the definition is for | [optional]
**derived_from** | **str**| derived from | [optional]
### Return type
**list[dict(str, object)]**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_imports**
> list[dict(str, object)] get_imports(id)
returns the interface types
### Example
```python
from__future__importprint_function
importtime
importswagger_client
fromswagger_client.restimportApiException
frompprintimportpprint
# create an instance of the API class
api_instance=swagger_client.DefaultApi()
id='id_example'# str | ID of topolog template uplodaed
try:
#
api_response=api_instance.get_imports(id)
pprint(api_response)
exceptApiExceptionase:
print("Exception when calling DefaultApi->get_imports: %s\n"%e)
**id** | **str**| ID of topolog template uplodaed |
### Return type
**list[dict(str, object)]**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**node_name** | **str**| node_name |
### Return type
**list[dict(str, object)]**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**node_name** | **str**| node_name |
### Return type
**dict(str, object)**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**node_name** | **str**| node_name |
### Return type
**dict(str, object)**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**type_name** | **str**| The type | [optional]
**node_name** | **str**| the name | [optional]
**has_interfaces** | **bool**| filter if has interfaces | [optional]
**has_properties** | **bool**| filter if has properties | [optional]
**has_attributes** | **bool**| filter if has attributes | [optional]
**has_requirements** | **bool**| filter if has requirements | [optional]
**has_capabilities** | **bool**| filter if has capabilities | [optional]
**has_artifacts** | **bool**| filter if has artifacts | [optional]
### Return type
[**list[NodeTemplateMap]**](NodeTemplateMap.md)
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_node_type_name**
> str get_node_type_name(id, node_name)
### Example
```python
from__future__importprint_function
importtime
importswagger_client
fromswagger_client.restimportApiException
frompprintimportpprint
# create an instance of the API class
api_instance=swagger_client.DefaultApi()
id='id_example'# str | ID of topolog template uplodaed
**id** | **str**| ID of topolog template uplodaed |
**node_name** | **str**| node_name |
### Return type
**str**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_parent_type_name**
> str get_parent_type_name(id, node_name)
### Example
```python
from__future__importprint_function
importtime
importswagger_client
fromswagger_client.restimportApiException
frompprintimportpprint
# create an instance of the API class
api_instance=swagger_client.DefaultApi()
id='id_example'# str | ID of topolog template uplodaed
**id** | **str**| ID of topolog template uplodaed |
**node_name** | **str**| node_name |
### Return type
**str**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**node_name** | **str**| node_name |
### Return type
[**list[NodeTemplateMap]**](NodeTemplateMap.md)
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**type_name** | **str**| The relationship type | [optional]
**derived_from** | **str**| derived from | [optional]
### Return type
**list[dict(str, object)]**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_topology_template**
> TopologyTemplate get_topology_template(id)
r
### Example
```python
from__future__importprint_function
importtime
importswagger_client
fromswagger_client.restimportApiException
frompprintimportpprint
# create an instance of the API class
api_instance=swagger_client.DefaultApi()
id='id_example'# str | ID of topolog template uplodaed
**id** | **str**| ID of topolog template uplodaed |
### Return type
[**TopologyTemplate**](TopologyTemplate.md)
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_tosca_template**
> ToscaTemplate get_tosca_template(id)
### Example
```python
from__future__importprint_function
importtime
importswagger_client
fromswagger_client.restimportApiException
frompprintimportpprint
# create an instance of the API class
api_instance=swagger_client.DefaultApi()
id='id_example'# str | ID of topolog template uplodaed
try:
api_response=api_instance.get_tosca_template(id)
pprint(api_response)
exceptApiExceptionase:
print("Exception when calling DefaultApi->get_tosca_template: %s\n"%e)
**id** | **str**| ID of topolog template uplodaed |
### Return type
[**ToscaTemplate**](ToscaTemplate.md)
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**kind_of_type** | **str**| the type we are looking for e.g. capability_types, artifact_types. etc. | [optional]
**has_interfaces** | **bool**| filter if has interfaces | [optional]
**type_name** | **str**| The type_name | [optional]
**has_properties** | **bool**| filter if has properties | [optional]
**has_attributes** | **bool**| filter if has attributes | [optional]
**has_requirements** | **bool**| filter if has requirements | [optional]
**has_capabilities** | **bool**| filter if has capabilities | [optional]
**has_artifacts** | **bool**| filter if has artifacts | [optional]
**derived_from** | **str**| derived from | [optional]
### Return type
**list[dict(str, object)]**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
**id** | **str**| ID of topolog template uplodaed |
**properties** | **object**| |
**node_name** | **str**| node_name |
### Return type
**str**
### Authorization
No authorization required
### HTTP request headers
-**Content-Type**: Not defined
-**Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **upload_tosca_template**
> str upload_tosca_template(file)
upload a tosca template description file
upload and validate a tosca template description file
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)