payload.go 529 B

1234567891011121314151617181920212223
  1. // SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
  2. // SPDX-License-Identifier: Apache-2.0
  3. package api // import "miniflux.app/v2/internal/api"
  4. import (
  5. "miniflux.app/v2/internal/model"
  6. )
  7. type feedIconResponse struct {
  8. ID int64 `json:"id"`
  9. MimeType string `json:"mime_type"`
  10. Data string `json:"data"`
  11. }
  12. type entriesResponse struct {
  13. Total int `json:"total"`
  14. Entries model.Entries `json:"entries"`
  15. }
  16. type feedCreationResponse struct {
  17. FeedID int64 `json:"feed_id"`
  18. }