From 0d4da7767bcac626b9765d61b7b0c85615a10a92 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 8 Sep 2015 22:27:20 -0700 Subject: [PATCH] Update donut-metadata.md --- donut-metadata.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/donut-metadata.md b/donut-metadata.md index 7a6ab62fd..1825741c5 100644 --- a/donut-metadata.md +++ b/donut-metadata.md @@ -5,18 +5,18 @@ "minio": { "version": 1, "users": [{ - "secret-key": string, - "access-key": string, - "status": string // enum: ok, disabled, deleted + "secretAccessKey": String, + "accessKeyId": String, + "status": String // enum: ok, disabled, deleted }], "hosts": [{ - "address": string, - "uuid": string, - "status": string, // enum: ok, disabled, deleted, busy, offline, + "address": String, + "uuid": String, + "status": String, // enum: ok, disabled, deleted, busy, offline. "disks": [{ - "disk": string, - "uuid": string, - "status": string // ok, offline, disabled, busy + "disk": String, + "uuid": String, + "status": String // ok, offline, disabled, busy. }] }] } @@ -26,9 +26,9 @@ ```js "buckets": { - "bucket": string, // index - "permissions": string, - "deleted": bool + "bucket": String, // index + "deleted": Boolean, + "permissions": String } ``` @@ -36,20 +36,20 @@ ```js "objects": { - "key": string, // index + "key": String, // index "createdAt": Date, "hosts[16]": [{ - "host": string, - "disk": string, - }] - "deleted": bool + "host": String, + "disk": String, + }], + "deleted": Boolean } ``` ```js "meta": { - "key": string, // index - "type": string // content-type + "key": String, // index + "type": String // content-type // type speific meta } ```