Interface RawDataAPIResponse

The response format of a 2XX-status Data API call

interface RawDataAPIResponse {
    data?: Record<string, any>;
    errors?: any[];
    status?: Record<string, any>;
}

Properties

Properties

data?: Record<string, any>

Array of objects or null (Error)

errors?: any[]

Status objects, generally describe the side effects of commands, such as the number of updated or inserted documents.

status?: Record<string, any>

A response data holding documents that were returned as the result of a command.