Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Okta Exam Okta-Certified-Administrator Topic 9 Question 22 Discussion

Actual exam question for Okta's Okta-Certified-Administrator exam
Question #: 22
Topic #: 9
[All Okta-Certified-Administrator Questions]

When you call a GET API call for users / groups / and other such objects, the response is usually Paginated, in case these are a lot of objects returned. What do you do in order to retrieve all objects?

Solution: You call the very same API multiple times, till the response will be empty

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Eric
25 days ago
The solution is to call the API repeatedly until it's empty? That's like trying to fill a bucket with a hole in the bottom.
upvoted 0 times
...
Ayesha
27 days ago
I'm pretty sure there's a better way to do this than just spamming the API. Maybe we could use something like cursor-based pagination or offset-based pagination?
upvoted 0 times
...
Mel
29 days ago
Wait, so the correct answer is to just keep calling the same API over and over? That's like the digital equivalent of knocking on the same door until someone answers.
upvoted 0 times
...
Hyun
1 months ago
Haha, so the solution is to spam the API until it gives up? I guess that's one way to do it.
upvoted 0 times
Barbra
16 days ago
A
upvoted 0 times
...
Christiane
21 days ago
B
upvoted 0 times
...
Tawny
28 days ago
A
upvoted 0 times
...
...
Ula
1 months ago
Calling the API multiple times until the response is empty? Seems like a lot of work. Can't we just use pagination instead?
upvoted 0 times
Apolonia
8 days ago
Yes
upvoted 0 times
...
Gilberto
21 days ago
No
upvoted 0 times
...
Tequila
21 days ago
Yes
upvoted 0 times
...
...
Mammie
2 months ago
I think the solution provided makes sense. We just need to keep calling the API until we get an empty response.
upvoted 0 times
...
Paris
2 months ago
B) No
upvoted 0 times
...
Mammie
2 months ago
A) Yes
upvoted 0 times
...

Save Cancel