content_disposition_inline_api

edgeimpulse_api v1.0.0

edgeimpulse_api.api.content_disposition_inline_api module

class edgeimpulse_api.api.content_disposition_inline_api.ContentDispositionInlineApi(api_client=None)

Bases: object

preview_organization_data_file(organization_id: StrictInt, data_id: StrictInt, file_name: StrictStr, **kwargs)

Preview file

Preview a single file from a data item (same as downloadOrganizationDataFile but w/ content-disposition inline).

  • Parameters

    • organization_id (int) – Organization ID (required)

    • data_id (int) – Data ID (required)

    • file_name (str) – File name (required)

    • async_req (bool*, *optional) – Whether to execute the request asynchronously.

    • _preload_content (bool*, *optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

    • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

  • Returns

    Returns the result object. If the method is called asynchronously, returns the request thread.

  • Return type

    str

Last updated

Was this helpful?