V2 map and flow run APIs

The map and flow run endpoints allow directly invokable maps and flows to be run.

An endpoint for each directly invokable map or flow is automatically created when a package is deployed and can be found at the Swagger page, at the following location:

{host}:{port}/hip-rest/api-docs?url=v2/docs

Calling an endpoint with PUT will run the map or flow synchronously, and using POST will run it asynchronously. These endpoint definitions contain information about expected inputs and outputs, as well as a general description if it was provided in the HCL Link web UI. Any referenced flow variables are listed if the endpoint is describing a flow.

The audit data API can be used to get the log of a flow, or map run. To ensure the audit is created, set the return query parameter to log.