Dokumentation / Wartung / Endpunkt
GET

/api/v1/maintenance/orphans

Unbekannte Profilordner: Ordner im Profilbereich ohne Datenbankeintrag (z. B. nach Wiederherstellung einer älteren Datenbanksicherung)

Anfrage#

POSIX-Shell · curl
curl --fail-with-body --request GET \
  "$ADBR_API_URL/api/v1/maintenance/orphans" \
  -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#

Keine Pfad- oder Query-Parameter deklariert.

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": [
                "folder_key",
                "modified_at",
                "size_bytes",
                "has_mirror",
                "profile"
              ],
              "properties": {
                "folder_key": {
                  "type": "string"
                },
                "modified_at": {
                  "type": "integer"
                },
                "size_bytes": {
                  "type": "integer"
                },
                "has_mirror": {
                  "type": "boolean"
                },
                "profile": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "no",
                        "name",
                        "group",
                        "engine",
                        "engine_version",
                        "updated_at"
                      ],
                      "properties": {
                        "id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "no": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "group": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "engine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "engine_version": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "updated_at": {
                          "type": [
                            "integer",
                            "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": "Unbekannte Profilordner: Ordner im Profilbereich ohne Datenbankeintrag (z. B. nach Wiederherstellung einer älteren Datenbanksicherung)",
  "tags": [
    "Wartung"
  ],
  "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": [
                    "folder_key",
                    "modified_at",
                    "size_bytes",
                    "has_mirror",
                    "profile"
                  ],
                  "properties": {
                    "folder_key": {
                      "type": "string"
                    },
                    "modified_at": {
                      "type": "integer"
                    },
                    "size_bytes": {
                      "type": "integer"
                    },
                    "has_mirror": {
                      "type": "boolean"
                    },
                    "profile": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "no",
                            "name",
                            "group",
                            "engine",
                            "engine_version",
                            "updated_at"
                          ],
                          "properties": {
                            "id": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "no": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "group": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "engine": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "engine_version": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "updated_at": {
                              "type": [
                                "integer",
                                "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