GET operation to retrieve the digital file attachment for a specific source dataset.
GET /sources/{uuid}/{filename}
The filename must be URL encoded.
GET /sources/{uuid}/digitalfile
The latter variant will retrieve the first digital file entry for the specified dataset.
none
The digital file.
The returned MIME type will be image/*
for images and application/pdf
for files that carry a .pdf
extension.
GET /sources/0a34866e-ce75-48c8-82e6-0080739e7154/100512%20System%20boundaries%20diagram%20-%20with%20reuse.jpg
HTTP/1.1 200 OK
Content-Type: image/jpg
(the image)
GET /sources/cb1c5d4a-50ed-4d7b-828b-6fcd560ee17b/digitalfile
HTTP/1.1 200 OK
Content-Type: application/pdf
(the PDF document)