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
It'd require a Session entity being added, and likely a RefreshToken entity. The API puts refresh tokens in an array called sessions but it is not look like the same entity from the documented schema.
Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
I'm looking at creating a PR here. According to the docs, the sessions and refresh tokens URLs do not support "classic" pagination, only the "next"/"take" approach which seems to be called checkpoint pagination in the code base. The current codebase doesn't seems to support a pagination concept without the properties start/length/total and limit. The "next" property is always consumed in addition.
My suggestion is to not use the Page abstract in these instances, as they add a number of properties that are not expected to be on the responses.
Is that approach acceptable?
jak
linked a pull request
Jun 26, 2024
that will
close
this issue
Yes, the approach is acceptable. This CheckpointPage class can be used for responses that follow the checkpoint pagination approach, avoiding the unnecessary properties from the Page abstract class.
Checklist
Describe the problem you'd like to have solved
I'd like to access these resources:
Describe the ideal solution
Something like:
It'd require a
Session
entity being added, and likely aRefreshToken
entity. The API puts refresh tokens in an array calledsessions
but it is not look like the same entity from the documented schema.Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: