Import Content Using POST

Import Content Using POST

The "Content-Type" of the request is multipart/form-data. If the force option is set to true, content will be overwritten. By default the flag is true. NOTE: If the content file contains integration accounts, then upon completion of the import process, it is recommended to check them. Some collectors or collector groups may have become unbound from the accounts they serve and should be reconnected. Additionally, you will need to re-accept all untrusted certificates manually. Finally ensure that all your adapter instances are started as some of these may not have been restarted automatically.

Request
URI
POST
https://{api_host}/api/content/operations/import
COPY
Query Parameters
boolean
force
Optional

True to force solution content overwrite

Header Parameters
string
EncryptionPassword
Optional

Key for decrypting sensitive information


Request Body
File of type(s) multipart/form-data
Required
{
    "contentFile": "string"
}
string
contentFile
Required

Multipart file

Authentication
This operation uses the following authentication methods.
Responses
202

The import of content has been accepted

Returns content-import of type(s) application/json
{
    "fileName": "string",
    "forceContentUpdate": false,
    "id": "string",
    "links": [
        {
            "description": "string",
            "href": "string",
            "name": "string",
            "rel": "string"
        }
    ]
}
string
fileName
Required

The file containing details of content to be imported

boolean
forceContentUpdate
Optional

forceContentUpdate

string
id
Optional

The generated id of operation

array of link
links
Optional

links