- ReplicaSet
- Run a container via replicaSetPOST
- Commit container as an image via replicaSetPOST
- Execute a command in the container via replicaSetPOST
- Patch a container via replicaSetPATCH
- Rollback a container via replicaSetPATCH
- Stop a container via replicaSetPATCH
- Restart a container via replicaSetPATCH
- Pause a replicaSet via replicaSetPATCH
- Continue a replicaSet via replicaSetPATCH
- Get version info about replicaSetGET
- Get all version info about replicaSetGET
- Delete a container via replicaSetDELETE
- Volume
- Resource
Get all version info about a volume
GET
/api/v1/volumes/{name}/history
Request
Path Params
name
string
required
Example:
bar
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:2378/api/v1/volumes/bar/history'
Responses
🟢200OK
application/json
Body
code
integer
required
msg
string
required
data
object
required
history
array [object {3}]
required
Example
{
"code": 200,
"msg": "Success",
"data": {
"history": [
{
"version": 2,
"createTime": "2024-01-23 02:17:30",
"status": {
"version": 2,
"createTime": "2024-01-23 02:17:30",
"opt": {
"Driver": "local",
"DriverOpts": {
"size": "50GB"
},
"Name": "bar-2"
}
}
},
{
"version": 1,
"createTime": "2024-01-23 02:17:28",
"status": {
"version": 1,
"createTime": "2024-01-23 02:17:28",
"opt": {
"Driver": "local",
"DriverOpts": {
"size": "20GB"
},
"Name": "bar-1"
}
}
}
]
}
}
Modified at 2024-01-23 03:02:05