API
파일 다운로드
저장된 그대로의 바이트.
GETapi.openemail.uk/files/{id}/content
본인 키로 워크스페이스에 실제 호출을 실행합니다.
GET /files/{id}/content
저장된 그대로의 바이트.
예제
threads:read가 필요합니다. 응답에는 파일 자체의 Content-Type과 이름이 담기며, 이미지, PDF, 일반 텍스트는 inline, 그 밖에는 attachment이고, download=true는 항상 attachment를 요청합니다.
curl "$OE/files/file_6bb640f5b99e47deb758f1f5/content" -H "$AUTH" -o invoice-0912.pdfHTTP/1.1 200 OKContent-Type: application/pdfContent-Length: 184233Content-Disposition: inline; filename="invoice-0912.pdf"바이트가 저장소에서 사라진 파일은 없는 파일과 마찬가지로 404로 답합니다.