Rule Execution Server resources that represent library instances.
Resources for developing client applications that work with libraries running on Rule Execution Server.
These resources include:
8.0.1.0
| REST Method | Description |
|---|---|
| GET /api/v1/libraries[?parts={string}] | Returns all the managed XOM libraries contained in the repository. |
| GET /api/v1/libraries?count={boolean} | Counts the number of elements in this list. |
| GET /api/v1/libraries/{libraryname}[?parts={string}] | Returns all the managed XOM libraries, identified by their name. If the repository does not contain any managed XOM library with the name, the response body contains an empty list. |
| GET /api/v1/libraries/{libraryname}?count={boolean} | Counts the number of elements in this list. |
| GET /api/v1/libraries/{libraryname}/highest[?parts={string}] | Returns the highest version of a managed XOM library, identified by its name. If the repository does not contain such a managed XOM library, the response body is empty and the HTTP status 204 is returned. |
| GET /api/v1/libraries/{libraryname}/{libraryversion}[?parts={string}] | Returns the description of a managed XOM library. If the repository does not contain such a managed XOM, the response body is empty and the HTTP status 204 is returned. |
| POST /api/v1/libraries/{libraryname}/{libraryversion} | Adds a new managed XOM library in the repository. |
| PUT /api/v1/libraries/{libraryname}/{libraryversion} | Updates the resources and libraries referenced by an existing managed XOM library. The new URIs of the referenced resources and libraries are passed in the request body. If the repository does not contain the managed XOM library to update, the response body contains a specific error description and the HTTP status 202 is returned. |
| DELETE /api/v1/libraries/{libraryname}/{libraryversion} | Removes a named library from the repository. If the repository does not contain such a library, the response body contains a specific error description and the HTTP status 202 is returned. If the removed library was still in use, the behavior is undefined. |
The following subtopics describe the REST resources defined for this resource set:
Parent Topic: Decision Server REST Interface