Forms and their submissions. Read only.
List forms
Returns the forms (form sections) on pages of the current site that the user can administer: one of the
user's groups must have the admin right to the page, and the user must have the pages_view or
pages_modify permission. Items are ordered by id, highest first, and have no href. There are no filters
besides limit and offset.
403 is returned when the Form module is not enabled or the user has no access to it.
query Parameters
limitThe number of items to return, 0 to 200. A value outside that range returns 400.
offsetThe number of items to skip. A negative value is treated as 0. Use the next and prev links of the response to page through a list.
List forms › Responses
OK
hrefFirst page.
Previous page; the offset stops at 0.
Next page. On the last page the link wraps around to offset 0.
List submissions of a form
Returns the submissions of one form, ordered by id, highest first. There are no filters besides limit
and offset.
400 is returned when the form id is not an integer. 403 is returned when the Form module is not enabled or
the user has no access to it. 404 is returned when the form does not exist or is not one the user can
administer (see GET /forms).
path Parameters
form-idId of the form (the section id of the form section).
query Parameters
limitThe number of items to return, 0 to 200. A value outside that range returns 400.
offsetThe number of items to skip. A negative value is treated as 0. Use the next and prev links of the response to page through a list.
List submissions of a form › Responses
OK
hrefFirst page.
Previous page; the offset stops at 0.
Next page. On the last page the link wraps around to offset 0.
Get a form submission
Returns one submission as the only element of items, without an item href.
400 is returned when an id is not an integer. 403 is returned when the Form module is not enabled or the user has no access to it. 404 is returned when the form is not one the user can administer or the submission does not belong to the form.
path Parameters
form-idId of the form (the section id of the form section).
submission-idId of the submission.
Get a form submission › Responses
OK