Application Instances API Endpoints

Learn more about how to fetch application instances with our API

Get Instances

To list all existing instances of that app you can simply send a GET request to the following endpoint.

https://api.nodion.com/v1/applications/:id/instances

Required Headers: Authorization

Example Response:

  {
    "instances": [
      {
        "id": "0b7f0720-e235-4d39-9e67-601c34e8253c",
        "status": "online",
        "name": "3e5ac35cc2",
        "hypervisor_name": "16475",
        "created_at": "2023-06-03T17:13:17.093+02:00",
        "deployment": {
          "id": "97baaff3-b68e-4ee7-a353-66a7b14b3e65",
          "status": "available",
          "deploy_number": 38,
          "git_sha": "1499c76e1be39f98859e9c9670f4486c71497879",
          "commit_message": "Test",
          "committer_name": "John Doe",
          "committer_email": "john.doe@nodion.com",
          "committer_username": "John Doe",
          "commit_timestamp": "2023-05-24T15:59:27.000+02:00",
          "created_at": "2023-06-03T17:13:16.928+02:00"
        },
        "instance_type": {
          "id": "c047eab3-7574-44f5-b25a-5ae9b490500c",
          "name": "SB-G1-512MB",
          "slug": "sb-g1-512mb",
          "category": "sb",
          "cpu": 0.125,
          "mem": 0.5,
          "price_month": "4.0",
          "price_second": "0.000001522070015"
        },
        "worker": null
      }
    ]
  }