...
- Partner application calls the EPR API to upload plan review documents in PDF format. To upload a document: step-by-step guide
- To upload project attachments instead of plan documents, you will need to send files to our AWS S3 bucket. There are 3 calls you have to make:
- Get s3 presigned URL link to our AWS S3 bucket via the API:
- Method: GET
- URL: https://<epr_url>/resources/s3/uploadUrl?contentType=text%2Fxml&directory=attachments&filename=sample.xml
- PUT the file to this URL
- Method: PUT
- AWS S3 URL from step 1
- Finally, call project attachment api to finalized upload
- Method: POST
- URL: https://<epr_url>resources/projectAttachments
- Get s3 presigned URL link to our AWS S3 bucket via the API:
- Supporting attachments are also uploaded to EPR but are not inspected by Scout.
...