GET | /RestApi/sitefinity/data-intelligence/settings |
---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class DECSettingsRequestDto:
pass
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class DECSettingsDto:
is_dec_enabled: bool = False
access_key_strategy_used: bool = False
authorization_header: Optional[str] = None
api_server_url: Optional[str] = None
dec_app_url: Optional[str] = None
data_center_api_key: Optional[str] = None
license_type: Optional[str] = None
dec_admin_backend_page_url: Optional[str] = None
content_analytics_api_keys: Optional[List[str]] = None
Python DECSettingsRequestDto DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /RestApi/sitefinity/data-intelligence/settings HTTP/1.1 Host: www.asg.com.au Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { IsDecEnabled: False, AccessKeyStrategyUsed: False, AuthorizationHeader: String, ApiServerUrl: String, DecAppUrl: String, DataCenterApiKey: String, LicenseType: String, DecAdminBackendPageUrl: String, ContentAnalyticsApiKeys: [ String ] }