UploadContainer

An upload container is an invitation for an external person to upload a set of files to the person providing this container.

POST /uploadcontainer
Payload:
{
  "email": "recipient@example.com",
  "send_email": "true"
}

Response

Status: 201 Created
{
  "uploadcontainer": {
    "email": "recipient@example.com",
    "send_email": true,
    "links": [
      {
        "rel": "self",
        "href": "https://portal.cryptorage.com/api/uploadcontainer/randomized_token"
      }
    ]
  }
}

Error

Status: 422 Unprocessable File
{
  "error": "ERR_EMAIL_NOT_VALID"
}

General error

Status: 500 Server Error
error message