Uploads

Create a batch of uploads

Create multiple uploads at once, returning presigned URLs for accepted files and reasons for rejected ones.

post/projects/{projectId}/uploads/batch

Request

  • Base URL
    https://api.rendley.com/v1
  • Auth
    API key in header Authorization

Path parameters

projectIdstring required

Project ID

Request body

project_idstring

Example request

{
  "files": [
    {
      "file_hash": "c6c8ec4f9a6fdd9d"
    }
  ]
}

Response

OK

metaunknown

Example response

{
  "data": {
    "items": [
      {
        "media_id": "c448b6e3-2b78-4bda-b369-d1afc6aec07f"
      }
    ],
    "rejected": [
      {
        "media_id": "c448b6e3-2b78-4bda-b369-d1afc6aec07f"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.