2023-06-19 17:42:47 -04:00
|
|
|
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2017-11-20 00:10:04 -05:00
|
|
|
|
2023-08-10 22:46:45 -04:00
|
|
|
package api // import "miniflux.app/v2/internal/api"
|
2017-11-20 00:10:04 -05:00
|
|
|
|
|
|
|
import (
|
2023-08-10 22:46:45 -04:00
|
|
|
"miniflux.app/v2/internal/model"
|
2017-11-20 00:10:04 -05:00
|
|
|
)
|
|
|
|
|
2020-12-13 23:31:19 -05:00
|
|
|
type feedIconResponse struct {
|
2017-12-16 14:25:18 -05:00
|
|
|
ID int64 `json:"id"`
|
|
|
|
MimeType string `json:"mime_type"`
|
|
|
|
Data string `json:"data"`
|
|
|
|
}
|
|
|
|
|
2018-01-03 01:04:48 -05:00
|
|
|
type entriesResponse struct {
|
2017-11-20 00:10:04 -05:00
|
|
|
Total int `json:"total"`
|
|
|
|
Entries model.Entries `json:"entries"`
|
|
|
|
}
|
|
|
|
|
2020-12-13 23:31:19 -05:00
|
|
|
type feedCreationResponse struct {
|
|
|
|
FeedID int64 `json:"feed_id"`
|
|
|
|
}
|
2023-10-08 18:21:38 -04:00
|
|
|
|
|
|
|
type versionResponse struct {
|
|
|
|
Version string `json:"version"`
|
|
|
|
Commit string `json:"commit"`
|
|
|
|
BuildDate string `json:"build_date"`
|
|
|
|
GoVersion string `json:"go_version"`
|
|
|
|
Compiler string `json:"compiler"`
|
|
|
|
Arch string `json:"arch"`
|
|
|
|
OS string `json:"os"`
|
|
|
|
}
|