Closed (fixed)
Project:
Webform REST
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2018 at 08:12 UTC
Updated:
20 Sep 2020 at 18:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joaomarques736 commentedComment #3
imclean commentedI hadn't thought about it. What would be the benefit?
Comment #4
joaomarques736 commentedI worked on that in my project because, in this case, i only need a single request to get all webform submission data(fields and values), instead of two requests. If you want, we can collaborate.
Comment #5
imclean commentedThis would be useful. I'm trying to match responses to what webform provides rather than generating new formats so I'll need to check what webform's API supports.
Comment #6
joaomarques736 commentedHello imclean,
Here i provide a patch with a new REST resource which returns webform submission data and corresponding fields structure.
Best regards!
Comment #7
imclean commentedThanks @joaomarques736, I'm happy for you to commit to the 3.x branch. I'll add you as a maintainer. It is probably the best way forward to return correct response codes and use UUIDs.
Comment #10
dgaspara commentedHi, the patch looks good. I tested manually and it work as expected. Thank you for your contribution.