* Add minio implementation * Static check changes * Added docstrings * Update docstrings * Update docstrings * Fix linter errors * Finally fix all docstring errors * Create services.yaml * Update CODEOWNERS * Final changes * Remove double underscores * Minor changes * Update config.yml * Review changes * Added tests * Fix lint errors * Move tests from unittest to pytest * Add minio as test requirement * Update test_minio_helper.py * Better event thread handling, added hass test * Update tests * Fixed lint errors * Update test_minio.py * Review changes * More review changes * Removed tests * Applied code style changes * Reformat test code
35 lines
952 B
YAML
35 lines
952 B
YAML
get:
|
|
description: Download file from Minio.
|
|
fields:
|
|
bucket:
|
|
description: Bucket to use.
|
|
example: camera-files
|
|
key:
|
|
description: Object key of the file.
|
|
example: front_camera/2018/01/02/snapshot_12512514.jpg
|
|
file_path:
|
|
description: File path on local filesystem.
|
|
example: /data/camera_files/snapshot.jpg
|
|
|
|
put:
|
|
description: Upload file to Minio.
|
|
fields:
|
|
bucket:
|
|
description: Bucket to use.
|
|
example: camera-files
|
|
key:
|
|
description: Object key of the file.
|
|
example: front_camera/2018/01/02/snapshot_12512514.jpg
|
|
file_path:
|
|
description: File path on local filesystem.
|
|
example: /data/camera_files/snapshot.jpg
|
|
|
|
remove:
|
|
description: Delete file from Minio.
|
|
fields:
|
|
bucket:
|
|
description: Bucket to use.
|
|
example: camera-files
|
|
key:
|
|
description: Object key of the file.
|
|
example: front_camera/2018/01/02/snapshot_12512514.jpg
|