Bbolt API (0.0.4)

Download OpenAPI specification:Download

Buckets

get a list of all buckets

Responses

Response samples

Content type
application/json
{
  • "buckets": [
    ]
}

get a specific bucket

path Parameters
id
required
string
Example: myBucket

id of bucket

Responses

create a new bucket

path Parameters
id
required
string
Example: myBucket

id of bucket

delete a bucket

path Parameters
id
required
string
Example: myBucket

id of bucket

Responses

Keys

get all keys in a bucket

path Parameters
id
required
string
Example: myBucket

id of bucket

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

get value for specific key

path Parameters
bucketID
required
string
Example: myBucket

the bucket id

keyID
required
string
Example: myKey

the key id

Responses

Response samples

Content type
application/json
{
  • "data": "value1"
}

create new key

path Parameters
bucketID
required
string
Example: myBucket

the bucket id

keyID
required
string
Example: myKey

the key id

Request Body schema: application/json
data
string

Responses

Request samples

Content type
application/json
{
  • "data": "string"
}

delete key

path Parameters
bucketID
required
string
Example: myBucket

the bucket id

keyID
required
string
Example: myKey

the key id

Responses

Admin

get stats for the database

Responses

Response samples

Content type
application/json
{
  • "total_read_transactions": 14,
  • "total_writes": 9,
  • "total_disk_write_duration": 0.014126732
}

get backup of database

Responses