mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-08-26 06:51:51 +00:00
70 lines
1.1 KiB
GraphQL
70 lines
1.1 KiB
GraphQL
fragment basicMutationReturnFields on MutationReturnInterface{
|
|
code
|
|
message
|
|
success
|
|
}
|
|
|
|
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 {
|
|
createdAt
|
|
description
|
|
error
|
|
finishedAt
|
|
name
|
|
progress
|
|
result
|
|
status
|
|
statusText
|
|
uid
|
|
updatedAt
|
|
}
|
|
}
|
|
}
|