Applications

Get List of Application Scans

Use this API to retrieve a paginated list of scans associated with a specific application. The response includes each scan's ID, status, and summary data for detected SDKs and permissions.

get/api/cmp/v1/applications/{id}/scans

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/cmp/v1/applications/{id}/scans
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: COOKIE_READ

Path parameters

idstring uuid required

Unique identifier of the application to retrieve scans for

Query parameters

sortBy'status' | 'scanDate' | 'engineVersion'

Field to sort by

direction'asc' | 'desc'

Sort direction

pageinteger

Page number

pageSizeinteger

Page size

Response

OK

totalPagesinteger
totalElementsinteger
sizeinteger
numberinteger
firstboolean
lastboolean
numberOfElementsinteger
emptyboolean

Example response

{
  "content": [
    {
      "scanId": "f2229953-b4b5-4042-8cb9-b78038cc4c46",
      "status": "COMPLETED",
      "sdkCategories": {
        "Strictly Necessary": 10,
        "Performance": 5,
        "Functionality": 3,
        "Targeting": 2,
        "Unknown": 1
      },
      "permissionCategories": {
        "Device Hardware": 4,
        "Accounts": 1,
        "Media": 1,
        "System Notifications": 3,
        "Security": 1
      },
      "scanDate": "2022-01-01T00:00:00.000Z",
      "version": "1.0.0",
      "engineVersion": "2.0.0"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.