payload.go 805 B

123456789101112131415161718192021222324252627282930313233
  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. }
  19. type versionResponse struct {
  20. Version string `json:"version"`
  21. Commit string `json:"commit"`
  22. BuildDate string `json:"build_date"`
  23. GoVersion string `json:"go_version"`
  24. Compiler string `json:"compiler"`
  25. Arch string `json:"arch"`
  26. OS string `json:"os"`
  27. }