parameters.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
  2. // SPDX-License-Identifier: Apache-2.0
  3. package googlereader // import "miniflux.app/v2/internal/googlereader"
  4. const (
  5. // paramItemIDs - name of the parameter with the item ids
  6. paramItemIDs = "i"
  7. // paramStreamID - name of the parameter containing the stream to be included
  8. paramStreamID = "s"
  9. // paramStreamExcludes - name of the parameter containing streams to be excluded
  10. paramStreamExcludes = "xt"
  11. // paramStreamFilters - name of the parameter containing streams to be included
  12. paramStreamFilters = "it"
  13. // paramStreamMaxItems - name of the parameter containing number of items per page/max items returned
  14. paramStreamMaxItems = "n"
  15. // paramStreamOrder - name of the parameter containing the sort criteria
  16. paramStreamOrder = "r"
  17. // paramStreamStartTime - name of the parameter containing epoch timestamp, filtering items older than
  18. paramStreamStartTime = "ot"
  19. // paramStreamStopTime - name of the parameter containing epoch timestamp, filtering items newer than
  20. paramStreamStopTime = "nt"
  21. // paramTagsRemove - name of the parameter containing tags (streams) to be removed
  22. paramTagsRemove = "r"
  23. // paramTagsAdd - name of the parameter containing tags (streams) to be added
  24. paramTagsAdd = "a"
  25. // paramSubscribeAction - name of the parameter indicating the action to take for subscription/edit
  26. paramSubscribeAction = "ac"
  27. // paramTitle - name of the parameter for the title of the subscription
  28. paramTitle = "t"
  29. // paramQuickAdd - name of the parameter for a URL being quick subscribed to
  30. paramQuickAdd = "quickadd"
  31. // paramDestination - name of the parameter for the new name of a tag
  32. paramDestination = "dest"
  33. // paramContinuation - name of the parameter for callers to pass to receive the next page of results
  34. paramContinuation = "c"
  35. // paramTimestamp - name of the parameter for unix timestamp
  36. paramTimestamp = "ts"
  37. )