List all Forms
Currently, there are no paging or filtering options, so listing Forms will get you every Form you are allowed to access, every time.
As of version 1.2, Forms that are unpublished (that only carry a draft and have never been published) will appear with full metadata detail. Previously, certain details like name were omitted. You can determine that a Form is unpublished by checking the publishedAt value: it will be null for unpublished forms.
This endpoint supports retrieving extended metadata; provide a header X-Extended-Metadata: true to additionally retrieve the submissions count of the number of Submissions that each Form has, the reviewStates object of counts of Submissions with specific review states, the lastSubmission most recent submission timestamp, the Actor the Form was createdBy, as well as other metadata.
The query ?deleted=true can be added to list deleted Forms with their numeric form IDs, which can be used to restore a deleted Form.
Path parameters
The numeric ID of the Project
Query parameters
If set to true, will return only deleted Forms and their IDs
Response
OK
Example response
[
{
"projectId": 1,
"xmlFormId": "simple",
"name": "Simple",
"version": "2.1",
"enketoId": "abcdef",
"hash": "51a93eab3a1974dbffc4c7913fa5a16a",
"keyId": 3,
"publishedAt": "2018-01-21T00:04:11.153Z",
"createdAt": "2018-01-19T23:58:03.395Z",
"updatedAt": "2018-03-21T12:45:02.312Z"
}
]Changes
Changed in 3 of the 54 revisions of this API.4
- ○
api operation id
List all Formsremoved and replaced withlistAllFormsapi-operation-id-removed
- ○
- ○
removed the non-success response with the status
403response-non-success-status-removed
- ○
- ○
api operation id
listAllFormsremoved and replaced withList all Formsapi-operation-id-removed
- ○
added the non-success response with the status
403response-non-success-status-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○