GET

/api/v1/extension-defaults

Standard-Erweiterungen und Einrichtungsvorlagen anzeigen

Anfrage#

POSIX-Shell · curl
curl --fail-with-body --request GET \
  "$ADBR_API_URL/api/v1/extension-defaults" \
  -H "Authorization: Bearer $ADBR_API_TOKEN"

Verwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs.

Authentifizierung und Rechte#

Authentifizierung: Bearer-Token

Scopes: profiles:read

Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Kontorechte, Anfrageinhalt, Tresorzustand und Ressourcenrechte können weitere Voraussetzungen setzen.

Parameter#

ParameterOrtPflichtBeschreibung
enginequeryNein
Vollständige Parameterschemas
OpenAPI JSON
[
  {
    "schema": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "chromium"
          ]
        },
        {
          "type": "string",
          "enum": [
            "firefox"
          ]
        }
      ]
    },
    "in": "query",
    "name": "engine",
    "required": false
  }
]

Anfragekörper#

Kein Anfragekörper deklariert.

Antworten#

200 · Standardantwort
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "extension_id",
                "name",
                "engine",
                "enabled",
                "use_template",
                "template"
              ],
              "properties": {
                "extension_id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "engine": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "chromium"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "firefox"
                      ]
                    }
                  ]
                },
                "enabled": {
                  "type": "boolean"
                },
                "use_template": {
                  "type": "boolean"
                },
                "template": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "revision",
                        "version_id",
                        "version",
                        "created_at",
                        "source_profile_id",
                        "source_name"
                      ],
                      "properties": {
                        "revision": {
                          "type": "integer"
                        },
                        "version_id": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "created_at": {
                          "type": "integer"
                        },
                        "source_profile_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "source_name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}
default · HTTP-Fehlerhülle. Status und error.code bezeichnen den Fehler.
OpenAPI JSON
{
  "description": "HTTP error envelope. The status and error.code identify the failure.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

Allgemeine Authentifizierungs- und Transportfehler können zusätzlich zu den dokumentierten Antworten auftreten.

OpenAPI-Definition#

Vollständige Operationsdefinition
OpenAPI JSON
{
  "summary": "Standard-Erweiterungen und Einrichtungsvorlagen anzeigen",
  "tags": [
    "Erweiterungen"
  ],
  "parameters": [
    {
      "schema": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "chromium"
            ]
          },
          {
            "type": "string",
            "enum": [
              "firefox"
            ]
          }
        ]
      },
      "in": "query",
      "name": "engine",
      "required": false
    }
  ],
  "x-required-scopes": [
    "profiles:read"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "extension_id",
                    "name",
                    "engine",
                    "enabled",
                    "use_template",
                    "template"
                  ],
                  "properties": {
                    "extension_id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "engine": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "chromium"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "firefox"
                          ]
                        }
                      ]
                    },
                    "enabled": {
                      "type": "boolean"
                    },
                    "use_template": {
                      "type": "boolean"
                    },
                    "template": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "revision",
                            "version_id",
                            "version",
                            "created_at",
                            "source_profile_id",
                            "source_name"
                          ],
                          "properties": {
                            "revision": {
                              "type": "integer"
                            },
                            "version_id": {
                              "type": "string"
                            },
                            "version": {
                              "type": "string"
                            },
                            "created_at": {
                              "type": "integer"
                            },
                            "source_profile_id": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "source_name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "default": {
      "description": "HTTP error envelope. The status and error.code identify the failure.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}

Suche nach Headless, MCP, Cookies oder einem API-Endpunkt.

↑ ↓ NavigierenEnter ÖffnenEsc Schließen