Skip to content

Instantly share code, notes, and snippets.

@lambda2
Last active February 24, 2016 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lambda2/06396f8590c776848fdf to your computer and use it in GitHub Desktop.
Save lambda2/06396f8590c776848fdf to your computer and use it in GitHub Desktop.
Api 2.1 changelog

API changelog (2.1)

Routes removal

Some routes has been removed, the data is always accessible, but by an other way.

  • GET /v2/projects/:project_id/projects_users
  • POST /v2/users/:user_id/notes
  • GET /v2/users/:user_id/notes/:id
  • PATCH /v2/users/:user_id/notes/:id
  • PUT /v2/users/:user_id/notes/:id
  • DELETE /v2/users/:user_id/notes/:id
  • GET /v2/campus/:id/users
  • PATCH /v2/projects/:project_id/attachments/:id
  • PUT /v2/projects/:project_id/attachments/:id
  • DELETE /v2/projects/:project_id/attachments/:id
  • GET /v2/roles/:role_id/users

Additional parameters

  • Each route takes now several additional parameters, which allows filtering, ordering, ranging and search in several fields. The documentation already show some parameters, the others will come soon.

User

  • The user#show view now shows the last active team for each project.

Teams

  • The since, locked, closed and with_mark options no longer exists. You can now filter with the filter parameter.

Projects

  • Projects have now project_sessions, wich are instances of projects for a cursus or a campus.

User-scoped routes

  • All user scoped routes (ex: /me/...) now returns a 403 errors code if there is no resource owner.

