All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
resolve_all_settings_without_workspace | GET /api/v1/actions/resolveSettings | Values for all settings without workspace. |
resolve_settings_without_workspace | POST /api/v1/actions/resolveSettings | Values for selected settings without workspace. |
[ResolvedSetting] resolve_all_settings_without_workspace()
Values for all settings without workspace.
Resolves values for all settings without workspace by current user, organization, or default settings.
import time
import gooddata_api_client
from gooddata_api_client.api import reporting_settings_api
from gooddata_api_client.model.resolved_setting import ResolvedSetting
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 = reporting_settings_api.ReportingSettingsApi(api_client)
# example, this endpoint has no required or optional parameters
try:
# Values for all settings without workspace.
api_response = api_instance.resolve_all_settings_without_workspace()
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling ReportingSettingsApi->resolve_all_settings_without_workspace: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Values for selected settings. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[ResolvedSetting] resolve_settings_without_workspace(resolve_settings_request)
Values for selected settings without workspace.
Resolves values for selected settings without workspace by current user, organization, or default settings.
import time
import gooddata_api_client
from gooddata_api_client.api import reporting_settings_api
from gooddata_api_client.model.resolved_setting import ResolvedSetting
from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest
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 = reporting_settings_api.ReportingSettingsApi(api_client)
resolve_settings_request = ResolveSettingsRequest(
settings=["timezone"],
) # ResolveSettingsRequest |
# example passing only required values which don't have defaults set
try:
# Values for selected settings without workspace.
api_response = api_instance.resolve_settings_without_workspace(resolve_settings_request)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling ReportingSettingsApi->resolve_settings_without_workspace: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
resolve_settings_request | ResolveSettingsRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Values for selected settings. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]