payload.go 552 B

123456789101112131415161718192021222324
  1. // Copyright 2017 Frédéric Guillot. All rights reserved.
  2. // Use of this source code is governed by the Apache 2.0
  3. // license that can be found in the LICENSE file.
  4. package api // import "miniflux.app/api"
  5. import (
  6. "miniflux.app/model"
  7. )
  8. type feedIconResponse struct {
  9. ID int64 `json:"id"`
  10. MimeType string `json:"mime_type"`
  11. Data string `json:"data"`
  12. }
  13. type entriesResponse struct {
  14. Total int `json:"total"`
  15. Entries model.Entries `json:"entries"`
  16. }
  17. type feedCreationResponse struct {
  18. FeedID int64 `json:"feed_id"`
  19. }