Closed (fixed)
Project:
Webform REST
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
27 Oct 2017 at 22:02 UTC
Updated:
1 Jan 2018 at 05:49 UTC
Jump to comment: Most recent
Currently the endpoints are generated based on function rather than entity. For consistency and ease of understanding the paths should be grouped by entity. This would also make it easier to add new operations.
Because the REST API would change this would need to be a new version to prevent breaking existing sites.
Current path:
/webform_rest/elements/webform_id
New path:
/webform_rest/webform_id/elements
Example future path for retrieving submission data:
/webform_rest/webform_id/submission/sid
None.
The REST API would change. This would require changes to the front end only so automatic updating isn't possible.
None. No data is stored in Drupal.
Comments
Comment #2
imclean commentedComment #3
imclean commentedI'm also open to removing
/webform_rest/in favour of something more generic or consistent with other REST endpoints.Comment #4
imclean commentedComment #5
imclean commentedToo many tabs open, too many fields on issue edit screen.
Comment #6
imclean commentedComment #7
imclean commentedInitial commit was pretty straight forward.