Parameters for the getAttachment operation.

interface GetAttachmentParams {
    accept?: string;
    attachmentName: string;
    db: string;
    docId: string;
    headers?: OutgoingHttpHeaders;
    ifMatch?: string;
    ifNoneMatch?: string;
    range?: string;
    rev?: string;
}

Properties

accept?: string

The type of the response: or /.

attachmentName: string

Path parameter to specify the attachment name.

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.

ifNoneMatch?: string

Header parameter to specify a double quoted document revision token for cache control.

range?: string

Header parameter to specify the byte range for a request. This allows the implementation of resumable downloads and skippable streams. This is available for all attachments inside CouchDB.

rev?: string

Query parameter to specify a document revision.

Generated using TypeDoc