Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Construct endpoints with chained datasources #216

Closed
adamkdean opened this issue Sep 8, 2017 · 1 comment
Closed

Construct endpoints with chained datasources #216

adamkdean opened this issue Sep 8, 2017 · 1 comment

Comments

@adamkdean
Copy link
Contributor

It would be great if we could construct endpoints using values from chained datasources in the same way that we construct filters.

{
  "datasource": {
    "key": "models",
    "source": {
      "endpoint": "api/models/{makeId}"
    },
    "chained": {
      "datasource": "makes",
      "outputParam": {
        "param": "results.0._id",
        "field": "makeId"
      }
    }
  }
}
@jimlambie
Copy link
Contributor

Closed via #297

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

No branches or pull requests

2 participants