[GH-ISSUE #819] Implementing Cache Update Feature in Android Client #388

Closed
opened 2026-02-25 23:34:07 +03:00 by kerem · 1 comment
Owner

Originally created by @DesarrolloAntonio on GitHub (Jan 23, 2024).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/819

Hello,

I am currently developing a feature for updating the cache from an Android client in my app. I would appreciate some guidance on how to handle the API connections for implementing this feature. Specifically, I am looking for information on:

  • The relevant API endpoints that should be used for cache management.
  • Any specific request parameters required for these API calls.

Thanks.

Originally created by @DesarrolloAntonio on GitHub (Jan 23, 2024). Original GitHub issue: https://github.com/go-shiori/shiori/issues/819 Hello, I am currently developing a feature for updating the cache from an Android client in my app. I would appreciate some guidance on how to handle the API connections for implementing this feature. Specifically, I am looking for information on: - The relevant API endpoints that should be used for cache management. - Any specific request parameters required for these API calls. Thanks. <img src="https://github.com/go-shiori/shiori/assets/7002198/fb3208fd-8931-44fb-8a91-9d6d43f46da1" width="200">
kerem closed this issue 2026-02-25 23:34:07 +03:00
Author
Owner

@Monirzadeh commented on GitHub (Jan 23, 2024):

in shiori v1.6 you can see that in http://127.0.0.1:8080/swagger/index.html#/Auth/put_api_v1_bookmarks_cache
in general you should send a request to the

/api/v1/bookmarks/cache

with something like this

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

ids of bookmark you can request one id bookmark or multiple bookmark in batch mode.
if skip_exist be true ebook will not update if ebook file exist on server and just create ebook for bookmark that don't have ebook. (useful when you just want request download ebook in batch mode)

<!-- gh-comment-id:1905666837 --> @Monirzadeh commented on GitHub (Jan 23, 2024): in shiori v1.6 you can see that in `http://127.0.0.1:8080/swagger/index.html#/Auth/put_api_v1_bookmarks_cache` in general you should send a request to the ``` /api/v1/bookmarks/cache ``` with something like this ``` { "create_archive": true, "create_ebook": true, "ids": [ 0 ], "keep_metadata": true, "skip_exist": true } ``` ids of bookmark you can request one id bookmark or multiple bookmark in batch mode. if `skip_exist` be true ebook will not update if ebook file exist on server and just create ebook for bookmark that don't have ebook. (useful when you just want request download ebook in batch mode)
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#388
No description provided.