Resource dumps (REST)

Note

This is a legacy REST interface. It is not available at https://<YourDTServerHost>:8021/api-docs/current/, however you can still execute those requests via any REST instrument.

Use the Thread Dump REST interface to request a thread dump. You can then use a REST interface call to query the status of the requested dump.

Create a thread dump

POST https://<server>:8021/rest/management/profiles/<profilename>/threaddump Consumes application/x-www-form-urlencoded

Produces text/xml

Get thread dump status

You can request the thread dump creation status based on the schedule ID.

GET https://<server>:8021/rest/management/profiles/<profilename>/threaddumpcreated/<schedule-id> Produces text/xml

Create a sampling session

POST https://<server>:8021/rest/management/profiles/<profilename>/sampling Consumes application/x-www-form-urlencoded

Produces text/xml

Get sampling session status

Based on the schedule ID the creation status of the sampling can be requested.

GET https://<server>:8021/rest/management/profiles/<profilename>/samplingcreated/<schedule-id> Produces text/xml