Getting Form Details
Changed onThis endpoint supports retrieving extended metadata; provide a header X-Extended-Metadata: true to additionally retrieve the submissions count of the number of Submissions that this Form has, as well as the lastSubmission most recent submission timestamp.
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1/projects/{projectId}/forms/{xmlFormId}
- Authnone declared
Path parameters
The xmlFormId of the Form being referenced.
The numeric ID of the Project
Response
This is the Extended Metadata response, if requested via the appropriate header:
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
- breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status - info
added the optional property
/to the response with the status
- breaking
- info
api operation id
Getting Form Detailsremoved and replaced withgetFormDetails
- info