Options
All
  • Public
  • Public/Protected
  • All
Menu

Parameters for the putAttachment operation.

Hierarchy

  • PutAttachmentParams

Index

Properties

attachment

attachment: ReadableStream | Buffer

HTTP request body for attachment operations.

attachmentName

attachmentName: string

Path parameter to specify the attachment name.

contentType

contentType: string

Content-Type of the attachment.

db

db: string

Path parameter to specify the database name.

docId

docId: string

Path parameter to specify the document ID.

Optional headers

headers: OutgoingHttpHeaders

Optional ifMatch

ifMatch: string

Header parameter to specify the document revision. Alternative to rev query parameter.

Optional rev

rev: string

Query parameter to specify a document revision.

Generated using TypeDoc