foliolib.folio.api.dataExportWorker.Refreshpresignedurl
- class foliolib.folio.api.dataExportWorker.Refreshpresignedurl(tenant: str, okapi: Optional[foliolib.okapi.okapiClient.OkapiClient] = None)
Bases:
foliolib.folio.FolioApiRefresh presigned url API
- Parameters
tenant (str) – Tenant id
okapi (OkapiClient, optional) – Instance of OkapiClient. Defaults to None.
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" ] }