Discover Catalog
POST/api/v1/device/discover
This service message allows a device to post the discovery context for getting offers, software, and maps for the GetApp agent.
Request
- application/json
Body
required
general
object
personalDevice
object
situationalDevice
object
location
object
physicalDevice
object
Possible values: [android, windows, linux, macos]
Possible values: [get-app, get-map, mTls]
softwareData
object
platform
object
Name of the platform
Description of the platform
Possible values: [android, windows, linux, macos]
Operating system of the platform
Possible values: [X86_64, ARM64]
Number of vCPUs
Memory size in MB
Disk size in GB
Possible values: [HDD, SSD, NVME]
Possible values: [NAT, BRIDGED, HOST_ONLY, CUSTOM]
Optional image ID
Optional tags or metadata
ID of the platform
Timestamp when the platform was created
Timestamp when the platform was last updated
mapData
object
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
software
object
map
object
products
object[]
Unique identifier for the product (at polygon part method, it the specific polygon part id)
Unique identifier for the product
Unique identifier for the product (not the specific polygon part id)
configs
object
Possible values: [single, polygonParts]
Default value: polygonParts
Possible values: [Success, Error]
error
object
Possible values: [APP.unknown, DELIVERY.unknown, DELIVERY.notFound, DELIVERY.download, DELIVERY.downloadNotAvailable, DELIVERY.notExist, DELIVERY.invalid, DELIVERY.notVerified, DELIVERY.packageTooLarge, DELIVERY.unableClearCache, PROJECT_MANAGEMENT.unknown, PROJECT_MANAGEMENT.labelNotFound, PROJECT_MANAGEMENT.labelAlreadyExists, PROJECT_MANAGEMENT.labelInUse, MAP.unknown, MAP.notFound, MAP.bBoxIsInvalid, MAP.bBoxNotInAnyPolygon, MAP.getRecordsFailed, MAP.exportMapFailed, MAP.requestInProgress, MAP.areaTooLarge, MAP.areaTooSmall, DEVICE.notFound, DEVICE_TYPE.notFound, DEVICE_TYPE.alreadyExists, DEVICE_PLATFORM.notFound, DEVICE_PLATFORM.alreadyExists, GROUP.notFound, GROUP.notAllowedToAdd, GROUP.orgIdUnknown, GROUP.orgIdNotAllowed, GROUP.orgIdConflict, GROUP.orgIdNotFound]
APP.unknown: General Error code not listed in the enum
DELIVERY.unknown: Error code not listed in the enum
DELIVERY.notFound: No found the delivery with given catalog id
DELIVERY.download: Download of delivery item failed
DELIVERY.downloadNotAvailable: Delivery item not yet available for download
DELIVERY.notExist: The Package not exist in storage
DELIVERY.invalid: Package of given catalog id is invalid, maybe expired or some else
DELIVERY.notVerified: Package of given catalog id is not verified, the package can be in valid
DELIVERY.packageTooLarge: Package of given catalog id is too large, no space in cache
DELIVERY.unableClearCache: Some issue occurs when trying to clear cache
PROJECT_MANAGEMENT.unknown: Error code not listed in the enum
PROJECT_MANAGEMENT.labelNotFound: Label with the given id or name was not found
PROJECT_MANAGEMENT.labelAlreadyExists: Label with the given name already exists
PROJECT_MANAGEMENT.labelInUse: Label cannot be deleted as it is being used by projects
MAP.unknown: Error code not listed in the enum
MAP.notFound: No found the map with given id
MAP.bBoxIsInvalid: BBox is probably invalid
MAP.bBoxNotInAnyPolygon: The given BBox in not contains in any polygon
MAP.getRecordsFailed: Failed to get records.MAP.exportMapFailed: Some error occurs when import map
MAP.requestInProgress: Delivery was already requested and in processing!
MAP.areaTooLarge: Area too large to distribute, reduce request size and try again
MAP.areaTooSmall: Area too small to distribute, increase request size and try again . DEVICE.notFound: Device with given id not found.DEVICE_DT_NOT_FOUND: Device type with given id not found.DEVICE_DT_ALREADY_EXISTS: Device type with given name already exists.DEVICE_PLATFORM.notFound: Platform with given id or name not found.DEVICE_PLATFORM_ALREADY_EXISTS: Platform with given name already exists.GROUP_NOT_FOUND: Group with the given id was not found.GROUP_NOT_ALLOWED_TO_ADD: Not allowed to add to the group, see message for cause.GROUP.orgIdUnknown: Organization ID is unknown, see message for cause.GROUP.orgIdNotAllowed: Organization ID is not allowed to be used, see message for cause.GROUP.orgIdConflict: Organization ID conflict occurred.GROUP.orgIdNotFound: Organization ID not found.
{
"software": {
"isNewVersion": true,
"platform": {}
},
"map": {
"products": [
{
"id": "string",
"productId": "string",
"catalogId": "string",
"countries": "string",
"cities": "string",
"resolutionMeter": 0,
"productName": "string",
"productVersion": 0,
"productType": "string",
"imagingTimeBeginUTC": "2026-01-01T11:09:06.627Z",
"imagingTimeEndUTC": "2026-01-01T11:09:06.627Z",
"maxResolutionDeg": 0,
"footprint": "string",
"region": "string",
"ingestionDate": "2026-01-01T11:09:06.627Z"
}
],
"configs": {
"exportMaxResolutionDeg": 0
},
"method": "polygonParts",
"status": "Success",
"error": {
"errorCode": "APP.unknown",
"message": "string"
}
}
}