Export Library Metadata (Deprecated)
get
/ic/api/integration/v1/libraries/{id}/metadata
Exports the metadata XML file for the library with the specified ID to a location specified with the -o option. This operation returns a byte stream that is output to the display by default. If you are using cURL, use the -o option to save the response to a file. Deprecated in Oracle Integration 3.
Request
Path Parameters
-
id(required): string
Library identifier. The id must be added to the request in the following form: code%7Cversion. For example: JSLIB%7C01.00.0000. The %7C is the encoded | (vertical line).
Query Parameters
-
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
Supported Media Types
- application/octet-stream
200 Response
Successful operation
404 Response
Library not found
500 Response
Server error
Examples
The following example shows how to export the JavaScript library metadata XML 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: Export metadata for the library JSLIB|01.00.0000
The id is in the form: code%7Cversion
. The %7C is the encoded | (vertical line).
curl -X GET -H 'Authorization: Bearer access_token' -o 'myfile_01.00.00000.xml' https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/libraries/JSLIB%7C01.00.0000/metadata?integrationInstance=service-instance