DocsOperations

REST API

Automate DIGITALYCloud with the REST API.

Operations 3 min read

Create an API key in Settings → API Keys, then call the API with a bearer token. Keys can be revoked at any time.

bash
curl https://api.cloud.digitaly.fr/v1/services/syncbot/deploy \
  -X POST \
  -H "Authorization: Bearer dgc_live_..."

Common endpoints

MethodPathDescription
GET/v1/servicesList your services
GET/v1/services/:idGet a service and its current status
POST/v1/services/:id/deployStart a new deployment
POST/v1/services/:id/restartRestart a service
GET/v1/services/:id/logsFetch recent log lines
Treat API keys like passwords. Store them as secrets in your CI, never in your repository.
Was this article helpful?