new routes

  • POST /v2/cursus
  • GET /v2/cursus/new
  • GET /v2/cursus/:id/edit
  • PATCH /v2/cursus/:id
  • PUT /v2/cursus/:id
  • DELETE /v2/cursus/:id
  • GET /v2/cursus_users
  • POST /v2/cursus_users
  • GET /v2/cursus_users/new
  • GET /v2/cursus_users/:id/edit
  • GET /v2/cursus_users/:id
  • PATCH /v2/cursus_users/:id
  • PUT /v2/cursus_users/:id
  • DELETE /v2/cursus_users/:id
  • POST /v2/campus
  • GET /v2/campus/new
  • GET /v2/campus/:id/edit
  • PATCH /v2/campus/:id
  • PUT /v2/campus/:id
  • DELETE /v2/campus/:id
  • GET /v2/users/:user_id/events
  • GET /v2/users/:user_id/exams
  • GET /v2/projects/:project_id/exams
  • GET /v2/events
  • POST /v2/events
  • GET /v2/events/new
  • GET /v2/events/:id/edit
  • PATCH /v2/events/:id
  • PUT /v2/events/:id
  • DELETE /v2/events/:id
  • GET /v2/exams
  • POST /v2/exams
  • GET /v2/exams/new
  • GET /v2/exams/:id/edit
  • PATCH /v2/exams/:id
  • PUT /v2/exams/:id
  • DELETE /v2/exams/:id
  • POST /v2/announcements
  • GET /v2/announcements/new
  • GET /v2/announcements/:id/edit
  • GET /v2/announcements/:id
  • PATCH /v2/announcements/:id
  • PUT /v2/announcements/:id
  • DELETE /v2/announcements/:id
  • POST /v2/cursus/:cursus_id/announcements
  • GET /v2/teams/:team_id/users
  • GET /v2/teams
  • GET /v2/teams/new
  • GET /v2/teams/:id/edit
  • GET /v2/projects
  • POST /v2/projects
  • GET /v2/projects/new
  • GET /v2/projects/:id/edit
  • PATCH /v2/projects/:id
  • PUT /v2/projects/:id
  • DELETE /v2/projects/:id
  • GET /v2/teams_uploads
  • GET /v2/teams_uploads/new
  • GET /v2/teams_uploads/:id/edit
  • GET /v2/projects/:project_id/users
  • GET /v2/projects_users
  • GET /v2/projects_users/new
  • GET /v2/projects_users/:id/edit
  • GET /v2/partnerships/:partnership_id/users
  • GET /v2/partnerships/new
  • GET /v2/partnerships/:id/edit
  • GET /v2/partnerships_users
  • GET /v2/partnerships_users/new
  • GET /v2/partnerships_users/:id/edit
  • GET /v2/scales
  • POST /v2/scales
  • GET /v2/scales/new
  • GET /v2/scales/:id/edit
  • GET /v2/scales/:id
  • PATCH /v2/scales/:id
  • PUT /v2/scales/:id
  • DELETE /v2/scales/:id
  • GET /v2/slots
  • GET /v2/slots/new
  • GET /v2/slots/:id/edit
  • GET /v2/slots/:id
  • PATCH /v2/slots/:id
  • PUT /v2/slots/:id
  • DELETE /v2/slots/:id
  • GET /v2/scale_teams/new
  • GET /v2/scale_teams/:id/edit
  • GET /v2/scale_teams/:id
  • GET /v2/projects/:project_id/scales
  • GET /v2/users/:user_id/scales
  • GET /v2/evaluations/:evaluation_id/scales
  • GET /v2/notes
  • POST /v2/notes
  • GET /v2/notes/new
  • GET /v2/notes/:id/edit
  • GET /v2/notes/:id
  • PATCH /v2/notes/:id
  • PUT /v2/notes/:id
  • DELETE /v2/notes/:id
  • GET /v2/tags/:tag_id/notions
  • GET /v2/notions
  • POST /v2/notions
  • GET /v2/notions/new
  • GET /v2/notions/:id/edit
  • PATCH /v2/notions/:id
  • PUT /v2/notions/:id
  • DELETE /v2/notions/:id
  • GET /v2/subnotions
  • POST /v2/subnotions
  • GET /v2/subnotions/new
  • GET /v2/subnotions/:id/edit
  • PATCH /v2/subnotions/:id
  • PUT /v2/subnotions/:id
  • DELETE /v2/subnotions/:id
  • GET /v2/topics/:topic_id/messages/:message_id/messages
  • POST /v2/topics/:topic_id/messages/:message_id/messages
  • GET /v2/topics
  • GET /v2/topics/new
  • GET /v2/topics/:id/edit
  • GET /v2/messages
  • POST /v2/messages
  • GET /v2/messages/new
  • GET /v2/messages/:id/edit
  • GET /v2/messages/:id
  • GET /v2/users/:user_id/topics
  • GET /v2/users/:user_id/messages
  • GET /v2/tags/:tag_id/topics
  • GET /v2/users
  • POST /v2/users
  • GET /v2/users/new
  • GET /v2/users/:id/edit
  • PATCH /v2/users/:id
  • PUT /v2/users/:id
  • GET /v2/cursus/:cursus_id/cursus_users
  • GET /v2/campus/:campus_id/users
  • GET /v2/achievements/:achievement_id/achievements_users
  • POST /v2/achievements
  • GET /v2/achievements/new
  • GET /v2/achievements/:id/edit
  • GET /v2/achievements/:id
  • PATCH /v2/achievements/:id
  • PUT /v2/achievements/:id
  • DELETE /v2/achievements/:id
  • GET /v2/achievements_users
  • POST /v2/achievements_users
  • GET /v2/achievements_users/new
  • GET /v2/achievements_users/:id/edit
  • GET /v2/achievements_users/:id
  • PATCH /v2/achievements_users/:id
  • PUT /v2/achievements_users/:id
  • DELETE /v2/achievements_users/:id
  • GET /v2/attachments/:id
  • GET /v2/roles/:role_id/roles_entities
  • POST /v2/roles
  • GET /v2/roles/new
  • GET /v2/roles/:id/edit
  • PATCH /v2/roles/:id
  • PUT /v2/roles/:id
  • DELETE /v2/roles/:id
  • GET /v2/roles_entities
  • POST /v2/roles_entities
  • GET /v2/roles_entities/new
  • GET /v2/roles_entities/:id/edit
  • GET /v2/roles_entities/:id
  • PATCH /v2/roles_entities/:id
  • PUT /v2/roles_entities/:id
  • DELETE /v2/roles_entities/:id
  • GET /v2/projects/:project_id/tags
  • GET /v2/topics/:topic_id/tags
  • GET /v2/issues/:issue_id/tags
  • GET /v2/notions/:notion_id/tags
  • GET /v2/users/:user_id/tags
  • GET /v2/tags
  • POST /v2/tags
  • GET /v2/tags/new
  • GET /v2/tags/:id/edit
  • PATCH /v2/tags/:id
  • PUT /v2/tags/:id
  • DELETE /v2/tags/:id
  • GET /v2/mailings
  • GET /v2/mailings/new
  • GET /v2/mailings/:id/edit
  • GET /v2/mailings/:id
  • PATCH /v2/mailings/:id
  • PUT /v2/mailings/:id
  • DELETE /v2/mailings/:id
  • GET /v2/users/:user_id/mailings
  • POST /v2/changelogs
  • GET /v2/changelogs/new
  • GET /v2/changelogs/:id/edit
  • GET /v2/changelogs/:id
  • PATCH /v2/changelogs/:id
  • PUT /v2/changelogs/:id
  • DELETE /v2/changelogs/:id
  • POST /v2/community_services
  • PATCH /v2/community_services/:id
  • PUT /v2/community_services/:id
  • DELETE /v2/community_services/:id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment