Parameters for the headDocument operation.

interface HeadDocumentParams {
    db: string;
    docId: string;
    headers?: OutgoingHttpHeaders;
    ifNoneMatch?: string;
    latest?: boolean;
    rev?: string;
}

Properties

db: string

Path parameter to specify the database name.

docId: string

Path parameter to specify the document ID.

headers?: OutgoingHttpHeaders
ifNoneMatch?: string

Header parameter for a conditional HTTP request not matching an ETag.

latest?: boolean

Query parameter to specify whether to force retrieving latest leaf revision, no matter what rev was requested.

rev?: string

Query parameter to specify a document revision.