Update donut-metadata.md

This commit is contained in:
Harshavardhana 2015-09-08 22:27:20 -07:00
parent 96bc95c952
commit 0d4da7767b

View file

@ -5,18 +5,18 @@
"minio": { "minio": {
"version": 1, "version": 1,
"users": [{ "users": [{
"secret-key": string, "secretAccessKey": String,
"access-key": string, "accessKeyId": String,
"status": string // enum: ok, disabled, deleted "status": String // enum: ok, disabled, deleted
}], }],
"hosts": [{ "hosts": [{
"address": string, "address": String,
"uuid": string, "uuid": String,
"status": string, // enum: ok, disabled, deleted, busy, offline, "status": String, // enum: ok, disabled, deleted, busy, offline.
"disks": [{ "disks": [{
"disk": string, "disk": String,
"uuid": string, "uuid": String,
"status": string // ok, offline, disabled, busy "status": String // ok, offline, disabled, busy.
}] }]
}] }]
} }
@ -26,9 +26,9 @@
```js ```js
"buckets": { "buckets": {
"bucket": string, // index "bucket": String, // index
"permissions": string, "deleted": Boolean,
"deleted": bool "permissions": String
} }
``` ```
@ -36,20 +36,20 @@
```js ```js
"objects": { "objects": {
"key": string, // index "key": String, // index
"createdAt": Date, "createdAt": Date,
"hosts[16]": [{ "hosts[16]": [{
"host": string, "host": String,
"disk": string, "disk": String,
}] }],
"deleted": bool "deleted": Boolean
} }
``` ```
```js ```js
"meta": { "meta": {
"key": string, // index "key": String, // index
"type": string // content-type "type": String // content-type
// type speific meta // type speific meta
} }
``` ```