{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tessl Admin Keys Environments API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GET /experimental/environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tessl.io/experimental/environments",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer <token>"
              }
            ],
            "params": [
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query"
              },
              {
                "name": "page[after]",
                "value": "",
                "type": "query"
              },
              {
                "name": "page[before]",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter[workspaceId]",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter[workspaceId][eq]",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Lists environments in the workspaces the caller can view, newest-first. Never returns the sealed values — only names, metadata, and declared key names."
        },
        {
          "info": {
            "name": "POST /experimental/environments",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tessl.io/experimental/environments",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer <token>"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a named, workspace-scoped environment. The supplied `.env` payload is validated, sealed under the workspace key, and never returned by any read path."
        },
        {
          "info": {
            "name": "GET /experimental/environments/{id}",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tessl.io/experimental/environments/:id",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer <token>"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Gets a single environment by ID (metadata only — the sealed value is never returned)."
        },
        {
          "info": {
            "name": "PUT /experimental/environments/{id}",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.tessl.io/experimental/environments/:id",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer <token>"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replaces an environment's sealed value in place. The new `.env` payload is validated, sealed under the workspace key, and never returned."
        },
        {
          "info": {
            "name": "DELETE /experimental/environments/{id}",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.tessl.io/experimental/environments/:id",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer <token>"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes an environment by ID."
        }
      ]
    }
  ],
  "bundled": true
}