Import Library Metadata (Deprecated)
post
/ic/api/integration/v1/libraries/{id}/metadata
Imports the metadata XML file for the library with the specified ID. If you are using cURL, use the -F option to specify the file to import. Deprecated in Oracle Integration 3.
Request
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.
Supported Media Types
- multipart/form-data
Root Schema : schema
Type:
Show Source
object
-
file: string
(binary)
Library metadata file content
-
id: 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).
Response
Supported Media Types
- application/json; charset=utf-8
200 Response
Successful operation
400 Response
Bad request, missing required data
404 Response
Library not found
500 Response
Server error
Examples
The following example shows how to import the JavaScript library metadata XML file by submitting a POST 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: Import 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 POST -H 'Authorization: Bearer access_token' -H "Content-Type:multipart/form-data" -F "file=@JSFILE_01.00.0000.xml" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/libraries/JSLIB%7C01.00.0000/metadata?integrationInstance=service-instance