Export Content

Export Content

Export content for current user. This takes scope of the export. The content types that need to be exported can be specified as a list.

Request
URI
POST
https://{api_host}/suite-api/api/content/operations/export
COPY
Header Parameters
string
EncryptionPassword
Optional

Key for encrypting sensitive information


Request Body

Export Details of Type and Segregation

content-export of type(s) application/json
Required

Show optional properties

{
    "scope": "string",
    "contentTypes": [
        {}
    ]
}
"{\n  \"scope\" : \"CUSTOM\",\n  \"contentTypes\" : [ \"POLICIES\", \"OUTBOUND_SETTINGS\", \"INTEGRATIONS\" ]\n}"
string
scope
Required

Scope of content export operation

Possible values are : ALL, CUSTOM,
array of string
contentTypes
Required

The content type to be exported

Possible values are : VIEW_DEFINITIONS, REPORT_DEFINITIONS, DASHBOARDS, REPORT_SCHEDULES, POLICIES, ALERT_DEFINITIONS, SYMPTOM_DEFINITIONS, LI_QUERY_CONFIGS, RECOMMENDATION_DEFINITIONS, CUSTOM_GROUPS, CUSTOM_METRICGROUPS, SUPER_METRICS, CONFIG_FILES, COMPLIANCE_SCORECARDS, NOTIFICATION_RULES, OUTBOUND_SETTINGS, PAYLOAD_TEMPLATES, INTEGRATIONS, USERS, USER_GROUPS, ROLES, AUTH_SOURCES, HTTP_PROXIES, COST_DRIVERS, SDMP_CUSTOM_SERVICES, SDMP_CUSTOM_APPLICATIONS, CUSTOM_PROFILES, DISCOVERY_RULES, APP_DEF_ASSIGNMENTS, GLOBAL_SETTINGS,
array of object
links
Optional

Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.

Authentication
This operation uses the following authentication methods.
Responses
202

The export of content has been accepted

Returns content-export of type(s) application/json
"{\n  \"scope\" : \"CUSTOM\",\n  \"contentTypes\" : [ \"POLICIES\", \"OUTBOUND_SETTINGS\", \"INTEGRATIONS\" ],\n  \"links\" : [ {\n    \"href\" : \"/suite-api/api/content/operations/export\",\n    \"rel\" : \"RELATED\",\n    \"name\" : \"ExportStatusCheckURL\",\n    \"description\" : \"Status of the last export operation\"\n  } ]\n}"
string
scope
Required

Scope of content export operation

Possible values are : ALL, CUSTOM,
array of string
contentTypes
Required

The content type to be exported

Possible values are : VIEW_DEFINITIONS, REPORT_DEFINITIONS, DASHBOARDS, REPORT_SCHEDULES, POLICIES, ALERT_DEFINITIONS, SYMPTOM_DEFINITIONS, LI_QUERY_CONFIGS, RECOMMENDATION_DEFINITIONS, CUSTOM_GROUPS, CUSTOM_METRICGROUPS, SUPER_METRICS, CONFIG_FILES, COMPLIANCE_SCORECARDS, NOTIFICATION_RULES, OUTBOUND_SETTINGS, PAYLOAD_TEMPLATES, INTEGRATIONS, USERS, USER_GROUPS, ROLES, AUTH_SOURCES, HTTP_PROXIES, COST_DRIVERS, SDMP_CUSTOM_SERVICES, SDMP_CUSTOM_APPLICATIONS, CUSTOM_PROFILES, DISCOVERY_RULES, APP_DEF_ASSIGNMENTS, GLOBAL_SETTINGS,
array of object
links
Optional

Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"contentTypes":["string"],"scope:"string"}' https://{api_host}/suite-api/api/content/operations/export