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