From 6480b21ff341dd72c113a8e53add290abd66d25a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Wr=C3=B3bel?= Date: Fri, 16 Oct 2026 21:38:12 +0200 Subject: [PATCH] Document the subscribeToFeed update_interval parameter The API Reference did not list the update_interval parameter that subscribeToFeed accepts since API level 24. --- docs/API-Reference.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/API-Reference.md b/docs/API-Reference.md index d8e0ae2..b21adca 100644 --- a/docs/API-Reference.md +++ b/docs/API-Reference.md @@ -438,6 +438,16 @@ Parameters: * ``feed_url`` - Feed URL (string) * ``category_id`` - Category id to place feed into (defaults to 0, Uncategorized) (int) * ``login``, ``password`` - Self explanatory (string) +* ``update_interval`` (integer, API level 24) - Optional update interval in + minutes. Use `0` for the user's default interval or `-1` to disable + automatic updates. + +If the feed is already subscribed, this method returns status code 0 and +does not change its interval. + +The web feed editor offers 15, 30, 60, 240, 720, 1440, and 10080 minutes. +Other positive values work through the API, but the editor cannot show them. +Saving the editor dialog can replace those values. ### unsubscribeFeed (API level 5 --version:1.7.6)