2023-06-19 14:42:47 -07:00
|
|
|
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2017-11-19 21:10:04 -08:00
|
|
|
|
2023-08-10 19:46:45 -07:00
|
|
|
package api // import "miniflux.app/v2/internal/api"
|
2017-11-19 21:10:04 -08:00
|
|
|
|
|
|
|
import (
|
2023-08-10 19:46:45 -07:00
|
|
|
"miniflux.app/v2/internal/model"
|
2017-11-19 21:10:04 -08:00
|
|
|
)
|
|
|
|
|
2020-12-13 20:31:19 -08:00
|
|
|
type feedIconResponse struct {
|
2017-12-16 11:25:18 -08:00
|
|
|
ID int64 `json:"id"`
|
|
|
|
MimeType string `json:"mime_type"`
|
|
|
|
Data string `json:"data"`
|
|
|
|
}
|
|
|
|
|
2018-01-02 22:04:48 -08:00
|
|
|
type entriesResponse struct {
|
2017-11-19 21:10:04 -08:00
|
|
|
Total int `json:"total"`
|
|
|
|
Entries model.Entries `json:"entries"`
|
|
|
|
}
|
|
|
|
|
2020-12-13 20:31:19 -08:00
|
|
|
type feedCreationResponse struct {
|
|
|
|
FeedID int64 `json:"feed_id"`
|
|
|
|
}
|
2023-10-08 15:21:38 -07: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"`
|
|
|
|
}
|