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

state token for library requests #93

Open
mkb79 opened this issue May 9, 2022 · 2 comments
Open

state token for library requests #93

mkb79 opened this issue May 9, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation skip-stale Skip issue or pull request to be marked as stale stale

Comments

@mkb79
Copy link
Owner

mkb79 commented May 9, 2022

A library response returns a 13-digit numeric state-token in the response headers.

Using this state token in the url query on the next request like /1.0/library?state_token=1234567654321 will return only changes since the state take was given.

If there are no new content, the json response body items list is empty, the total-count header entry is 0 and the state token is in the header is unchanged. If there are changes in the library, a new state token is obtained, which should be used next time.

@mkb79
Copy link
Owner Author

mkb79 commented May 27, 2022

Discussions to this topic can be found here.

@github-actions
Copy link

This issue has not been updated for a while and will be closed soon.

@github-actions github-actions bot added the stale label Sep 27, 2023
@mkb79 mkb79 added the skip-stale Skip issue or pull request to be marked as stale label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation skip-stale Skip issue or pull request to be marked as stale stale
Projects
None yet
Development

No branches or pull requests

1 participant