{
  "opencollection": "1.0.0",
  "info": {
    "name": "Coolify Applications Services API",
    "version": "0.1"
  },
  "items": [
    {
      "info": {
        "name": "Services",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.coolify.io/api/v1/services",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all services."
        },
        {
          "info": {
            "name": "Create service",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.coolify.io/api/v1/services",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a one-click / custom service"
        },
        {
          "info": {
            "name": "Get",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.coolify.io/api/v1/services/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "Service UUID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get service by UUID."
        },
        {
          "info": {
            "name": "Update",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.coolify.io/api/v1/services/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update service by UUID."
        },
        {
          "info": {
            "name": "Delete",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.coolify.io/api/v1/services/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "Service UUID"
              },
              {
                "name": "delete_configurations",
                "value": "",
                "type": "query",
                "description": "Delete configurations."
              },
              {
                "name": "delete_volumes",
                "value": "",
                "type": "query",
                "description": "Delete volumes."
              },
              {
                "name": "docker_cleanup",
                "value": "",
                "type": "query",
                "description": "Run docker cleanup."
              },
              {
                "name": "delete_connected_networks",
                "value": "",
                "type": "query",
                "description": "Delete connected networks."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete service by UUID."
        },
        {
          "info": {
            "name": "List Envs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.coolify.io/api/v1/services/:uuid/envs",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all envs by service UUID."
        },
        {
          "info": {
            "name": "Create Env",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.coolify.io/api/v1/services/:uuid/envs",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create env by service UUID."
        },
        {
          "info": {
            "name": "Update Env",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.coolify.io/api/v1/services/:uuid/envs",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update env by service UUID."
        },
        {
          "info": {
            "name": "Update Envs (Bulk)",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.coolify.io/api/v1/services/:uuid/envs/bulk",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update multiple envs by service UUID."
        },
        {
          "info": {
            "name": "Delete Env",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.coolify.io/api/v1/services/:uuid/envs/:env_uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              },
              {
                "name": "env_uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the environment variable."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete env by UUID."
        },
        {
          "info": {
            "name": "Start",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.coolify.io/api/v1/services/:uuid/start",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Start service. `Post` request is also accepted."
        },
        {
          "info": {
            "name": "Stop",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.coolify.io/api/v1/services/:uuid/stop",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              },
              {
                "name": "docker_cleanup",
                "value": "",
                "type": "query",
                "description": "Perform docker cleanup (prune networks, volumes, etc.)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Stop service. `Post` request is also accepted."
        },
        {
          "info": {
            "name": "Restart",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.coolify.io/api/v1/services/:uuid/restart",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              },
              {
                "name": "latest",
                "value": "",
                "type": "query",
                "description": "Pull latest images."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Restart service. `Post` request is also accepted."
        },
        {
          "info": {
            "name": "List Storages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.coolify.io/api/v1/services/:uuid/storages",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all persistent storages and file storages by service UUID."
        },
        {
          "info": {
            "name": "Create Storage",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.coolify.io/api/v1/services/:uuid/storages",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a persistent storage or file storage for a service sub-resource."
        },
        {
          "info": {
            "name": "Update Storage",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.coolify.io/api/v1/services/:uuid/storages",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a persistent storage or file storage by service UUID."
        },
        {
          "info": {
            "name": "Delete Storage",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.coolify.io/api/v1/services/:uuid/storages/:storage_uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the service."
              },
              {
                "name": "storage_uuid",
                "value": "",
                "type": "path",
                "description": "UUID of the storage."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a persistent storage or file storage by service UUID."
        }
      ]
    }
  ],
  "bundled": true
}