Harthelm Docs
REST APIManaged services

List managed-service providers

With `team` (needs `team.view`): the team's catalog, the enabled providers offered to the team; one the cluster cannot run (no CNPG operator for PostgreSQL) is listed with `available` false and the reason, so the console can show why. Without `team`: every provider version, disabled ones included (cluster admins only, 403 otherwise). Ordered by display name, then name and version.

Generated from openapi/harthelm.yaml at v1.5.0
GET
/providers

Authorization

cookie__Host-harthelm_session<token>

Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header Harthelm-CSRF: 1 and a matching Origin.

Query Parameters

team?integer

The team whose catalog to list.

Formatint64
Range1 <= value
limit?integer

Maximum number of items per page.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from next_cursor of the previous page.

Lengthlength <= 1024

Response Body

A page of providers.

application/json
  1. response
next_cursor?string

Absent on the last page.

items*array<>
curl -X GET 'https://console.example.com/api/v1/providers'
{  "next_cursor": "string",  "items": [    {      "name": "string",      "version": "string",      "source": "builtin",      "enabled": true,      "available": true,      "unavailable_reason": "string",      "teams": [        1      ],      "backend_secret_set": true,      "definition": {        "schema": "harthelm/provider-v2",        "name": "string",        "version": "string",        "displayName": "string",        "description": "string",        "category": "string",        "author": "string",        "icon": "string",        "documentationUrl": "string",        "maturity": "ga",        "onePerTeam": true,        "labels": {          "property1": "string",          "property2": "string"        },        "capabilities": {          "pause": true,          "backup": true,          "rotate": true        },        "fields": {          "config": {},          "secrets": {},          "details": {}        },        "connection": {          "host": "string",          "port": "string",          "dsn": "string",          "secret": "string"        },        "resources": {          "property1": {            "kind": "cpu-millis",            "title": "string",            "description": "string",            "minimum": 0,            "maximum": 0,            "readOnly": true,            "x-hart-change": "grow-only"          },          "property2": {            "kind": "cpu-millis",            "title": "string",            "description": "string",            "minimum": 0,            "maximum": 0,            "readOnly": true,            "x-hart-change": "grow-only"          }        },        "plans": [          {            "id": "string",            "name": "string",            "description": "string",            "default": true,            "resources": {              "property1": 0,              "property2": 0            },            "parameters": {}          }        ],        "backend": {          "builtin": "string",          "rest": {            "url": "string",            "timeoutSeconds": 0          }        }      },      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ]}