API endpoint to upload a dap

For #24