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
Supported Media Types
Request Body - multipart/form-data ()
Root Schema : schema
Type: object
Show Source
  • Library metadata file content
  • 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).
Back to Top

Response

Supported Media Types

200 Response

Successful operation

400 Response

Bad request, missing required data

404 Response

Library not found

500 Response

Server error
Back to Top

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
Back to Top