Parameters for the putAttachment operation.

Hierarchy

  • PutAttachmentParams

Properties

attachment: Buffer | ReadableStream

HTTP request body for attachment operations.

attachmentName: string

Path parameter to specify the attachment name.

contentType: string

Content-Type of the attachment.

db: string

Path parameter to specify the database name.

docId: string

Path parameter to specify the document ID.

headers?: OutgoingHttpHeaders
ifMatch?: string

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

rev?: string

Query parameter to specify a document revision.

Generated using TypeDoc