REST API - queryApplications

The table summarizes the REST API - queryApplications.

Request

Format
GET <baseurl>/process/query/applications
Query parameters appname=string (0..n): specify the applications to query.

Response

JSON If successful, returns 200 OK in the response header, and list of applications in the response body.
XML If successful, returns 200 OK in the response header, and list of applications in the response body.

Example

Request
GET <baseurl>/process/query/applications?appname=com.example.sanityprocesses
Response
{
    "xml-fragment": {
        "applications": [
            "",
            {
                "application": {
                    "@name": "com.example.sanityprocesses",
                    "processTemplates": {
                        "processQName": [
                            {
                                "moduleName": "/SanityProcesses/Sanity Tests/SanityTests.xpdl",
                                "processName": "StartViaBS"
                            },
                            {
                                "moduleName": "/SanityProcesses/Sanity Tests/SanityTests.xpdl",
                                "processName": "GetandViewData"
                            }
                        ]
                    }
                }
            }
        ]
    }
}