Problem/Motivation

Just like we have #2135829: EntityResource: translations support for adding translation support to the REST module, this issue exists to add revision support.

Proposed resolution

Come up with a plan/proposal of how it should work

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Wim Leers created an issue. See original summary.

wim leers’s picture

Assigned: Unassigned » amateescu

I hear @amateescu will likely have thoughts about this :)

wim leers’s picture

Category: Task » Feature request

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

wim leers’s picture

Status: Active » Closed (works as designed)
Related issues: +#2992833: Add a version negotiation to revisionable resource types

This is impossible to add to the @RestResource=entity plugin due to the REST module's architecture. We have added it to the JSON:API module though: #2992833: Add a version negotiation to revisionable resource types. We suggest you use that instead if you want revision support!

amateescu’s picture

Assigned: amateescu » Unassigned

FWIW, this has been on my mind for a long time and I still hope that I'll be able to find some time in the next couple of weeks to review the revision-related work that got into JSON:API :)