minio/donut-metadata.md

56 lines
904 B
Markdown
Raw Normal View History

2015-09-09 00:32:55 -04:00
##### Users Collection
```js
"minio": {
"version": 1,
"users": [{
"secret-key": string,
"access-key": string,
"status": string // enum: ok, disabled, deleted
2015-09-09 00:32:55 -04:00
}],
"hosts": [{
"address": string,
"uuid": string,
"status": string, // enum: ok, disabled, deleted, busy, offline,
"disks": [{
"disk": string,
"uuid": string,
"status": string // ok, offline, disabled, busy
2015-09-09 00:32:55 -04:00
}]
}]
}
```
##### Bucket Collection
```js
"buckets": {
"bucket": string, // index
"permissions": string,
"deleted": bool
2015-09-09 00:32:55 -04:00
}
```
##### Object Collection
```js
"objects": {
"key": string, // index
"createdAt": Date,
"hosts[16]": [{
"host": string,
"disk": string,
2015-09-09 00:32:55 -04:00
}]
"deleted": bool
2015-09-09 00:32:55 -04:00
}
```
```js
"meta": {
"key": string, // index
"type": string // content-type
2015-09-09 00:32:55 -04:00
// type speific meta
}
```