minio/donut-metadata.md

56 lines
918 B
Markdown
Raw Normal View History

2015-09-09 06:32:55 +02:00
##### Users Collection
```js
"minio": {
"version": 1,
"users": [{
2015-09-09 07:27:20 +02:00
"secretAccessKey": String,
"accessKeyId": String,
"status": String // enum: ok, disabled, deleted
2015-09-09 06:32:55 +02:00
}],
"hosts": [{
2015-09-09 07:27:20 +02:00
"address": String,
"uuid": String,
"status": String, // enum: ok, disabled, deleted, busy, offline.
"disks": [{
2015-09-09 07:27:20 +02:00
"disk": String,
"uuid": String,
"status": String // ok, offline, disabled, busy.
2015-09-09 06:32:55 +02:00
}]
}]
}
```
##### Bucket Collection
```js
"buckets": {
2015-09-09 07:27:20 +02:00
"bucket": String, // index
"deleted": Boolean,
"permissions": String
2015-09-09 06:32:55 +02:00
}
```
##### Object Collection
```js
"objects": {
2015-09-09 07:27:20 +02:00
"key": String, // index
"createdAt": Date,
"hosts[16]": [{
2015-09-09 07:27:20 +02:00
"host": String,
"disk": String,
}],
"deleted": Boolean
2015-09-09 06:32:55 +02:00
}
```
```js
"meta": {
2015-09-09 07:27:20 +02:00
"key": String, // index
"type": String // content-type
2015-09-09 06:32:55 +02:00
// type speific meta
}
```