miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.97k stars 727 forks source link

Latest Shiori integration API update #2925

Closed tiesselune closed 2 weeks ago

tiesselune commented 2 weeks ago

Guidelines

Pull request motivation

Shiori is udating its API to make it RESTful and is adopting the new endpoints gradually. The Login/Auth flow has changed, and the old API is not available in latest stable Shiori (at the time, 1.7.1), making the integration fail to login with a 404 error.

This pull request fixes #2074 with Shiori 1.7.1

This Pull Request updates the auth flow in the Shiori integration with new API endpoints and new fields in the API.

This version works against latest stable Shiori API.

Please note : Unfortunately, the /api/bookmarks POST API has not been migrated yet, and another pull request will be necessary if/when the old API is removed. Until then, this pull request fixes the current Shiori integration.