Getting Form Details
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 this Form has, as well as the lastSubmission most recent submission timestamp.
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
Changed in 4 of the 54 revisions of this API.4416
- ▲
removed the required property
allOf[subschema #2]/entityRelatedfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
allOf[subschema #2]/publicLinksfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
allOf[subschema #2]/reviewStatesfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
allOf[subschema #2]/submissionsfrom the response with the200statusresponse-required-property-removed
- ●
removed the optional property
allOf[subschema #2]/createdByfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/excelContentTypefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/lastSubmissionfrom the response with the200statusresponse-optional-property-removed
- ○
added
ExtendedFormto the response bodyallOflist for the response status200response-body-all-of-added
- ○
removed
Formfrom the response bodyallOflist for the response status200response-body-all-of-removed
- ○
added the optional property
allOf[subschema #2]/publishNotesto the response with the200statusresponse-optional-property-added
- ▲
- ○
api operation id
Getting Form Detailsremoved and replaced withgetFormDetailsapi-operation-id-removed
- ○
- ○
removed the non-success response with the status
403response-non-success-status-removed
- ○
- ●
removed the optional property
allOf[subschema #2]/publishNotesfrom the response with the200status (media type: application/json; extended)response-optional-property-removed
- ○
api operation id
getFormDetailsremoved and replaced withGetting Form Detailsapi-operation-id-removed
- ○
added
Formto the response bodyallOflist for the response status200(media type: application/json; extended)response-body-all-of-added
- ○
removed
ExtendedFormfrom the response bodyallOflist for the response status200(media type: application/json; extended)response-body-all-of-removed
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the optional property
allOf[subschema #2]/createdByto the response with the200status (media type: application/json; extended)response-optional-property-added
- ○
added the optional property
allOf[subschema #2]/excelContentTypeto the response with the200status (media type: application/json; extended)response-optional-property-added
- ○
added the optional property
allOf[subschema #2]/lastSubmissionto the response with the200status (media type: application/json; extended)response-optional-property-added
- ○
added the required property
allOf[subschema #2]/entityRelatedto the response with the200status (media type: application/json; extended)response-required-property-added
- ○
added the required property
allOf[subschema #2]/publicLinksto the response with the200status (media type: application/json; extended)response-required-property-added
- ○
added the required property
allOf[subschema #2]/reviewStatesto the response with the200status (media type: application/json; extended)response-required-property-added
- ○
added the required property
allOf[subschema #2]/submissionsto the response with the200status (media type: application/json; extended)response-required-property-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●