Skip to main content

COLLECTION.INSERT

POST 

To insert one or multiple documents in a collection

Request

Body

    oneOf
    op stringrequired

    Default value: collection.insert

    The operation name

    collection stringrequired

    The collection name

    data objectrequired

    The object for a single data entry

    captcha string

    A captcha code to be passed if inserting anonymous

Responses

Mutation response

Schema
    data object[]

    Array of documents mutated

Loading...