Documents

Add a document

Raw bytes in the body: a PDF, an Apple Wallet pass, or a JPEG/PNG image (sniffed, not trusted from the header). Up to 10 MB a file and 200 MB of documents an account.

post/api/trips/{id}/documents

Request

  • Base URL: https://trvlrr.app
  • URL: https://trvlrr.app/api/trips/{id}/documents
  • Auth: HTTP bearer

Path parameters

idstring required

The trip id.

Query parameters

filenamestring

The name to show; defaults to document.<ext>.

segment_idstring

Attach to this transport leg of the trip.

stay_idstring

Attach to this stay of the trip.

Response

Stored.

idstring required
filenamestring required
content_typestring required
size_bytesinteger nullable required
segment_idstring nullable required
stay_idstring nullable required
created_atstring required

Changes

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