mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(indexers): test API from settings (#829)
* refactor(indexers): test api clients * feat(indexers): test api connection * fix(indexers): api client tests * refactor: indexer api clients * feat: add Toasts for indexer api tests * fix: failing red tests
This commit is contained in:
parent
fb9dcc23a0
commit
f3cfeed8cd
19 changed files with 475 additions and 191 deletions
|
@ -350,3 +350,10 @@ func (t TorrentBasic) ReleaseSizeBytes() uint64 {
|
|||
}
|
||||
return releaseSizeBytes
|
||||
}
|
||||
|
||||
type IndexerTestApiRequest struct {
|
||||
IndexerId int `json:"id,omitempty"`
|
||||
Identifier string `json:"identifier,omitempty"`
|
||||
ApiUser string `json:"api_user,omitempty"`
|
||||
ApiKey string `json:"api_key"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue