mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Add service API handler stubs for status, stop and restart (#3417)
This commit is contained in:
committed by
Harshavardhana
parent
8ceb969445
commit
b2f920a868
33
docs/admin-api/service.md
Normal file
33
docs/admin-api/service.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Service REST API
|
||||
|
||||
## Authentication
|
||||
- AWS signatureV4
|
||||
- We use "minio" as region. Here region is set only for signature calculation.
|
||||
|
||||
## List of management APIs
|
||||
- Service
|
||||
- Stop
|
||||
- Restart
|
||||
- Status
|
||||
|
||||
- Locks
|
||||
- List
|
||||
- Clear
|
||||
|
||||
- Healing
|
||||
|
||||
### Service Management APIs
|
||||
* Stop
|
||||
- POST /?service
|
||||
- x-minio-operation: stop
|
||||
- Response: On success 200
|
||||
|
||||
* Restart
|
||||
- POST /?service
|
||||
- x-minio-operation: restart
|
||||
- Response: On success 200
|
||||
|
||||
* Status
|
||||
- GET /?service
|
||||
- x-minio-operation: status
|
||||
- Response: On success 200, return json formatted StorageInfo object.
|
||||
Reference in New Issue
Block a user