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. // ParamStreamType - name of the parameter for unix timestamp
  36. ParamTimestamp = "ts"
  37. )