Skip to content

Latest commit

 

History

History
143 lines (96 loc) · 4.75 KB

ReportingSettingsApi.md

File metadata and controls

143 lines (96 loc) · 4.75 KB

gooddata_api_client.ReportingSettingsApi

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.

resolve_all_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.

Example

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)

Parameters

This endpoint does not need any parameter.

Return type

[ResolvedSetting]

Authorization

No authorization required

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Values for selected settings. -

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

resolve_settings_without_workspace

[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.

Example

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)

Parameters

Name Type Description Notes
resolve_settings_request ResolveSettingsRequest

Return type

[ResolvedSetting]

Authorization

No authorization required

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Values for selected settings. -

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