Imports content into an existing project. For the list of supported formats, see importFormat.
- project-idstringrequired
The ID of the project to import into.
- formatstring enumrequired
Specifies how the input file is passed.
- url
- base64
Format of the imported content.
AutoDocs imports an OpenAPI specification and generates API reference documentation from it.
- ProjectBackup
- Word
- Odt
- Rtf
Base64-encoded content of the file to import. Required if base64 is selected for the format query parameter. If url format is selected, this parameter is ignored.
The name of the file with an extension. Required if base64 is selected for the format query parameter. If url format is selected, this parameter is ignored.
The URL of the file. It can be a public URL (no authentication required) or a path to a file in ClickHelp Storage. Required if url is selected for the format query parameter. If base64 format is selected, this parameter is ignored.
The ID of a new project where to import content. Either newProjectId or newProjectName should be specified.
The name of a new project where to import content. Either newProjectId or newProjectName should be specified.
An ISO 639 four-letter language code of a new project where to import content. If not specified, the en-US code is used.
Additional import parameters.
{
"taskKey": "f8de60eb4ad8757c5a2b533afae6251aa"
}