Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p 4, sec 4.1. The "offset" Query Parameter #6

Open
flycoolman opened this issue Dec 24, 2024 · 3 comments
Open

p 4, sec 4.1. The "offset" Query Parameter #6

flycoolman opened this issue Dec 24, 2024 · 3 comments
Assignees

Comments

@flycoolman
Copy link

(1) p 4, sec 4.1. The "offset" Query Parameter

If the "offset" query parameter value supplied is larger than the
number of instances in the list or leaf-list target resource, the
MUST contain error-app-tag with value "offset-out-of-
range".

This reads to me that the offset is checked against the total number of list entries, whereas the base draft seems to suggest that it against the result-set after filtering. Hence, I suspect that this text should be aligned to the base pagination draft.

@billwuqin
Copy link
Contributor

@billwuqin
Copy link
Contributor

Align with list pagination base draft on the baseline to be against.

@billwuqin billwuqin self-assigned this Jan 27, 2025
@billwuqin
Copy link
Contributor

If my understanding is correct, the Result set is only used in the response message to return all the results matched.
while we say the offset is checked against the total number of list entries, I don't think offset is checked against the result set. otherwise, why should we define remaining parameter.

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

No branches or pull requests

2 participants