OINO TS
    Preparing search index...

    Class OINOBlobApi

    REST API for blob storage.

    Supports two GET variants:

    • GET without id – lists all blobs under the configured prefix and returns the metadata as JSON (or CSV) using OINOModelSet.
    • GET with id – downloads the named blob as a binary HTTP response with the blob's own Content-Type.

    All other HTTP methods return 405 Method Not Allowed.

    Hierarchy

    • unknown
      • OINOBlobApi
    Index

    Constructors

    • Constructor.

      NOTE: initializeDatamodel (or OINOBlobFactory.createApi) must be called before the first request is dispatched.

      Parameters

      • blob: OINOBlob

        blob storage backend

      • params: OINOApiParams

        API parameters (tableName is used as the blob prefix)

      Returns OINOBlobApi

    Properties

    blob: OINOBlob

    Blob storage backend

    blobDatamodel: OINOBlobDataModel = null

    Blob-specific data model (populated by initializeDatamodel)

    Methods

    • Parameters

      • method: string
      • _rowId: string
      • _rowData: OINOApiData
      • Optional_queryParams: OINOQueryParams

      Returns Promise<OINOBlobApiResult>

    • Parameters

      • request: OINOHttpRequest
      • rowId: string
      • rowData: OINOApiData
      • queryParams: OINOQueryParams

      Returns Promise<OINOBlobApiResult>

    • Parameters

      • method: string
      • rowId: string
      • rowData: OINOApiData
      • queryParams: OINOQueryParams
      • contentType: OINOContentType = OINOContentType.json

      Returns Promise<OINOBlobApiResult>