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

HTTP Endpoints #74

Open
4 tasks done
V1ncNet opened this issue Dec 23, 2017 · 1 comment
Open
4 tasks done

HTTP Endpoints #74

V1ncNet opened this issue Dec 23, 2017 · 1 comment

Comments

@V1ncNet
Copy link
Member

V1ncNet commented Dec 23, 2017

Feel free to add your own suggestions.

Response format as in #73

Multiple

  • /api/projects returns all projects
  • /api/projects/year/<year> returns all projects of <year>
  • /api/projects/year returns all projects of the current year

Single

  • /api/projects/<event-identifier>

NOTE I don't need endpoints that return an array of event idents.

@hoodie
Copy link
Member

hoodie commented Dec 24, 2017

we sorta have this at the moment

    => GET /api/projects/year => all years
    => GET /api/projects/year/<year> => all project ids in <year>
    => GET /api/full_projects/year/<year> => all projects in <year>
    => GET /api/projects => all project ids
    => GET /api/full_projects => all projects
    => GET /api/projects/<name> => project <name>

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