Filter binaries

POST
https://daas.digicert.com/apicontroller/v1/certificate/binaries/filter

Use this endpoint to get a list of binaries based on the filter criteria selected.

cURL
curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/certificate/binaries/filter' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw 
'{
    "accountId": 5153184,
    "searchCriteriaList": [{
        "key": "isSignedBinaries",
        "operation": "EQUALS",
        "value": ["Yes"]
    }],
    "divisionIds": [],
    "startIndex": 1,
    "pageSize": 50,
    "filterSelected": "algorithms",
    "sortedColumnId": "fileName",
    "sortOrder": "ASC"
}'
200 OK
{
    "error": null,
    "data": {
        "filterName": "algorithms",
        "displayName": "Algorithms",
        "values": ["3DES", "AES", "DES", "DSA", "ECDSA", "ED25519", "MD5", "RSA", "SHA1", "SHA2", "SHA256"]
    }
}

Request parameters

Name Req/Opt Type Description
accountId required string Account ID.
searchCriteriaList optional array Filter results by specified values.
The array includes key, operation and value.
For definitions, see the Filter options for searchCriteriaList table below.
Example: searchCriteriaList:[{"key":"isSignedBinaries","operation":"EQUALS","value":["Yes"]}]
divisionIds required array User's division IDs.
startIndex optional integer Index of the first result.
Default1
pageSize optional integer Number of records per page.
Allowed values0 to 512
Default50
filterSelected required string The value to show in the results for each binary that meets the search criteria.
DefaultfileName
Allowed values: algorithm, fileName, filePath, scanName, source, serverHost, isSignedBinaries, fileType, tags, dateSignedOn.
sortedColumnId optional string Sort results by specified parameter.
DefaultfileName
Allowed values: algorithm, fileName, filePath, scanName, source, serverHost, isSignedBinaries, fileType, tags, dateSignedOn.
sortOrder optional string Sort direction.
Allowed values: DESC (descending: 9-0, Z-A), ASC (ascending: 0-9, A-Z)
Default: ASC

Response parameters

Name Type Description
error object Includes error codes, if any.
data object Object with information about the filter results.
.. filterName string Specified filter key.
.. displayName string Name of the filter key as it appears in the UI.
.. values array List of items that meet the search criteria. The value shown is the value set for the filterSelected parameter in the request body.

Filter options for searchCriteriaList

The array includes key, operation and value.

Key Operation Value
algorithm EQUALS Hashing algorithm
fileName EQUALS Name of the file
filePath EQUALS Path to the file
scanName EQUALS Name of the scan
source EQUALS Source used for the scan
serverHost EQUALS Server host associated with the certificate
isSignedBinaries EQUALS Whether binaries signed
fileType EQUALS Type of the file
tags EQUALS Custom tags associated
dateSignedOn EQUALS Signing date