"As a Curator, I want to get a rendered representation of a revision slot, so I can understand everything about the revision."
GET /revision/{id}/slot/{role}/with_html
Returns the HTML representation of a slot, if that's a meaningful term.
Request body: none
Notable request headers: none
Status codes:
- 200: the body includes the slot with HTML representation
- 400: this slot content model or role cannot be rendered as HTML
- 401: reading this slot requires authentication and the user is unauthenticated
- 403: the authenticated user is forbidden from reading this slot
- 404: no such page or no such slot
Notable response headers: none
Response body: JSON, object, slot
- id: ID of the slot
- html: Rendered HTML for the slot