Individual Form
Listing Form Attachments
This 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
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"
}
]