Device Information

API version3.0
Last Update04/02/2019
AuthenticationYES
HTTP MethodPOST
Content Typeapplication/json
Rate limitedYES
Requests per rate limit10/min
Response FormatJSON
Changes

Use to retrieve device information.

API URL

Copy

Request Parameters

KeyDatatypeParameter TypeRequiredDescriptionDefault
access_tokenstringURLYesaccess token which archived from OAuth authentication step
optintBodyOptional

Specify a type of the ids parameter

  • 0: Device ID or Mac Address
  • 1: 3rd party custom ID which is linked with a device
idsstringBodyYes

ID of a device. It can be Device ID or Device MAC address or a custom ID

  • 0: Device ID or MAC Address
  • 1: 3rd party custom ID which is linked with a device
selectobjectBodyOptionalselect data to return in response data
select.categoriesarray<string>BodyOptional

Specify categories which are returned in response. If this is not defined or empty, all categories applied for a device will be returned

Values can be "vulnerabilities", "patch_management", "anti-malware", "encryption", "user_authentication", "anti-phishing", "backup", "firewall", "hard_drive", "operating_system", "threats", "repeated_threats", "suspicious_ips", "custom_check", "instant_messenger", "cleaner_optimizer", "developer_tool", "cloud_storage", "public_file_sharing", "remote_control", "recording_web_meeting", "uninstaller", "toolbars", "media_player", "vpn_client", "unclassified_pua", "system_security"

empty

Response HTTP Code

this page

Response Parameters

KeyDatatypeReturned whenDescription
device_idstringDevice ID which My OPSWAT Central Management generates unique for a device
statusstring

status of device. Values are:

  • compliant: device is in compliance with a policy which the device is assigned to on your account
  • non-compliant: device is not in compliance with a policy which the device is assigned to on your account
  • exempted: device is exempted
  • out_of_license_usage: device is out of token usage.
  • unknown: device is not installed My OPSWAT Central Management agent
  • ignored: device is not installed My OPSWAT Central Management agent and ignored by an administrator
  • deleted: device is deleted
  • not-found: device is not found
severitystring

Severity level. Values are

  • critical: device has critical issues
  • warning: device has warning issues
  • no-issues: device doesn't have any issues
device_namestringHostname of the device. It will get "<private>" value if it's a non-collectible to each fields which related to privacy.
categoriesarray<object>Details of each posture category
categories.idstring

Category ID.

See available values if the description of the parameter " select.categories" in the request parameters.

categories.severityint

Values are:

  • -1: this category is disabled on a policy
  • 0: no issues found in this category
  • 1: found warning issues in this category
  • 2: found critical issues in this category

Example

Example Request

Description: get device information and only want to get information about the "encryption" category in the response.

Copy

Example Response

Copy

Example Request

Description: get device information with device deleted and device not-found in the response.

Copy

Example Response

Copy

Example Request

Description: get device information and include all categories information in the response.

Copy

Example Response

Copy
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches