Publisher REST API Guide
The following sections illustrate the publisher REST APIs that are used in WSO2 ES:
Entity | HTTP | Resource Path | Description |
|---|---|---|---|
Authenticate |
| Authenticate user credentials. WSO2 ES generates a session ID after authenticating the user credentials. | |
Logout |
| Logout of the user session. | |
Assets |
| Create an asset. | |
| Update an asset. | ||
| Retrieve details of all the assets that corresponds to a specific asset type. | ||
| Retrieve details of an asset that corresponds to a specific asset type. | ||
| /assets?type={asset_type}&fields={attribute_1},{attribute_2},{attribute_3} | Retrieve all assets that correspond to a specific asset type with field expansion. | |
| /assets?type={asset_type}&sort=+{attribute_1},-{attribute_2} | Sort all assets that correspond to a specific asset type. | |
| /assets?type={asset_type}&q="{attribute_1}":"{value_1}","{attribute_2}":"{value_2}" | Search for assets that correspond to a specific asset type. | |
| /assets?type={asset_type}&start={start_value}&count={count_value} | Retrieve all assets that correspond to a specific asset type with pagination. | |
| Retrieve the current state of an asset. | ||
| Promoting or demoting an asset in a lifecycle. | ||
| Delete an asset. | ||
Lifecycle |
| Retrieve list of lifecycles. | |
| Retrieve details of a specific lifecycle. | ||
| Retrieve details of a specific lifecycle state. |