Skip to content

Latest commit

 

History

History
78 lines (56 loc) · 2.31 KB

ApplicationApi.md

File metadata and controls

78 lines (56 loc) · 2.31 KB

collibra_core.ApplicationApi

All URIs are relative to http://localhost/rest/2.0

Method HTTP request Description
get_info GET /application/info Returns the basic information about the application.

get_info

ApplicationInfo get_info()

Returns the basic information about the application.

Returns the basic information about the application.

Example

  • 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.ApplicationApi(api_client)
    
    try:
        # Returns the basic information about the application.
        api_response = api_instance.get_info()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ApplicationApi->get_info: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

ApplicationInfo

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
0 default response -

[Back to top] [Back to API list] [Back to Model list] [Back to README]