if (version != null) {
versionNr = Long.parseLong(version);
}
try {
final BlobAccess blobAccess = table.getBlob(recordId, versionNr, fieldQName, indexes);
return Response.ok(blobAccess, MediaType.valueOf(blobAccess.getBlob().getMediaType())).build();
} catch (RecordNotFoundException e) {
throw new ResourceException(e, NOT_FOUND.getStatusCode());
} catch (FieldNotFoundException e) {
throw new ResourceException(e, NOT_FOUND.getStatusCode());
} catch (BlobNotFoundException e) {