What rest endpoint call cockpit and get this response?


#1

Hi!
I see in browser that cockpit call /api/cockpit/plugin/base/default/process-instance?firstResult=0&maxResults=50&sortBy=startTime&sortOrder=desc

and get response like this:

businessKey: null
id: “340254”
incidents: [{incidentType: “failedJob”, incidentCount: 1}]
0: {incidentType: “failedJob”, incidentCount: 1}
startTime: “2019-01-22T10:19:47.155+0300”
suspended: false

But i cant find rest api for this response signature. Can you help me?


#2

Hi @kotskin,

unfortunately the REST endpoint you’ve found is private Cockpit-specific API.

Cheers,
Tassilo