foliolib.folio.api.dataExportWorker.Refreshpresignedurl

class foliolib.folio.api.dataExportWorker.Refreshpresignedurl(tenant: str)

Bases: foliolib.folio.FolioApi

Refresh presigned url API

Base class of the Folio API

Parameters

tenant (str) – Tenant id

Methods

getrefreshedpresignedurl(**kwargs)

Get presigned Url for export file

getrefreshedpresignedurl(**kwargs)

Get presigned Url for export file

GET /refresh-presigned-url

Keyword Arguments

filePath (str) – Path to exported file

Returns

See Schema below.

Return type

dict

Schema

{
    "type": "object",
    "properties": {
        "url": {
            "type": "string",
            "description": "Presigned Url for download"
        }
    },
    "required": [
        "url"
    ]
}