Merge remote-tracking branch 'upstream/master'

pull/133/head
Steve Clement 2018-11-01 16:30:30 +09:00
commit bc2673d91f
1 changed files with 8 additions and 1 deletions

View File

@ -1692,7 +1692,7 @@ A feed can be disabled by POSTing on the following URL (feed_id is the id of the
/feeds/disable/feed_id /feeds/disable/feed_id
~~~~ ~~~~
All feeds can fetch via the API: All feeds can cached via the API:
~~~~ ~~~~
/feeds/cacheFeeds/all /feeds/cacheFeeds/all
@ -1701,6 +1701,13 @@ All feeds can fetch via the API:
or you can replace `all` by the feed format to fetch like `misp` or `freetext`. `all` can be replaced or you can replace `all` by the feed format to fetch like `misp` or `freetext`. `all` can be replaced
with the `id` value of the feed to fetch a specific feed. with the `id` value of the feed to fetch a specific feed.
To fetch a feed or all feeds:
~~~~
/feeds/fetchFromFeed/feed_id
/feeds/fetchFromAllFeeds
~~~~
This API can be also used to download feeds at regular interval via cronjobs or alike. This API can be also used to download feeds at regular interval via cronjobs or alike.