web-monitoring-db icon indicating copy to clipboard operation
web-monitoring-db copied to clipboard

Add top-level API route for `changes`

Open Mr0grog opened this issue 5 years ago • 0 comments

You can get the changes related to a page at:

/api/v0/pages/{page ID}/changes

This should also be available at the top level:

/api/v0/changes

This requires:

  • Changes to config/routes.rb
  • Make sure app/controllers/api/v0/changes_controller.rb still functions with this
  • Add documentation to swagger.yaml

This is based on #239, which is directed at more speculative ideas that depend on this first.

Mr0grog avatar Apr 24 '19 21:04 Mr0grog