observation-js Documentation - v1.14.0
    Preparing search index...

    Class Exports

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Fetches a list of the authenticated user's observation exports.

      Returns Promise<Paginated<Export>>

      A promise that resolves to a paginated list of the user's exports.

      If the request is not authenticated.

      If the request fails.

    • Fetches the details of a single export by its ID. The export must belong to the authenticated user.

      Parameters

      • exportId: number

        The unique identifier for the export.

      Returns Promise<Export>

      A promise that resolves to the export object.

      If the request is not authenticated.

      If the request fails.

    • Starts a new observation export job. This sends a request to the server to begin generating an export file. The status of the job can be tracked via the get method.

      Parameters

      • options: StartExportOptions

        The export options, specifying the type, format, and filters.

      Returns Promise<ExportStartResponse>

      A promise that resolves to an object containing the new export's ID and status URL.

      If the request is not authenticated.

      If the request fails.