Parameters
api_client=None
Create pre-signed S3 upload link
Creates a signed link to securely upload data to s3 bucket directly from the client.
Parameters
self
portal_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Portal ID', extra={})]
create_signed_upload_link_request: edgeimpulse_api.models.create_signed_upload_link_request.CreateSignedUploadLinkRequest
**kwargs
Return
edgeimpulse_api.models.create_signed_upload_link_response.CreateSignedUploadLinkResponse
Delete file from portal
Delete a file from an upload portal (requires JWT auth).
Parameters
self
portal_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Portal ID', extra={})]
delete_portal_file_request: edgeimpulse_api.models.delete_portal_file_request.DeletePortalFileRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
Download file from portal
Download a file from an upload portal (requires JWT auth). Will return a signed URL to the bucket.
Parameters
self
portal_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Portal ID', extra={})]
download_portal_file_request: edgeimpulse_api.models.download_portal_file_request.DownloadPortalFileRequest
**kwargs
Return
edgeimpulse_api.models.download_portal_file_response.DownloadPortalFileResponse
Portal info
Get information about a portal
Parameters
self
portal_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Portal ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.portal_info_response.PortalInfoResponse
List files in portal
List all files and directories in specified prefix.
Parameters
self
portal_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Portal ID', extra={})]
list_portal_files_in_folder_request: edgeimpulse_api.models.list_portal_files_in_folder_request.ListPortalFilesInFolderRequest
**kwargs
Return
edgeimpulse_api.models.list_portal_files_in_folder_response.ListPortalFilesInFolderResponse
Rename file from portal
Rename a file on an upload portal (requires JWT auth).
Parameters
self
portal_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Portal ID', extra={})]
rename_portal_file_request: edgeimpulse_api.models.rename_portal_file_request.RenamePortalFileRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
View file from portal
View a file that's located in an upload portal (requires JWT auth). File might be converted (e.g. Parquet) or truncated (e.g. CSV).
Parameters
self
portal_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Portal ID', extra={})]
path: Annotated[pydantic.types.StrictStr, FieldInfo(default=Ellipsis, description='Path to file in portal', extra={})]
**kwargs
Return
str