To send a report, make the API call to:
POST /api/report
Parameters:
- picsafe_file -- file to upload. Unencrypted file should contain:
- Report ID in the name of the file. For example:
0000000011462800528240.picsafe
package.json with key server URL in keyserver_url key.
package.encrypted with encrypted ZIP file.
- token -- the same user token you used to get encryption key from the key server
Returns:
- { success: true }
- { success: false, error: "Error message" }
|