Skip to content

Let different endpoint handle the same collection #2

Description

@teone

For example:

/posts and /articles should both manage the text collection. A possible approach is:

[
  {
    "url": "post",
    "base": "api/",
    "methods": ["GET", "POST"],
    "param": "id",
    "collection": "text"
  },
  {
    "url": "SCA_ETH_FDFr_EC",
    "base": "api/",
    "methods": ["GET", "POST"],
    "param": "id",
    "collection": "text"
  }
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions