minio/pkg/madmin/examples
Krishnan Parthasarathi c192e5c9b2 Implement heal-upload admin API (#3914)
This API is meant for administrative tools like mc-admin to heal an
ongoing multipart upload on a Minio server.  N B This set of admin
APIs apply only for Minio servers.

`github.com/minio/minio/pkg/madmin` provides a go SDK for this (and
other admin) operations.  Specifically,

  func HealUpload(bucket, object, uploadID string, dryRun bool) error

Sample admin API request:
POST
/?heal&bucket=mybucket&object=myobject&upload-id=myuploadID&dry-run
- Header(s): ["x-minio-operation"] = "upload"

Notes:
- bucket, object and upload-id are mandatory query parameters
- if dry-run is set, API returns success if all parameters passed are
  valid.
2017-03-17 09:25:49 -07:00
..
get-config.go Implement ServerConfig admin REST API (#3741) 2017-02-20 12:58:50 -08:00
heal-bucket.go Implement ServerConfig admin REST API (#3741) 2017-02-20 12:58:50 -08:00
heal-buckets-list.go heal: Add ListBucketsHeal object API (#3563) 2017-01-19 09:34:18 -08:00
heal-format.go Add dry-run query param for HealFormat API (#3618) 2017-01-24 08:11:05 -08:00
heal-object.go Implement mgmt REST APIs for heal subcommands (#3533) 2017-01-17 10:02:58 -08:00
heal-objects-list.go heal: Add ListBucketsHeal object API (#3563) 2017-01-19 09:34:18 -08:00
heal-upload.go Implement heal-upload admin API (#3914) 2017-03-17 09:25:49 -07:00
heal-uploads-list.go Implement list uploads heal admin API (#3885) 2017-03-16 00:15:06 -07:00
lock-clear.go Change query param name to duration in list/clear locks API (#3664) 2017-02-01 11:17:30 -08:00
lock-list.go Change query param name to duration in list/clear locks API (#3664) 2017-02-01 11:17:30 -08:00
service-restart.go Implement list, clear locks REST API w/ pkg/madmin support (#3491) 2017-01-03 23:39:22 -08:00
service-status.go Implement list, clear locks REST API w/ pkg/madmin support (#3491) 2017-01-03 23:39:22 -08:00
set-config.go Implement SetConfig admin API handler. (#3792) 2017-02-27 11:40:27 -08:00
set-credentials.go admin: Move SetCredentials from Service to Generic (#3805) 2017-02-25 11:06:08 -08:00