Individual Form
Listing Form Attachments
Changed onThis endpoint allows you to fetch the list of expected attachment files, and will tell you whether the server is in possession of each file or not, and a hash of the file contents. To modify an attachment, you'll need to create a Draft. The property datasetExists indicates whether the attachment is a link to a Dataset instead of an actual file.
get/v1/projects/{projectId}/forms/{xmlFormId}/attachments
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}/attachments
- Authnone declared
Path parameters
projectIdnumber required
The numeric ID of the Project
xmlFormIdstring required
The xmlFormId of the Form being referenced.
Response
OK
Example response
[
{
"name": "myfile.png",
"exists": true,
"blobExists": true,
"datasetExists": true,
"size": 4096,
"updatedAt": "2018-03-21T12:45:02.312Z"
}
]Changes
- info
added the optional property
/to the response with the status
- info
- info
api operation id
Listing Form Attachmentsremoved and replaced withlistFormAttachments
- info