Mutation
The Mutation type represents all the mutable entry points to the API.
type Mutation {# Create new location.# Authorization: must be at least ADMIN.# Returns created location.locationCreate(# Batch input for location creation.# Batch configuration of a location.# Authorization: must be at least ADMIN.# Returns configured location.locationConfigure(# ID of location to configure.# Batch input for location configuration.# Set a common parent for locations. Parent can either be a region or a location.# Authorization: must be at least ADMIN.locationSetParents(# IDs of (children) locations (which we set a parent for).# ID of parent location/region.): Void# Delete locations.# Authorization: must be at least ADMIN.locationDelete(# IDs of locations to delete.): Void# Create new server.# Authorization: must be at least ADMIN.# Returns created server.serverCreate(# Batch input for server creation.# Batch configuration of a server.# Authorization: must be at least ADMIN.# Returns configured server.serverConfigure(# ID of server to configure.# Selected mode to apply this configuration to an ECDN server.# Batch input for server configuration.# Cancels PENDING desired MANUAL configuration of a server.# Authorization: must be at least ADMIN.serverConfigurationCancel(# ID of server to cancel PENDING MANUAL configuration on.): Void# Enable content delivery on servers.# Authorization: must be at least ADMIN.serverEnableContentDelivery(# IDs of servers to enable content delivery on.): Void# Disable content delivery on servers.# Authorization: must be at least ADMIN.serverDisableContentDelivery(# IDs of servers to disable content delivery on.): Void# Enable remote assistance on servers.# Authorization: must be at least ADMIN.serverEnableRemoteAssistance(# IDs of servers to enable remote assistance on.): Void# Disable remote assistance on servers.# Authorization: must be at least ADMIN.serverDisableRemoteAssistance(# IDs of servers to disable remote assistance on.): Void# Delete servers.# Authorization: must be at least ADMIN.serverDelete(# IDs of servers to delete.): Void# Create time-series report of ECDN video delivery.# Interval of a query with minutely granularity cannot exceed 24 hours.# Metrics older than 1 year are discarded.# Returns created report.reportCreate(# Granularity of time intervals.# Break down report's intervals by additional fields.# Start report from this point in time.# End report at this point in time.# Send created report to this email address.# Included fields in the report.# Add SSH key.# Authorization: must be at least ADMIN.# Returns added SSH key.sshKeyAdd(# Description of SSH key.# Must not be empty, must be unique and maximum allowed length is 60 characters.# Public part of SSH key. It can either be:# * RSA: must be at least 2048 bits long.# * ECDSA: 256, 384, or 521 bits long.# * Ed25519.}
Fields
locationCreate: Location!
Create new location. Authorization: must be at least ADMIN. Returns created location.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
config | BatchLocationInput | YES | NO | Batch input for location creation. |
locationConfigure: Location!
Batch configuration of a location. Authorization: must be at least ADMIN. Returns configured location.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
locationID | ID | YES | NO | ID of location to configure. |
config | BatchLocationInput | YES | NO | Batch input for location configuration. |
locationSetParents: Void
Set a common parent for locations. Parent can either be a region or a location. Authorization: must be at least ADMIN.
locationDelete: Void
Delete locations. Authorization: must be at least ADMIN.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
locationIDs | ID | YES | YES | IDs of locations to delete. |
serverCreate: Server!
Create new server. Authorization: must be at least ADMIN. Returns created server.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
config | BatchServerInput | YES | NO | Batch input for server creation. |
serverConfigure: Server!
Batch configuration of a server. Authorization: must be at least ADMIN. Returns configured server.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
serverID | ID | YES | NO | ID of server to configure. |
mode | ConfigurationMode | YES | NO | Selected mode to apply this configuration to an ECDN server. |
config | BatchServerInput | YES | NO | Batch input for server configuration. |
serverConfigurationCancel: Void
Cancels PENDING desired MANUAL configuration of a server. Authorization: must be at least ADMIN.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
serverID | ID | YES | NO | ID of server to cancel PENDING MANUAL configuration on. |
serverEnableContentDelivery: Void
Enable content delivery on servers. Authorization: must be at least ADMIN.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
serverIDs | ID | YES | YES | IDs of servers to enable content delivery on. |
serverDisableContentDelivery: Void
Disable content delivery on servers. Authorization: must be at least ADMIN.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
serverIDs | ID | YES | YES | IDs of servers to disable content delivery on. |
serverEnableRemoteAssistance: Void
Enable remote assistance on servers. Authorization: must be at least ADMIN.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
serverIDs | ID | YES | YES | IDs of servers to enable remote assistance on. |
serverDisableRemoteAssistance: Void
Disable remote assistance on servers. Authorization: must be at least ADMIN.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
serverIDs | ID | YES | YES | IDs of servers to disable remote assistance on. |
serverDelete: Void
Delete servers. Authorization: must be at least ADMIN.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
serverIDs | ID | YES | YES | IDs of servers to delete. |
reportCreate: Report!
Create time-series report of ECDN video delivery. Interval of a query with minutely granularity cannot exceed 24 hours. Metrics older than 1 year are discarded. Returns created report.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
granularity | Granularity | YES | NO | Granularity of time intervals. |
breakdown | ReportBreakdown | NO | NO | Break down report’s intervals by additional fields. |
from | Time | YES | NO | Start report from this point in time. |
to | Time | YES | NO | End report at this point in time. |
EmailAddress | YES | NO | Send created report to this email address. | |
include | ReportField | YES | YES | Included fields in the report. |
sshKeyAdd: SSHKey!
Add SSH key. Authorization: must be at least ADMIN. Returns added SSH key.
ARGUMENT | TYPE | NULLABLE | LIST | DESCRIPTION |
---|---|---|---|---|
description | String | YES | NO | Description of SSH key. Must not be empty, must be unique and maximum allowed length is 60 characters. |
publicKey | PublicKey | YES | NO | Public part of SSH key. It can either be: RSA: must be at least 2048 bits long. ECDSA: 256, 384, or 521 bits long. * Ed25519. |