Libraries REST Endpoints
Retrieve, import, export, and delete libraries.
JavaScript libraries provide a means to register and organize JavaScript for use in orchestration integrations. Library functions are automatically available for your integrations.
API Library Jar
The API library jar file contains Javascript files/functions which will be consumed in integrations as callouts. You download the library jar file to modify the JS functions. You can then import the modified library jar as a new library or update the existing library.
API Library Metadata
Once you have imported the API library, you configure it using the API library metadata XML file. The API library metadata file contains details such as classification and data types of input/output parameters of JS functions. You import the library metadata XML file using the library id. You can export the metadata XML file for mass update of JS function configuration details and import it back into the system.
- Delete a Library Version
- Method: deletePath:
/ic/api/integration/v1/libraries/{id}
- Export a Library
- Method: getPath:
/ic/api/integration/v1/libraries/{id}/archive
- Export Library Metadata
- Method: getPath:
/ic/api/integration/v1/libraries/{id}/metadata
- Import Library Metadata
- Method: postPath:
/ic/api/integration/v1/libraries/{id}/metadata
- Import(Register) a Library
- Method: postPath:
/ic/api/integration/v1/libraries/archive
- Retrieve a Library
- Method: getPath:
/ic/api/integration/v1/libraries/{id}
- Retrieve Libraries
- Method: getPath:
/ic/api/integration/v1/libraries
- Update a Library
- Method: postPath:
/ic/api/integration/v1/libraries/{id}/archive