- Issue created by @wim leers
ApiConfigAutoSaveControllers
, and restricted it to just code components + asset libraries, and exposes these under /xb/api/v0/config/auto-save/{xb_config_entity_type_id}/{xb_config_entity}
, with GET
+ PATCH
::delete()
method to ApiAutoSaveController
and works for all entities and exposes this under /xb/api/v0/auto-saves/{entity_type}/{entity}'
(with obviously only DELETE
)This is inconsistent. We should make it consistent. OTOH, if there's no need for the XB UI to access these, then perhaps it's fine as-is?
Most importantly: GET
and PATCH
of content entities happens via the /xb/api/v0/layout/{entity_type}/{entity}
routes; additional requests would be worse for performance+scalability.
Still, it's possible that in the future we'll want to interact with auto-saves of content entities. Consider this the placeholder issue.
Postponed
0.0
Auto-save
Enhances developer experience.