miniflux-v2/api/payload.go

24 lines
511 B
Go
Raw Normal View History

// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
2017-11-20 06:10:04 +01:00
package api // import "miniflux.app/v2/api"
2017-11-20 06:10:04 +01:00
import (
"miniflux.app/v2/model"
2017-11-20 06:10:04 +01:00
)
type feedIconResponse struct {
ID int64 `json:"id"`
MimeType string `json:"mime_type"`
Data string `json:"data"`
}
type entriesResponse struct {
2017-11-20 06:10:04 +01:00
Total int `json:"total"`
Entries model.Entries `json:"entries"`
}
type feedCreationResponse struct {
FeedID int64 `json:"feed_id"`
}