1
mirror of https://github.com/home-assistant/core synced 2024-09-03 08:14:07 +02:00
ha-core/homeassistant/components/minio/services.yaml
Tomas Kislan eee2b2d543 Add Minio component (#23567)
* 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
2019-08-20 11:56:11 +02:00

36 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