mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-08-25 06:21:52 +00:00
54 lines
892 B
GraphQL
54 lines
892 B
GraphQL
query GetServerDiskVolumes {
|
|
storage {
|
|
volumes {
|
|
freeSpace
|
|
model
|
|
name
|
|
root
|
|
serial
|
|
totalSpace
|
|
type
|
|
usages {
|
|
title
|
|
usedSpace
|
|
__typename
|
|
... on ServiceStorageUsage {
|
|
service {
|
|
id
|
|
isMovable
|
|
displayName
|
|
}
|
|
}
|
|
}
|
|
usedSpace
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation MountVolume($name: String!) {
|
|
mountVolume(name: $name) {
|
|
...basicMutationReturnFields
|
|
}
|
|
}
|
|
|
|
mutation ResizeVolume($name: String!) {
|
|
resizeVolume(name: $name) {
|
|
...basicMutationReturnFields
|
|
}
|
|
}
|
|
|
|
mutation UnmountVolume($name: String!) {
|
|
unmountVolume(name: $name) {
|
|
...basicMutationReturnFields
|
|
}
|
|
}
|
|
|
|
mutation MigrateToBinds($input: MigrateToBindsInput!) {
|
|
migrateToBinds(input: $input) {
|
|
...basicMutationReturnFields
|
|
job {
|
|
...basicApiJobsFields
|
|
}
|
|
}
|
|
}
|