List backends
List backends that you have access to.This API requires authentication, please see
Authentication for instructions on issuing and passing a
JWT token to the API.
Cloud endpoint
API command
Example
<cerebro-jwt>
is the JWT returned from Authentication.<lambda-token>
is a base64 string that’s non-empty if you have saved Lambdas on your backend
For any
/admin
or /admin/slash
requests to
https://<deployment.url>
, you must use the <deployment-jwt>
in the X-Auth-Token
header. The Cerebro JWT is only used in the
Authorization
header for requests to https://cerebro.cloud.dgraph.io/graphql
. Deploy backend
Launch a new backend.This API requires authentication, please see
Authentication for instructions on issuing and passing a
JWT to the API.
Cloud endpoint
API command
Arguments
newDeployment
: parameter object for new deploymentnewDeployment.name
: name of the deploymentnewDeployment.zone
: region to launchnewDeployment.deploymentType
: type of deployment(free|shared|dedicated)
Example
<cerebro-jwt>
is the JWT returned from Authentication.
Update Backend
Update backend.This API requires authentication, please see
Authentication for instructions on issuing and passing a
JWT token to the API.
Cloud Endpoint
API Command
updateDeploymentInput
: parameter object for update deploymentupdateDeploymentInput.uid
(required): deploymentuid
Example
<cerebro-jwt>
is the JWT returned from Authentication.<deployment-uid>
is the UID returned from List Backends.
Destroy Backend
Destroy (i.e., delete) a backend by id.This API requires authentication, please see
Authentication for instructions on issuing and passing a
JWT token to the API.
Cloud Endpoint
API Command
deploymentID
(required): deploymentuid
returned from a List Backends request
Example
<cerebro-jwt>
is the JWT returned from Authentication.
Restore Backends
Restore into a backend by source backend ID.Cloud Endpoint
API Command
uid
(required): the deploymentuid
from List BackendsbackupFolder
(required): TODObackupNum
(required): TODO
Example
Restore Backend Status
Retrieve the status of a restore operation.Cloud Endpoint
API Command
restoreId
(required): the id of the restore operation returned from Restore Backends request
Example
Drop
Drop (i.e., delete) all data in your backend.Cloud Endpoint
API Command
Drop Data
Drop Schema
Drop Types
types
: string array containing type Names
Drop Fields
fields
: string array containing field Names