narrador files

Create upload URL

Creates a storage file record and returns a signed URL to PUT the document bytes. Requires a nrd_files_ key.

post/v1/files/uploads

Request

  • Base URL: https://api.narrador.io
  • URL: https://api.narrador.io/v1/files/uploads
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

fileNamestring required
fileSizeBytesinteger required

Size of the file you will PUT to the signed URL, in bytes (max 50 MB).

Example request

{
  "fileName": "chapter-one.pdf",
  "fileSizeBytes": 1024000
}

Response

Upload URL created

signedUrlstring uri
tokenstring
pathstring
fileIdstring uuid

Changes

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