GET Analytics Certificates Count Collections
The GET /Analytics/Certificates/Count/Collections method returns the number of active certificates for a given list of collections. This method returns HTTP 200 OK on a success with the certificate count and details.
Permissions for certificates can be configured at multiple levels. You can apply them system-wide—for all certificates—or use fine-grained control by assigning permissions at the certificate collection level. The appropriate level depends on how the certificates are accessed. See Certificate Collection Permissions for more information about system-wide versus more targeted permission models.
Table 228: GET Analytics Certificates Count Collections Input Parameters
| Name | In | Description |
|---|---|---|
| collectionIds | Query |
Optional. An integer that represents the ID of the collection to query to generate the certificate count. Multiple IDs may be specified. Use 0 for All Certificates (built-in collection). If no collectionIds are passed in, an empty response is returned. Tip: In the Keyfactor API Reference and Utility, click the Add integer item button on the Collectionids input parameter to enter the ID for each collection you wish to query.
Use the GET Certificate Collections method to retrieve a list of all the certificate collections to determine the collection ID. |
Table 229: GET Analytics Certificates Count Collections Response Data
| Name | In | Description |
|---|---|---|
| Id | Body | An integer that represents the ID of the collection. |
| Name | Body | A string with the name of the collection. |
| Count | Body |
An integer that represents the count of certificates in the collection queried. |
Was this page helpful? Provide Feedback