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

Endpoint for fields #3

Open
noraj opened this issue May 11, 2018 · 0 comments
Open

Endpoint for fields #3

noraj opened this issue May 11, 2018 · 0 comments

Comments

@noraj
Copy link

noraj commented May 11, 2018

Hi @eduardoboucas

First of all thanks for your great tool.

By reading the README I saw the sort parameter is able to sort entries by a field (that is inside the data files). All of this is very well but I was worried about a point.

Tell me if it is just a question or if it is a feature request: I wanted to know if it is possible to generate endpoint for fields (that are inside data files).

To keep you example you are able to generate endpoint for language, genre, year, movie. But if data files (yaml or JSON) are containing a structure like:

    {
      "budget": 10000000,
      "directors": [...],
      "writers": [...],
      "stars": [...]
    }

Would it be possible to generate endpoints for budget, directors, writers, stars ?

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

No branches or pull requests

1 participant