2024-07-22 23:47:53 +00:00
|
|
|
fragment BoolConfigItem on BoolConfigItem {
|
2024-07-23 16:56:09 +00:00
|
|
|
fieldId
|
2024-07-22 23:47:53 +00:00
|
|
|
description
|
|
|
|
type
|
|
|
|
boolValue: value
|
|
|
|
defaultBoolValue: defaultValue
|
|
|
|
widget
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment EnumConfigItem on EnumConfigItem {
|
2024-07-23 16:56:09 +00:00
|
|
|
fieldId
|
2024-07-22 23:47:53 +00:00
|
|
|
description
|
|
|
|
type
|
|
|
|
stringValue: value
|
|
|
|
defaultStringValue: defaultValue
|
|
|
|
options
|
|
|
|
widget
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment StringConfigItem on StringConfigItem {
|
2024-07-23 16:56:09 +00:00
|
|
|
fieldId
|
2024-07-22 23:47:53 +00:00
|
|
|
description
|
|
|
|
type
|
|
|
|
stringValue: value
|
|
|
|
defaultStringValue: defaultValue
|
|
|
|
regex
|
|
|
|
widget
|
|
|
|
}
|
|
|
|
|
2022-08-24 05:35:49 +00:00
|
|
|
query AllServices {
|
|
|
|
services {
|
|
|
|
allServices {
|
|
|
|
description
|
|
|
|
displayName
|
|
|
|
dnsRecords {
|
2023-06-23 02:22:48 +00:00
|
|
|
...fragmentDnsRecords
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
id
|
|
|
|
isEnabled
|
|
|
|
isMovable
|
|
|
|
isRequired
|
2023-06-29 10:51:38 +00:00
|
|
|
canBeBackedUp
|
2023-07-02 11:41:31 +00:00
|
|
|
backupDescription
|
2022-08-24 05:35:49 +00:00
|
|
|
status
|
|
|
|
storageUsage {
|
|
|
|
title
|
|
|
|
usedSpace
|
|
|
|
volume {
|
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
svgIcon
|
|
|
|
url
|
2024-07-22 23:47:53 +00:00
|
|
|
configuration {
|
2024-07-23 16:56:09 +00:00
|
|
|
fieldId
|
2024-07-22 23:47:53 +00:00
|
|
|
description
|
|
|
|
type
|
|
|
|
... BoolConfigItem
|
|
|
|
... EnumConfigItem
|
|
|
|
... StringConfigItem
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation EnableService($serviceId: String!) {
|
2024-01-15 09:11:09 +00:00
|
|
|
services {
|
|
|
|
enableService(serviceId: $serviceId) {
|
|
|
|
...basicMutationReturnFields
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation DisableService($serviceId: String!) {
|
2024-01-15 09:11:09 +00:00
|
|
|
services {
|
|
|
|
disableService(serviceId: $serviceId) {
|
|
|
|
...basicMutationReturnFields
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation StopService($serviceId: String!) {
|
2024-01-15 09:11:09 +00:00
|
|
|
services {
|
|
|
|
stopService(serviceId: $serviceId) {
|
|
|
|
...basicMutationReturnFields
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation StartService($serviceId: String!) {
|
2024-01-15 09:11:09 +00:00
|
|
|
services {
|
|
|
|
startService(serviceId: $serviceId) {
|
|
|
|
...basicMutationReturnFields
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation RestartService($serviceId: String!) {
|
2024-01-15 09:11:09 +00:00
|
|
|
services {
|
|
|
|
restartService(serviceId: $serviceId) {
|
|
|
|
...basicMutationReturnFields
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation MoveService($input: MoveServiceInput!) {
|
2024-01-15 09:11:09 +00:00
|
|
|
services {
|
|
|
|
moveService(input: $input) {
|
|
|
|
...basicMutationReturnFields
|
|
|
|
job {
|
|
|
|
...basicApiJobsFields
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
}
|
2023-06-16 01:30:46 +00:00
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
|
2024-07-22 23:47:53 +00:00
|
|
|
mutation SetServiceConfiguration($input: SetServiceConfigurationInput!) {
|
|
|
|
services {
|
|
|
|
setServiceConfiguration(input: $input) {
|
|
|
|
...basicMutationReturnFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|