Import Content

Import Content

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}/suite-api/api/content/operations/import
COPY
Query Parameters
boolean
force
Optional
Constraints: default: true

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
Optional

Show optional properties

{
    "contentFile": "string"
}
"No Custom Example is Available"
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
"{\n  \"fileName\" : \"contentFile\",\n  \"force\" : false,\n  \"id\" : \"bb1f4c64-b1e9-4a3f-a051-790d926342d2\",\n  \"links\" : [ {\n    \"href\" : \"/suite-api/api/content/operations/import\",\n    \"rel\" : \"RELATED\",\n    \"name\" : \"ImportStatusCheckURL\",\n    \"description\" : \"Status of the last import operation\"\n  } ]\n}"
string
fileName
Required

The file containing details of content to be imported

boolean
force
Required

The value for force content update

string
id
Optional

The generated id of operation

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: multipart/form-data' -d '{"contentFile:"string"}' https://{api_host}/suite-api/api/content/operations/import