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

[Google Reader API] Calling "edit-tag" silently fails #2172

Closed
martinrotter opened this issue Nov 7, 2023 · 3 comments
Closed

[Google Reader API] Calling "edit-tag" silently fails #2172

martinrotter opened this issue Nov 7, 2023 · 3 comments
Labels
bug Bug Report

Comments

@martinrotter
Copy link

Calling edit-tag API call from RSS Guard (from a code which is used for all Greader-API compatible clients and generally works - tested with many other clients like Reedah, Inoreader, FreshRSS) silently fails.

Endpoint: https://rss.octavianflorea.net/reader/api/0/edit-tag (marking selected item IDs as read)
POST data:

a=user/-/state/com.google/read&i=tag:google.com,2005:reader/item/000000000002292e&i=tag:google.com,2005:reader/item/0000000000022942&i=tag:google.com,2005:reader/item/000000000002293b&i=tag:google.com,2005:reader/item/0000000000022947&i=tag:google.com,2005:reader/item/000000000002291a&i=tag:google.com,2005:reader/item/0000000000022930&i=tag:google.com,2005:reader/item/0000000000022945&i=tag:google.com,2005:reader/item/0000000000022941&i=tag:google.com,2005:reader/item/000000000002292d&i=tag:google.com,2005:reader/item/0000000000022936&i=tag:google.com,2005:reader/item/000000000002290e&i=tag:google.com,2005:reader/item/0000000000022923&i=tag:google.com,2005:reader/item/0000000000022920&i=tag:google.com,2005:reader/item/0000000000022934&i=tag:google.com,2005:reader/item/0000000000022950&i=tag:google.com,2005:reader/item/0000000000022938&i=tag:google.com,2005:reader/item/0000000000022917&i=tag:google.com,2005:reader/item/000000000002293d&i=tag:google.com,2005:reader/item/0000000000022949&i=tag:google.com,2005:reader/item/000000000002293c&i=tag:google.com,2005:reader/item/0000000000022915&i=tag:google.com,2005:reader/item/0000000000022911&i=tag:google.com,2005:reader/item/000000000002294a&i=tag:google.com,2005:reader/item/000000000002293e&i=tag:google.com,2005:reader/item/000000000002292b&i=tag:google.com,2005:reader/item/000000000002294f&i=tag:google.com,2005:reader/item/000000000002291c&i=tag:google.com,2005:reader/item/0000000000022932&i=tag:google.com,2005:reader/item/0000000000022937&i=tag:google.com,2005:reader/item/000000000002294b&i=tag:google.com,2005:reader/item/0000000000022918&i=tag:google.com,2005:reader/item/000000000002291e&i=tag:google.com,2005:reader/item/0000000000022940&i=tag:google.com,2005:reader/item/0000000000022943&i=tag:google.com,2005:reader/item/0000000000022929&i=tag:google.com,2005:reader/item/0000000000022946&i=tag:google.com,2005:reader/item/0000000000022925&i=tag:google.com,2005:reader/item/0000000000022921&i=tag:google.com,2005:reader/item/0000000000022948&i=tag:google.com,2005:reader/item/0000000000022944&i=tag:google.com,2005:reader/item/000000000002294c&i=tag:google.com,2005:reader/item/000000000002294d&i=tag:google.com,2005:reader/item/0000000000022951&i=tag:google.com,2005:reader/item/0000000000022939&i=tag:google.com,2005:reader/item/0000000000022913&i=tag:google.com,2005:reader/item/0000000000022952&i=tag:google.com,2005:reader/item/000000000002294e&i=tag:google.com,2005:reader/item/000000000002293a&i=tag:google.com,2005:reader/item/0000000000022927&i=tag:google.com,2005:reader/item/000000000002293f&T=mrotter/c23075e3d394aae43f9b227405b1a7112178404b

Output: "OK" (HTTP/200)

Sadly, the item IDs are not clearly marked as read, because subsequent call described in #2171 returns all items as unread again.

@fguillot
Copy link
Member

fguillot commented Nov 8, 2023

Issue #2171 should be fixed by PR #2176.

I tested this API call manually and the item is marked as read:

curl -X POST \
-s \
-H "Authorization: GoogleLogin auth=test/ad1f5bb4e852eba21175fe183e20efae56c0423e" \
"http://127.0.0.1:8080/reader/api/0/edit-tag" \
-d "a=user/-/state/com.google/read" \
-d "i=tag:google.com,2005:reader/item/0000000000000021" \
-d "T=test/ad1f5bb4e852eba21175fe183e20efae56c0423e"

Am I missing something?

@martinrotter
Copy link
Author

will re-test, thanks

@martinrotter
Copy link
Author

martinrotter commented Nov 10, 2023

It works now, closing. Issue was caused by #2183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug Report
Development

No branches or pull requests

2 participants