[GH-ISSUE #855] Issues with Cache and Ebook Update from Version 1.6 #398

Closed
opened 2026-02-25 23:34:08 +03:00 by kerem · 2 comments
Owner

Originally created by @DesarrolloAntonio on GitHub (Mar 5, 2024).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/855

Data

  • Shiori version: v1.6.0-rc.7

I'm testing the cache update and ebook functionality. With version 1.5, it works correctly, but with version 1.6, I'm encountering problems.
Using the legacy API returns:

<-- 404 Not Found http://192.168.1.12:8080/api/cache (21ms)

Sending the following information:

X-Session-Id: f9acb19e-2670-4d75-bf4b-cdc5a4e81236
{"createArchive":false,"createEbook":false,"ids":[2],"keepMetadata":false}

Should I use the endpoint /api/v1/bookmarks/cache? Should I send the token instead of the X-Session-Id? The response returns 401 Unauthorized with v1

Also, this issue might be related to https://github.com/DesarrolloAntonio/Shiori-Android-Client/issues/2.


Originally created by @DesarrolloAntonio on GitHub (Mar 5, 2024). Original GitHub issue: https://github.com/go-shiori/shiori/issues/855 ## Data - **Shiori version**: v1.6.0-rc.7 I'm testing the cache update and ebook functionality. With version 1.5, it works correctly, but with version 1.6, I'm encountering problems. Using the legacy API returns: ``` <-- 404 Not Found http://192.168.1.12:8080/api/cache (21ms) ``` Sending the following information: ``` X-Session-Id: f9acb19e-2670-4d75-bf4b-cdc5a4e81236 {"createArchive":false,"createEbook":false,"ids":[2],"keepMetadata":false} ``` Should I use the endpoint `/api/v1/bookmarks/cache`? Should I send the token instead of the `X-Session-Id`? The response returns 401 Unauthorized with v1 Also, this issue might be related to [https://github.com/DesarrolloAntonio/Shiori-Android-Client/issues/2](https://github.com/DesarrolloAntonio/Shiori-Android-Client/issues/23). ---
kerem 2026-02-25 23:34:08 +03:00
  • closed this issue
  • added the
    type:bug
    label
Author
Owner

@Monirzadeh commented on GitHub (Mar 5, 2024):

check http://127.0.0.1:8080/swagger/index.html#/Auth/put_api_v1_bookmarks_cache
you should send request to /api/v1/bookmarks/cache with something like this

{
  "create_archive": true,
  "create_ebook": true,
  "ids": [
    0
  ],
  "keep_metadata": true,
  "skip_exist": false
}

camelName change to snake_name too beside endpoint.

<!-- gh-comment-id:1979193722 --> @Monirzadeh commented on GitHub (Mar 5, 2024): check http://127.0.0.1:8080/swagger/index.html#/Auth/put_api_v1_bookmarks_cache you should send request to `/api/v1/bookmarks/cache` with something like this ``` { "create_archive": true, "create_ebook": true, "ids": [ 0 ], "keep_metadata": true, "skip_exist": false } ``` camelName change to snake_name too beside endpoint.
Author
Owner

@DesarrolloAntonio commented on GitHub (Mar 5, 2024):

Thanks

<!-- gh-comment-id:1979282871 --> @DesarrolloAntonio commented on GitHub (Mar 5, 2024): Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#398
No description provided.