Options
All
  • Public
  • Public/Protected
  • All
Menu

BatchesApi - object-oriented interface

export

Hierarchy

Index

Constructors

constructor

Methods

createBatch

  • Create a batch. This API is asynchronous, returning the location of a queued-batch. Check the status via the getQueuedBatch API.

    throws

    {RequiredError}

    memberof

    BatchesApi

    Parameters

    Returns Promise<AxiosResponse<QueuedJob, any>>

getBatch

  • Get a batch by ID.

    throws

    {RequiredError}

    memberof

    BatchesApi

    Parameters

    Returns Promise<AxiosResponse<Batch, any>>

getQueuedBatch

  • Get a queued-batch. The response is either the status if running or error or, upon completion, redirects to the created batch.

    throws

    {RequiredError}

    memberof

    BatchesApi

    Parameters

    Returns Promise<AxiosResponse<QueuedJob, any>>