(EXPERIMENTAL) Create document export request
Note: This API is an experimental and is going to change. Please, use it accordingly. A document export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
path Parameters
workspaceIdstring · required
Headers
X-Gdc-DebugbooleanDefault: false
Request Body
fileNamestring · requiredFile name to be used for retrieving the pdf document.
Example: filenameformatstring · enum · requiredRequested resulting file type.
Enum values:PDFExample: PDF
documentIdstringDocument identifier; the export renders the Publisher document page.
Example: 761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0metadataobject | null · maxLength: 15000Metadata definition in free-form JSON format.
Example: {}timezoneIdstring | nullTime zone the export should be rendered in, as an IANA identifier (e.g. 'Asia/Kolkata') or a GMT offset (e.g. 'GMT+01:00'). When omitted, the workspace time zone setting is used.
Example: Asia/Kolkata
reportIdstring · deprecated · requiredDocument identifier; the export renders the Publisher report page. Deprecated. 'documentId' renders the Publisher document page instead, so switching changes the page the export opens. Must not be set together with 'documentId'.
Example: 761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0
Responses
Document export request created successfully.
exportResultstring · required
(EXPERIMENTAL) Retrieve exported document
Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn't ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
path Parameters
workspaceIdstring · requiredexportIdstring · required
Responses
Binary export result.
(EXPERIMENTAL) Retrieve document export metadata
Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/document endpoint. The metadata structure is not verified.
path Parameters
workspaceIdstring · requiredexportIdstring · required
Responses
Json metadata representation
(EXPERIMENTAL) Create report export request
Deprecated, use createDocumentExport. Note: This API is an experimental and is going to change. Please, use it accordingly. A report export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
path Parameters
workspaceIdstring · required
Headers
X-Gdc-DebugbooleanDefault: false
Request Body
fileNamestring · requiredFile name to be used for retrieving the pdf document.
Example: filenameformatstring · enum · requiredRequested resulting file type.
Enum values:PDFExample: PDF
documentIdstringDocument identifier; the export renders the Publisher document page.
Example: 761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0metadataobject | null · maxLength: 15000Metadata definition in free-form JSON format.
Example: {}timezoneIdstring | nullTime zone the export should be rendered in, as an IANA identifier (e.g. 'Asia/Kolkata') or a GMT offset (e.g. 'GMT+01:00'). When omitted, the workspace time zone setting is used.
Example: Asia/Kolkata
reportIdstring · deprecated · requiredDocument identifier; the export renders the Publisher report page. Deprecated. 'documentId' renders the Publisher document page instead, so switching changes the page the export opens. Must not be set together with 'documentId'.
Example: 761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0
Responses
Report export request created successfully.
exportResultstring · required
(EXPERIMENTAL) Retrieve exported files
Deprecated, use getDocumentExport. Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn't ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
path Parameters
workspaceIdstring · requiredexportIdstring · required
Responses
Binary export result.
(EXPERIMENTAL) Retrieve metadata context
Deprecated, use getDocumentExportMetadata. Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/report endpoint. The metadata structure is not verified.
path Parameters
workspaceIdstring · requiredexportIdstring · required
Responses
Json metadata representation