Acceptance Criteria:
- Define route for /revision/{id}/bare
- Define route handler for revision that handles the following:
- Request:
- Must support HTTP GET only
- Request body must be empty
- Response:
- Response must return JSON
- Responses JSON must have structure:
{ "id": 889268680, "page": { "id": 83784732, "title": "Some really great title" }, "user": { "name": "The Blade of the Northern Lights", "id": 1234567 }, "comment": "This was a good edit", "timestamp": "2019-01-10T14:23:21Z", "size": 2000, "delta": -25 }
- size must contain the size of the revision in bogobytes
- delta must contain the difference in size from the previous revision