Published Form Versions
Getting Form Version Details
Changed onSince the XForms specification allows blank strings as versions (and Central treats the lack of a version as a blank string), you may run into trouble using this resource if you have such a Form. In this case, pass the special value ___ (three underscores) as the version to retrieve the blank version version.
get/v1/projects/{projectId}/forms/{xmlFormId}/versions/{version}
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}/versions/{version}
- Authnone declared
Path parameters
projectIdnumber required
The numeric ID of the Project
xmlFormIdstring required
The xmlFormId of the Form being referenced.
versionstring required
The version of the Form version being referenced. Pass ___ to indicate a blank version.
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
- info
added the media type
application/json; extendedfor the response with the status
- info
- info
api operation id
Getting Form Version Detailsremoved and replaced withgetFormVersionDetails
- info