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(workspace_id)
(BETA) Sync Metadata to other services
(BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.
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)
Name | Type | Description | Notes |
---|---|---|---|
workspace_id | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
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.
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)
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]