{
  "opencollection": "1.0.0",
  "info": {
    "name": "SF Compute API",
    "version": "v0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Account",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get current account information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/account"
          },
          "docs": "Get current account information"
        },
        {
          "info": {
            "name": "Get account info (legacy)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/account/info"
          },
          "docs": "Get account info (legacy)"
        },
        {
          "info": {
            "name": "List tokens",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/account/tokens"
          },
          "docs": "List tokens"
        },
        {
          "info": {
            "name": "Create token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/account/tokens"
          },
          "docs": "Create token"
        },
        {
          "info": {
            "name": "Delete token",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.sfcompute.com/v0/api/account/tokens/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete token"
        }
      ]
    },
    {
      "info": {
        "name": "Money",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get current account balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/money/balance"
          },
          "docs": "Get current account balance"
        },
        {
          "info": {
            "name": "Get current credit balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/money/credits"
          },
          "docs": "Get current credit balance"
        },
        {
          "info": {
            "name": "Get refunds status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/money/refunds"
          },
          "docs": "Get refunds status"
        },
        {
          "info": {
            "name": "Get transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/money/transactions"
          },
          "docs": "Get transactions"
        }
      ]
    },
    {
      "info": {
        "name": "Nodes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List nodes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/nodes"
          },
          "docs": "List nodes"
        },
        {
          "info": {
            "name": "Create nodes",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/nodes"
          },
          "docs": "Create nodes"
        },
        {
          "info": {
            "name": "Get node details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/nodes/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get node details"
        },
        {
          "info": {
            "name": "Delete node",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.sfcompute.com/v0/api/nodes/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete node"
        },
        {
          "info": {
            "name": "Extend reservation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/nodes/:id/extend",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Extend reservation"
        },
        {
          "info": {
            "name": "Redeploy node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/nodes/:id/redeploy",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Redeploy node"
        },
        {
          "info": {
            "name": "Release node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/nodes/:id/release",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Release node"
        },
        {
          "info": {
            "name": "Health check",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/health"
          },
          "docs": "Health check"
        }
      ]
    },
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/orders"
          },
          "docs": "List orders"
        },
        {
          "info": {
            "name": "Create order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/orders"
          },
          "docs": "Create order"
        },
        {
          "info": {
            "name": "Get order details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/orders/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get order details"
        },
        {
          "info": {
            "name": "Cancel order",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.sfcompute.com/v0/api/orders/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Cancel order"
        }
      ]
    },
    {
      "info": {
        "name": "VMs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List VM instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/vms/instances"
          },
          "docs": "List VM instances"
        },
        {
          "info": {
            "name": "Replace VM",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/vms/replace"
          },
          "docs": "Replace VM"
        },
        {
          "info": {
            "name": "Get VM logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/vms/:id/logs",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get VM logs"
        },
        {
          "info": {
            "name": "Get SSH info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/vms/:id/ssh",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get SSH info"
        },
        {
          "info": {
            "name": "Get startup script",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/vms/:id/startup-script",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get startup script"
        },
        {
          "info": {
            "name": "Set startup script",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/vms/:id/startup-script",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Set startup script"
        }
      ]
    },
    {
      "info": {
        "name": "Images",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List images",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/vms/images"
          },
          "docs": "List images"
        },
        {
          "info": {
            "name": "Start image upload",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/images/upload/start"
          },
          "docs": "Start image upload"
        },
        {
          "info": {
            "name": "Upload image data",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/images/upload/data"
          },
          "docs": "Upload image data"
        },
        {
          "info": {
            "name": "Complete image upload",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sfcompute.com/v0/api/images/upload/complete"
          },
          "docs": "Complete image upload"
        },
        {
          "info": {
            "name": "Download image",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sfcompute.com/v0/api/images/:id/download",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Download image"
        }
      ]
    }
  ],
  "bundled": true
}