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
When calling ListOriginCACertificates I would prefer to be able to get a list of all certificates, or be able to go page-by-page.
Actual output
When calling ListOriginCACertificates there is no option to add pagination options, which results in only getting 20 results from the API. The ListParams only supports zoneID
Code demonstrating the issue
# clientisawrapperfor cloudflare.APIcerts, err:=client.API.ListOriginCACertificates(ctx, cloudflare.ListOriginCertificatesParams{ZoneID: client.ZoneID})
iferr!=nil {
cmd.PrintErrf("Could not list certificates: %v\n", err)
returnerr
}
cmd.Printf("Certs: %d", len(certs))
Steps to reproduce
Create some sample certs (+20)
List them in the API
Only get first 20 results
References
No response
The text was updated successfully, but these errors were encountered:
Confirmation
cloudflare-go version
0.80.0 and 0.86.0
Go environment
Expected output
When calling
ListOriginCACertificates
I would prefer to be able to get a list of all certificates, or be able to go page-by-page.Actual output
When calling
ListOriginCACertificates
there is no option to add pagination options, which results in only getting 20 results from the API. The ListParams only supports zoneIDCode demonstrating the issue
Steps to reproduce
References
No response
The text was updated successfully, but these errors were encountered: