/policyengine/v1/applications/<application name>: GET
Gets the details of a specific application that is configured in the system.
The following table shows which roles can access this REST API endpoint:
Data admin | CollectionAdmin | Data user | Admin | Service user |
---|---|---|---|---|
✓ | X | ✓ | Χ | Χ |
Synopsis of the request URL
curl -k -H “Authorization: Bearer <token>” -H "Content-Type: application/json"
https://<spectrum_discover_host>/policyengine/v1/application/<application _name>
Supported request types and response formats
Supported request types:
- GET
- JSON
Examples
The following example shows how to get the details of a specific application.
Request:
curl -k -H “Authorization: Bearer <token>” -H "Content-Type: application/json"
“https://<spectrum_discover_host>/policyengine/v1/application/extractapplication”
Response:
{
"broker_ip": "localhost",
"work_q": "
extractagent_work",
"auth": "extractapplication_user:extractapplication_password",
"params": "["tags"]",
"agent": "extractagent",
"broker_port": "9093",
"completion_q": "extractapplication_compl",
"action_id": "deepinspect"
}