API V1
  • Global information
  • Authentication
  • Data format
  • Rate Limit
  • Errors
  • Pagination
RESOURCES
  • Addon providers
  • Addons
  • Alerts
  • Applications
  • Audit Logs
  • Autoscalers
  • Billing
  • Collaborators
  • Container Sizes
  • Cron Tasks
  • Data Access Consents
  • Databases
  • Deployment
  • Domains
  • Environment variables
  • Event Categories
  • Event Types
  • Events
  • Invoices
  • SSH Keys
  • Log Drains
  • Application Logs
  • Metrics
  • Notification Platforms
  • Notifiers
  • One-off Containers
  • Operations
  • Projects
  • Referral
  • Regions
    • Get the List of Regions
  • SCM Integrations
  • Integration Link
  • Sources
  • Stacks
  • Tokens
  • User Account
LINKS
  • Addon Provider API
  • Database API
  • One-click Deployment API
  • scalingo.json Schema
  • Main site
  • Dashboard

Regions

Region Attributes

field type description
name string Underscore-cased name of the region
display_name string How the name of the region should be displayed
api string URL to the regional API managing apps
dashboard string URL to the dashboard of the region
database_api string URL to the regional API managing databases
ssh string SSH Host to git push application code

Example object:

{
   "regions" : [
      {
         "name" : "osc-fr1",
         "display_name" : "Paris - Outscale",
         "api" : "https://api.osc-fr1.scalingo.com",
         "dashboard" : "https://my.osc-fr1.scalingo.com",
         "database_api" : "https://db-api.osc-fr1.scalingo.com",
         "ssh" : "ssh.osc-fr1.scalingo.com:22"
      }
   ]
}

Get the List of Regions

GET https://$SCALINGO_AUTH_URL/v1/regions

Display the list of the regions accessible to your account.

Example

curl -H "Accept: application/json" -H "Content-Type: application/json" \
  -H "Authorization: Bearer $BEARER_TOKEN" \
  -X GET https://$SCALINGO_AUTH_URL/v1/regions

Returns 200 OK

{
   "regions" : [
      {
         "name" : "osc-fr1",
         "display_name" : "Paris - Outscale",
         "api" : "https://api.osc-fr1.scalingo.com",
         "dashboard" : "https://my.osc-fr1.scalingo.com",
         "database_api" : "https://db-api.osc-fr1.scalingo.com",
         "ssh" : "ssh.osc-fr1.scalingo.com:22"
       }, {
         "name" : "osc-secnum-fr1",
         "display_name" : "Paris - SecNumCloud - Outscale",
         "api" : "https://api.osc-secnum-fr1.scalingo.com",
         "dashboard" : "https://my.osc-secnum-fr1.scalingo.com",
         "database_api" : "https://db-api.osc-secnum-fr1.scalingo.com",
         "ssh" : "ssh.osc-secnum-fr1.scalingo.com:22"
       }
   ]
}