miniflux / v2

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

[FR] Provide an API to know if the third-party services integration settings are configured #2861

Closed AiraNadih closed 1 month ago

AiraNadih commented 1 month ago

I have reviewed the documentation multiple times but couldn't find an API that allows checking whether the third-party services integration settings are configured. If such an API already exists, could you please point me to the relevant documentation? If not, I would like to request the implementation of an API endpoint that provides the ability to determine if third-party services integration settings are configured or not.

This feature would be particularly helpful in scenarios where we need to decide whether or not to display Save option in the UI, based on the configuration status of third-party services.

AiraNadih commented 1 month ago

If I'm not mistaken, this is the relevant logic:

https://github.com/miniflux/v2/blob/faa70f3019eed19dec04b26c82199983d3324cbd/internal/storage/integration.go#L545-L582