Retrieve Connection Property Attachment in a Project
/ic/api/integration/v1/projects/{projectId}/connections/{id}/attachments/{connPropName}
Request
-
connPropName(required): string
Connection property name. For example: targetWSDLURL
-
id(required): string
Connection identifier
-
projectId(required): string
Project identifier
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.
There's no request body for this operation.
Back to TopResponse
- application/octet-stream
200 Response
404 Response
423 Response
500 Response
Examples
The following example show how to download the attachment of connection properties in a project to a specified file by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Download the WSDL file attached to the connection SAMPLE_CONN in the project TEST_PROJECT
This command downloads the WSDL file attached to the connection’s targetWSDLURL
property to myfile.wsdl
in the same directory from which the
command was run.
curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" -o 'myfile.wsdl' https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/projects/TEST_PROJECT/connections/SAMPLE_CONN/attachments/targetWSDLURL?integrationInstance=service-instance
Required options for this cURL request:
The -o '/path/file.wsdl'
option provides the location and file name
of the file where the downloaded properties are saved.