Live sessions (REST)

As described in Usage of Sessions, there are two different approaches creating a stored PurePath session. If you use the Store Session request, all PurePaths of the current live session are dumped to a stored PurePath session.

You can also record all incoming PurePaths by issuing Start Recording and Stop Recording requests.

The AppMon Server offers several RESTful interfaces for these operations.

Start session recording

The POST request triggers session recording for the specified System Profile.

Note

Request only works in pre-production edition.

POST
https://<server>:8021/api/v3/profiles/<profileid>/session/recording
consumes application/json

Get session recording status

Checks whether the specified System Profile records a session.

GET
https://<server>:8021/api/v3/profiles/<profileid>/session/recording/status
produces application/json

Stop session recording

The PUT request stops session recording for the specified System Profile. It's doing so by setting recording status as 'false'. It also creates a reference to the stored session.

Note

Request only works in pre-production edition.

Note

This call does not complete until all recorded data is fully processed on the Server.

PUT
https://<server>:8021/api/v3/profiles/<profileid>/session/recording/status
consumes application/json

Store session

The POST request triggers storage of all time series and PurePaths to a stored session.

You need to limit the data to be stored, by specifying a start and end times in the request body. Otherwise the last 30 minutes will be stored.

POST
https://<server>:8021/api/v3/profiles/<profileid>/session/store
consumes application/json