Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Find-TppCertificate does not appear to support "offset" #92

Closed
jmeldrum76 opened this issue May 1, 2020 · 2 comments
Closed

Find-TppCertificate does not appear to support "offset" #92

jmeldrum76 opened this issue May 1, 2020 · 2 comments

Comments

@jmeldrum76
Copy link

Hi,

I have been using several of your functions, which are pretty incredible. It appears that the Find-TppCertificate function does not support offset but does support limit. See Venafi documentation for more information. Here is a screenshot of the doc.

https://docs.venafi.com/Docs/20.1SDK/TopNav/Content/SDK/WebSDK/r-SDK-GET-Certificates.php?tocpath=Web%20SDK%20reference%7CCertificates%20programming%20interface%7C_____4

image

Thanks for all the work you do.

Jeremy Meldrum

@gdbarron
Copy link
Owner

gdbarron commented May 5, 2020

Hi again. The one question I have with this is related to "paging". The docs state to use offset and limit together to achieve paging, but doesn't state how many items are in a page. If I use their example, I start at page 5, go to page 14 (10 pages), but how many items is that?

@gdbarron gdbarron mentioned this issue May 23, 2020
@gdbarron
Copy link
Owner

I did some testing and limit and offset don't seem to actually perform paging, but work as you would expect -First and -Skip to. I've added the offset param.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants