You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have come across a strange behavior when searching for certificates using the endpoint /v2/certificate/search. The pagination_summary.total_certs field does not reflect the total number of certificates present for the given query. Instead it reflects the number of certificates in the response. This behavior changes once the last page is fetched, and the total number of certificates is reflected.
For instance:
Assume that the number of certificates present is 12
In the docs, it says that pagination is optional and omitting it would result in total_certs to be in the response. However, I get 500: General Error when I omit pagination.
Is there any way to get the value of total_certs for a given criteria?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Version: 1.0,
Revision: EJBCA 8.2.0 Enterprise
I have come across a strange behavior when searching for certificates using the endpoint
/v2/certificate/search
. Thepagination_summary.total_certs
field does not reflect the total number of certificates present for the given query. Instead it reflects the number of certificates in the response. This behavior changes once the last page is fetched, and the total number of certificates is reflected.For instance:
First request body:
The resulting response body:
Second request body:
The resulting response body:
Third request body:
The resulting response body:
In the docs, it says that pagination is optional and omitting it would result in
total_certs
to be in the response. However, I get500: General Error
when I omit pagination.Is there any way to get the value of
total_certs
for a given criteria?Beta Was this translation helpful? Give feedback.
All reactions