API to get supported platforms
This end point returns the list of supported platforms.
GET /openapi/v1/sw_assets/platforms
Parameters: None
Response object: Returns the list of supported platforms.
Sample python code
The sample code below retrieves all the supported platforms.
resp = restclient.get('/sw_assets/platforms')
if resp.status_code == 200:
parsed_resp = json.loads(resp.content)
print json.dumps(parsed_resp)
Sample response
{"results": [{"platform": "OracleServer-6.3", "agent_type": "enforcer", "arch": "x86_64"}, {"platform": "MSWindows8Enterprise", "agent_type": "legacy_sensor", "arch": "x86_64"}]}