{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sevalla API",
    "version": "v3"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/applications"
          },
          "docs": "List all applications for the company."
        },
        {
          "info": {
            "name": "Create a new application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/applications",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new application deployed from Git or Docker."
        },
        {
          "info": {
            "name": "Retrieve application details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The application ID."
              }
            ]
          },
          "docs": "Retrieve details for a single application."
        },
        {
          "info": {
            "name": "Suspend a running application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/applications/:id/suspend",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The application ID."
              }
            ]
          },
          "docs": "Suspend a running application."
        }
      ]
    },
    {
      "info": {
        "name": "Deployments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List deployments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/applications/:id/deployments",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The application ID."
              }
            ]
          },
          "docs": "List deployments for an application."
        },
        {
          "info": {
            "name": "Trigger a deployment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/applications/:id/deployments",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The application ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Trigger a new deployment for an application."
        },
        {
          "info": {
            "name": "Roll back to a previous deployment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/applications/:id/deployments/:deploymentId/rollback",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The application ID."
              },
              {
                "name": "deploymentId",
                "value": "",
                "type": "path",
                "description": "The deployment ID."
              }
            ]
          },
          "docs": "Roll back to a previous deployment."
        }
      ]
    },
    {
      "info": {
        "name": "Databases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List databases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/databases"
          },
          "docs": "List managed databases."
        },
        {
          "info": {
            "name": "Create a database",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/databases",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Provision a PostgreSQL, MySQL, MariaDB, MongoDB, Redis, or Valkey database."
        },
        {
          "info": {
            "name": "Create a database backup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/databases/:id/backups",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The database ID."
              }
            ]
          },
          "docs": "Create a manual backup for a database."
        }
      ]
    },
    {
      "info": {
        "name": "Static Sites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List static sites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/static-sites"
          },
          "docs": "List static sites."
        },
        {
          "info": {
            "name": "Create a static site",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/static-sites",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Git-backed static site."
        },
        {
          "info": {
            "name": "Deploy a static site",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/static-sites/:id/deployments",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The static site ID."
              }
            ]
          },
          "docs": "Trigger a build and deployment for a static site."
        }
      ]
    },
    {
      "info": {
        "name": "Object Storage",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List object storage buckets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/object-storages"
          },
          "docs": "List S3-compatible object storage buckets."
        },
        {
          "info": {
            "name": "Create an object storage bucket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/object-storages",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an S3-compatible object storage bucket (Cloudflare R2)."
        },
        {
          "info": {
            "name": "List objects in a bucket",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/object-storages/:id/objects",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The bucket ID."
              }
            ]
          },
          "docs": "List objects stored in a bucket."
        }
      ]
    },
    {
      "info": {
        "name": "Pipelines",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List pipelines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/pipelines"
          },
          "docs": "List promotion pipelines."
        },
        {
          "info": {
            "name": "Create a pipeline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/pipelines",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a multi-stage promotion pipeline."
        },
        {
          "info": {
            "name": "Promote an application between stages",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sevalla.com/v3/pipelines/:id/promote",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The pipeline ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Promote an application from one pipeline stage to another."
        }
      ]
    },
    {
      "info": {
        "name": "Company",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get company usage data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/company/usage"
          },
          "docs": "Retrieve usage and cost data for the company."
        },
        {
          "info": {
            "name": "List company users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/company/users"
          },
          "docs": "List users in the company."
        },
        {
          "info": {
            "name": "List API keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sevalla.com/v3/api-keys"
          },
          "docs": "List API keys for the company."
        }
      ]
    }
  ],
  "bundled": true
}
