Exporting a Connection
Function
This API is used to export all connection information that is compressed in ZIP format.
- Parameter description
Table 1 URI parameter description Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.
Request Message
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| workspace | No | String | Workspace ID.
|
Response Message
The value of Content-Type in the response message is application/octet-stream that needs to be parsed and converted into a file. For details, see Parsing a Stream in a Response Message. Response messages are compressed as a file. The file name format is DLF_All_DataConnections.zip. The file directory is as follows:
connections
├─{dliConnection}.conn
├─{dwsConnection}.conn Example
Export a connection.
- Request
POST /v1/b384b9e9ab9b4ee8994c8633aabc9505/connections/export
- Success response
Response messages are compressed as a file. The file directory is as follows: connections ├─{dliConnection}.conn ├─{dwsConnection}.conn - Failure response
{ "error_code":"DLF.6322", "error_msg":"The data connection does not exist." }
Status Codes
For details about status codes, see Status Codes.
Last Article: Deleting a Connection
Next Article: Importing a Connection
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.