Aggregate OpenSSH certificates

Aggregate on OpenSSH certificates using a certificate aggregation query

Body required
application/json

The certificate aggregation query

query
string

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

groupBy
array of string

The field that the aggregation will take place on

withCount
boolean

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

sortOrder
string
Enum Asc Desc KeyAsc KeyDesc
limit
integer

In case of an aggregate sending a lot of different results, how many must be sent back

having
object (Having)

A condition to apply to the result. Only the aggregates results with more than 5 certificates in them can be kept for example

Responses
  • 200 The aggregation result
    items
    array of object required

    All the groups in this aggregate

    count
    integer

    The total number of certificates matching the query

  • 400 Bad Request
  • 401 Unauthorized request
  • 403 Forbidden action
  • 500 Internal Server error