Skip to content

Latest commit

 

History

History
154 lines (106 loc) · 5.25 KB

DependencyGraphApi.md

File metadata and controls

154 lines (106 loc) · 5.25 KB

gooddata_api_client.DependencyGraphApi

All URIs are relative to http://localhost

Method HTTP request Description
get_dependent_entities_graph GET /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph Computes the dependent entities graph
get_dependent_entities_graph_from_entry_points POST /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph Computes the dependent entities graph from given entry points

get_dependent_entities_graph

DependentEntitiesResponse get_dependent_entities_graph(workspace_id)

Computes the dependent entities graph

Computes the dependent entities graph

Example

import time
import gooddata_api_client
from gooddata_api_client.api import dependency_graph_api
from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = dependency_graph_api.DependencyGraphApi(api_client)
    workspace_id = "workspaceId_example" # str | 

    # example passing only required values which don't have defaults set
    try:
        # Computes the dependent entities graph
        api_response = api_instance.get_dependent_entities_graph(workspace_id)
        pprint(api_response)
    except gooddata_api_client.ApiException as e:
        print("Exception when calling DependencyGraphApi->get_dependent_entities_graph: %s\n" % e)

Parameters

Name Type Description Notes
workspace_id str

Return type

DependentEntitiesResponse

Authorization

No authorization required

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Computes the dependent entities graph -

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

get_dependent_entities_graph_from_entry_points

DependentEntitiesResponse get_dependent_entities_graph_from_entry_points(workspace_id, dependent_entities_request)

Computes the dependent entities graph from given entry points

Computes the dependent entities graph from given entry points

Example

import time
import gooddata_api_client
from gooddata_api_client.api import dependency_graph_api
from gooddata_api_client.model.dependent_entities_request import DependentEntitiesRequest
from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = dependency_graph_api.DependencyGraphApi(api_client)
    workspace_id = "workspaceId_example" # str | 
    dependent_entities_request = DependentEntitiesRequest(
        identifiers=[
            EntityIdentifier(
                id="/6bUUGjjNSwg0_bs",
                type="metric",
            ),
        ],
    ) # DependentEntitiesRequest | 

    # example passing only required values which don't have defaults set
    try:
        # Computes the dependent entities graph from given entry points
        api_response = api_instance.get_dependent_entities_graph_from_entry_points(workspace_id, dependent_entities_request)
        pprint(api_response)
    except gooddata_api_client.ApiException as e:
        print("Exception when calling DependencyGraphApi->get_dependent_entities_graph_from_entry_points: %s\n" % e)

Parameters

Name Type Description Notes
workspace_id str
dependent_entities_request DependentEntitiesRequest

Return type

DependentEntitiesResponse

Authorization

No authorization required

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Computes the dependent entities graph from given entry points -

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