selfprivacy.org.app/lib/logic/api_maps/graphql_maps/schema/services.graphql
2023-07-02 18:22:07 +03:00

67 lines
1.2 KiB
GraphQL

query AllServices {
services {
allServices {
description
displayName
dnsRecords {
...fragmentDnsRecords
}
id
isEnabled
isMovable
isRequired
canBeBackedUp
backupDescription
status
storageUsage {
title
usedSpace
volume {
name
}
}
svgIcon
url
}
}
}
mutation EnableService($serviceId: String!) {
enableService(serviceId: $serviceId) {
...basicMutationReturnFields
}
}
mutation DisableService($serviceId: String!) {
disableService(serviceId: $serviceId) {
...basicMutationReturnFields
}
}
mutation StopService($serviceId: String!) {
stopService(serviceId: $serviceId) {
...basicMutationReturnFields
}
}
mutation StartService($serviceId: String!) {
startService(serviceId: $serviceId) {
...basicMutationReturnFields
}
}
mutation RestartService($serviceId: String!) {
restartService(serviceId: $serviceId) {
...basicMutationReturnFields
}
}
mutation MoveService($input: MoveServiceInput!) {
moveService(input: $input) {
...basicMutationReturnFields
job {
...basicApiJobsFields
}
}
}