Export certificates

Send a certificate search query (in HCQL format) and return the certificate search results in CSV format

Body required
text/json

The certificate search query

query
string | null

The HCQL query to use for the search, represents the way to filter certificates. If not specified, it will filter nothing

fields
array of string | null

The fields to be returned by the search. If this parameter is not specified, everything is returned by default. If this parameter is equal to an empty array, only the _id field is returned.

sortedBy
array of objects | null (SortElement)

The way to sort the search results.

pageIndex
integer | null

The index of the page to retrieve

pageSize
integer | null

The maximum number of items to retrieve for one page

withCount
boolean | null

If set to true, the total count of certificates matching the HCQL query will be returned.

Responses
  • 200 The certificate search results in CSV format
  • 204 No certificate found
  • 400 Bad request
  • 401 Unauthorized request
  • 403 Unauthorized request
  • 500 Internal server error