2021-01-04 16:49:28 -05:00
|
|
|
// Copyright 2020 Frédéric Guillot. All rights reserved.
|
|
|
|
// Use of this source code is governed by the Apache 2.0
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package model // import "miniflux.app/model"
|
|
|
|
|
|
|
|
// SubscriptionDiscoveryRequest represents a request to discover subscriptions.
|
|
|
|
type SubscriptionDiscoveryRequest struct {
|
2021-02-21 16:42:49 -05:00
|
|
|
URL string `json:"url"`
|
|
|
|
UserAgent string `json:"user_agent"`
|
2021-03-22 23:27:58 -04:00
|
|
|
Cookie string `json:"cookie"`
|
2021-02-21 16:42:49 -05:00
|
|
|
Username string `json:"username"`
|
|
|
|
Password string `json:"password"`
|
|
|
|
FetchViaProxy bool `json:"fetch_via_proxy"`
|
|
|
|
AllowSelfSignedCertificates bool `json:"allow_self_signed_certificates"`
|
2021-01-04 16:49:28 -05:00
|
|
|
}
|