Skip to content

Latest commit

 

History

History
136 lines (89 loc) · 3.93 KB

MetadataSyncApi.md

File metadata and controls

136 lines (89 loc) · 3.93 KB

gooddata_api_client.MetadataSyncApi

All URIs are relative to http://localhost

Method HTTP request Description
metadata_sync POST /api/v1/actions/workspaces/{workspaceId}/metadataSync (BETA) Sync Metadata to other services
metadata_sync_organization POST /api/v1/actions/organization/metadataSync (BETA) Sync organization scope Metadata to other services

metadata_sync

metadata_sync(workspace_id)

(BETA) Sync Metadata to other services

(BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.

Example

import time
import gooddata_api_client
from gooddata_api_client.api import metadata_sync_api
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 = metadata_sync_api.MetadataSyncApi(api_client)
    workspace_id = "workspaceId_example" # str | 

    # example passing only required values which don't have defaults set
    try:
        # (BETA) Sync Metadata to other services
        api_instance.metadata_sync(workspace_id)
    except gooddata_api_client.ApiException as e:
        print("Exception when calling MetadataSyncApi->metadata_sync: %s\n" % e)

Parameters

Name Type Description Notes
workspace_id str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 OK -

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

metadata_sync_organization

metadata_sync_organization()

(BETA) Sync organization scope Metadata to other services

(BETA) Temporary solution. Later relevant metadata actions will trigger sync in their scope only.

Example

import time
import gooddata_api_client
from gooddata_api_client.api import metadata_sync_api
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 = metadata_sync_api.MetadataSyncApi(api_client)

    # example, this endpoint has no required or optional parameters
    try:
        # (BETA) Sync organization scope Metadata to other services
        api_instance.metadata_sync_organization()
    except gooddata_api_client.ApiException as e:
        print("Exception when calling MetadataSyncApi->metadata_sync_organization: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 OK -

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