Cloud operations APIs
Learn about the cloud operations REST APIs that are provided with IBM® Business Process Manager on Cloud
https://hostname/api/explorer Where hostname is
the name of your offering instance. For example, https://vhost123.mycloud.com/api/explorer.
To directly access the OpenAPI specification, you can use the following
REST API call:GET /api/docsThe call returns
a JSON object that contains the OpenAPI specification of the APIs
that are enabled on your instance. The following APIs can be enabled:
Application Management REST API
Use the API to manage enterprise applications that were created in IBM Integration Designer. The API includes resources for installing, uninstalling, starting, and stopping an application on a process server in a cloud environment. The caller must have the Operator role and access to the target environment.
POST /bpm/services/environments/run/applicationsTo
start the application that you uploaded, use the following operation:POST /bpm/services/environments/run/applications/application_name/startAudit Events REST API
The API includes operations for retrieving audit events and audit event types for the instance. The caller must have the Account Administrator role.
GET /instance/services/audit_eventsTo
get a list of the event types, use the following operation:GET /instance/services/audit_event_typesCluster Status REST API
The API includes operations for retrieving the status of all the clusters in each of your environments. The caller must have the Operator role.
GET /bpm/services/environments/run/clustersCredentials REST API
Use the API to manage client credentials for Open Authorization (OAuth) 2.0 based authentication of client applications. The caller must have the Account Administrator role.
POST /instance/services/credentials/oauth_clients
...
{
"id_prefix": "loanapp"
"description": "OAuth credentials for loan application."
}The returned object includes the generated client ID
and client secret. Use these credentials together with service credentials
for OAuth-based access control to the cloud environment for your loan
application. Log Management REST API
The API includes operations for requesting and retrieving different log types from the workflow servers in your cloud instance. The caller must have the Operator role.
GET /instance/services/log_typesTo request
a specific log type, for example, logs from the application cluster
in the development environment, use the following operation and include
the environment and log type in the body of the call: POST /instance/services/logs
...
{
"environment": "dev",
"log_type": "AppCluster"
}Reports REST API
The API includes operations for retrieving a list of metrics for the instance and then generating a usage report for a specific metric and reporting period. The caller must have the Account Administrator role.
GET /instance/services/metricsTo generate
a report for a specific metric, such as maximum number of concurrent
users, for a specific day, use the following operation:GET /instance/services/reports?start_day=2019-01-01&metric=maximum_concurrent_usersRestart REST API
Use the API to request a restart of an environment on the instance. You can also retrieve a list of the active restart requests. The caller must have the Operator role.POST /bpm/services/environments/dev/restart_requestsGET /bpm/services/environments/dev/restart_requestsUser Management REST API
The API includes operations for managing single users or a list of users. The caller must have the Account Administrator role.
POST /instance/services/usersTo delete
the user, use the following operation:DELETE /instance/services/users/user_id