All URIs are relative to http://localhost/rest/2.0
Method | HTTP request | Description |
---|---|---|
add_complex_relation | POST /complexRelations | Adds new complex relation. |
change_complex_relation | PATCH /complexRelations/{complexRelationId} | Change the complex relation with the information that is present in the request. |
export_to_csv | POST /complexRelations/export/csv-job | Export complex relations of the given type to CSV. |
export_to_csv_as_string | POST /complexRelations/export/csv | Export all complex relations of the given type to CSV as a String. |
export_to_csv_without_job | POST /complexRelations/export/csv-file | Export all complex relations of the given type to a CSV file. |
export_to_excel | POST /complexRelations/export/excel-job | Export complex relations of the given type to Excel. |
export_to_excel_without_job | POST /complexRelations/export/excel-file | Export all complex relations of the given type to an Excel file. |
find_complex_relations | GET /complexRelations | Returns complex relations matching the given search criteria. |
get_complex_relation | GET /complexRelations/{complexRelationId} | Returns a ComplexRelation identified by given id. |
remove_complex_relation | DELETE /complexRelations/{complexRelationId} | Removes complex relation identified by given id. |
ComplexRelationImpl add_complex_relation(add_complex_relation_request=add_complex_relation_request)
Adds new complex relation.
Adds new complex relation.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
add_complex_relation_request = collibra_core.AddComplexRelationRequest() # AddComplexRelationRequest | (optional)
try:
# Adds new complex relation.
api_response = api_instance.add_complex_relation(add_complex_relation_request=add_complex_relation_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->add_complex_relation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
add_complex_relation_request | AddComplexRelationRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Complex relation successfully added. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ComplexRelationImpl change_complex_relation(complex_relation_id, change_complex_relation_request=change_complex_relation_request)
Change the complex relation with the information that is present in the request.
Change the complex relation with the information that is present in the request. Only properties that are specified in this request and have not null
values are updated. All other properties are ignored.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
complex_relation_id = 'complex_relation_id_example' # str | the id of the complex relation to be modified.
change_complex_relation_request = collibra_core.ChangeComplexRelationRequest() # ChangeComplexRelationRequest | (optional)
try:
# Change the complex relation with the information that is present in the request.
api_response = api_instance.change_complex_relation(complex_relation_id, change_complex_relation_request=change_complex_relation_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->change_complex_relation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
complex_relation_id | str | the id of the complex relation to be modified. | |
change_complex_relation_request | ChangeComplexRelationRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
0 | default response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Job export_to_csv(export_complex_relations_to_csv_request=export_complex_relations_to_csv_request)
Export complex relations of the given type to CSV.
Export complex relations of the given type to CSV.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
export_complex_relations_to_csv_request = collibra_core.ExportComplexRelationsToCSVRequest() # ExportComplexRelationsToCSVRequest | (optional)
try:
# Export complex relations of the given type to CSV.
api_response = api_instance.export_to_csv(export_complex_relations_to_csv_request=export_complex_relations_to_csv_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->export_to_csv: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
export_complex_relations_to_csv_request | ExportComplexRelationsToCSVRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
0 | default response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str export_to_csv_as_string(export_complex_relations_to_csv_request=export_complex_relations_to_csv_request)
Export all complex relations of the given type to CSV as a String.
Export all complex relations of the given type to CSV as a String.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
export_complex_relations_to_csv_request = collibra_core.ExportComplexRelationsToCSVRequest() # ExportComplexRelationsToCSVRequest | (optional)
try:
# Export all complex relations of the given type to CSV as a String.
api_response = api_instance.export_to_csv_as_string(export_complex_relations_to_csv_request=export_complex_relations_to_csv_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->export_to_csv_as_string: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
export_complex_relations_to_csv_request | ExportComplexRelationsToCSVRequest | [optional] |
str
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
0 | default response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FileInfoImpl export_to_csv_without_job(export_complex_relations_to_csv_request=export_complex_relations_to_csv_request)
Export all complex relations of the given type to a CSV file.
Export all complex relations of the given type to a CSV file.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
export_complex_relations_to_csv_request = collibra_core.ExportComplexRelationsToCSVRequest() # ExportComplexRelationsToCSVRequest | (optional)
try:
# Export all complex relations of the given type to a CSV file.
api_response = api_instance.export_to_csv_without_job(export_complex_relations_to_csv_request=export_complex_relations_to_csv_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->export_to_csv_without_job: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
export_complex_relations_to_csv_request | ExportComplexRelationsToCSVRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
0 | default response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Job export_to_excel(export_complex_relations_to_excel_request=export_complex_relations_to_excel_request)
Export complex relations of the given type to Excel.
Export complex relations of the given type to Excel.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
export_complex_relations_to_excel_request = collibra_core.ExportComplexRelationsToExcelRequest() # ExportComplexRelationsToExcelRequest | (optional)
try:
# Export complex relations of the given type to Excel.
api_response = api_instance.export_to_excel(export_complex_relations_to_excel_request=export_complex_relations_to_excel_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->export_to_excel: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
export_complex_relations_to_excel_request | ExportComplexRelationsToExcelRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
0 | default response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FileInfoImpl export_to_excel_without_job(export_complex_relations_to_excel_request=export_complex_relations_to_excel_request)
Export all complex relations of the given type to an Excel file.
Export all complex relations of the given type to an Excel file.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
export_complex_relations_to_excel_request = collibra_core.ExportComplexRelationsToExcelRequest() # ExportComplexRelationsToExcelRequest | (optional)
try:
# Export all complex relations of the given type to an Excel file.
api_response = api_instance.export_to_excel_without_job(export_complex_relations_to_excel_request=export_complex_relations_to_excel_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->export_to_excel_without_job: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
export_complex_relations_to_excel_request | ExportComplexRelationsToExcelRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
0 | default response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PagedResponseComplexRelation find_complex_relations(offset=offset, limit=limit, asset_id=asset_id, type_id=type_id)
Returns complex relations matching the given search criteria.
Returns complex relations matching the given search criteria. Only parameters that are specified in this request and have not null
values are used for filtering. All other parameters are ignored. The returned complex relations satisfy all constraints that are specified in this search criteria. By default a result containing 1000 complex relations is returned.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
offset = 0 # int | The first result to retrieve. If not set (offset = <code>0</code>), results will be retrieved starting from row <code>0</code>. (optional) (default to 0)
limit = 0 # int | The maximum number of results to retrieve. If not set (limit = <code>0</code>), the default limit will be used. (optional) (default to 0)
asset_id = 'asset_id_example' # str | The ID of the asset for which complex relations should be found. (optional)
type_id = 'type_id_example' # str | The ID of the type of complex relations to search for. (optional)
try:
# Returns complex relations matching the given search criteria.
api_response = api_instance.find_complex_relations(offset=offset, limit=limit, asset_id=asset_id, type_id=type_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->find_complex_relations: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
offset | int | The first result to retrieve. If not set (offset = <code>0</code>), results will be retrieved starting from row <code>0</code>. | [optional] [default to 0] |
limit | int | The maximum number of results to retrieve. If not set (limit = <code>0</code>), the default limit will be used. | [optional] [default to 0] |
asset_id | str | The ID of the asset for which complex relations should be found. | [optional] |
type_id | str | The ID of the type of complex relations to search for. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
0 | default response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ComplexRelationImpl get_complex_relation(complex_relation_id)
Returns a ComplexRelation identified by given id.
Returns a complex relation identified by given id
.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
complex_relation_id = 'complex_relation_id_example' # str | the id of the complex relation.
try:
# Returns a ComplexRelation identified by given id.
api_response = api_instance.get_complex_relation(complex_relation_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->get_complex_relation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
complex_relation_id | str | the id of the complex relation. |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
0 | default response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
remove_complex_relation(complex_relation_id)
Removes complex relation identified by given id.
Removes complex relation identified by given id.
- Basic Authentication (basicAuth):
from __future__ import print_function
import time
import collibra_core
from collibra_core.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost/rest/2.0
# See configuration.py for a list of all supported configuration parameters.
configuration = collibra_core.Configuration(
host = "http://localhost/rest/2.0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = collibra_core.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Enter a context with an instance of the API client
with collibra_core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = collibra_core.ComplexRelationsApi(api_client)
complex_relation_id = 'complex_relation_id_example' # str | the id of the complex relation to be removed.
try:
# Removes complex relation identified by given id.
api_instance.remove_complex_relation(complex_relation_id)
except ApiException as e:
print("Exception when calling ComplexRelationsApi->remove_complex_relation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
complex_relation_id | str | the id of the complex relation to be removed. |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
0 | default response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]