aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <f@miniflux.net> 2020-12-13 20:31:19 -0800
committerGravatar fguillot <f@miniflux.net> 2020-12-13 20:42:41 -0800
commit4e5240c5ac94723802615cdbc2d9f890866b0531 (patch)
tree5f7de538912502022573f70910562e21b722a932 /client
parent5922a7a0515ed8e8b02c9cfda25c59b1ca3cd8a3 (diff)
downloadv2-4e5240c5ac94723802615cdbc2d9f890866b0531.tar.gz
v2-4e5240c5ac94723802615cdbc2d9f890866b0531.tar.zst
v2-4e5240c5ac94723802615cdbc2d9f890866b0531.zip
Allow ignore_http_cache field to be changed via API
Diffstat (limited to 'client')
-rw-r--r--client/core.go27
1 files changed, 15 insertions, 12 deletions
diff --git a/client/core.go b/client/core.go
index ddb8f3eb..29daeff5 100644
--- a/client/core.go
+++ b/client/core.go
@@ -103,18 +103,21 @@ type Feed struct {
// FeedModification represents changes for a feed.
type FeedModification struct {
- FeedURL *string `json:"feed_url"`
- SiteURL *string `json:"site_url"`
- Title *string `json:"title"`
- ScraperRules *string `json:"scraper_rules"`
- RewriteRules *string `json:"rewrite_rules"`
- BlocklistRules *string `json:"blocklist_rules"`
- KeeplistRules *string `json:"keeplist_rules"`
- Crawler *bool `json:"crawler"`
- UserAgent *string `json:"user_agent"`
- Username *string `json:"username"`
- Password *string `json:"password"`
- CategoryID *int64 `json:"category_id"`
+ FeedURL *string `json:"feed_url"`
+ SiteURL *string `json:"site_url"`
+ Title *string `json:"title"`
+ ScraperRules *string `json:"scraper_rules"`
+ RewriteRules *string `json:"rewrite_rules"`
+ BlocklistRules *string `json:"blocklist_rules"`
+ KeeplistRules *string `json:"keeplist_rules"`
+ Crawler *bool `json:"crawler"`
+ UserAgent *string `json:"user_agent"`
+ Username *string `json:"username"`
+ Password *string `json:"password"`
+ CategoryID *int64 `json:"category_id"`
+ Disabled *bool `json:"disabled"`
+ IgnoreHTTPCache *bool `json:"ignore_http_cache"`
+ FetchViaProxy *bool `json:"fetch_via_proxy"`
}
// FeedIcon represents the feed icon.