POST
/
files
curl --request POST \
  --url https://api.serial.io/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "name": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "bucket_id": "<string>",
  "last_accessed_at": "2023-11-07T05:31:56Z",
  "metadata": {
    "eTag": "<string>",
    "size": 123,
    "mimetype": "<string>",
    "cacheControl": "<string>",
    "lastModified": "2023-11-07T05:31:56Z",
    "contentLength": "<string>",
    "httpStatusCode": 123
  }
}

Authorizations

Authorization
string
header
required

API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>

Body

multipart/form-data

File data as binary

The body is of type object.

Response

200
application/json

OK

The response is of type object.