Dokumentation / Team / Endpunkt
GET

/api/v1/team/profiles/{id}/transfer-preview

Datenumfang und Versionen vor einer Profilübertragung prüfen

Anfrage#

POSIX-Shell · curl
curl --fail-with-body --request GET \
  "$ADBR_API_URL/api/v1/team/profiles/{id}/transfer-preview" \
  -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: admin

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

Parameter#

ParameterOrtPflichtBeschreibung
directionqueryJa
scopequeryNein
idpathJa
Vollständige Parameterschemas
OpenAPI JSON
[
  {
    "schema": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "publish"
          ]
        },
        {
          "type": "string",
          "enum": [
            "download"
          ]
        },
        {
          "type": "string",
          "enum": [
            "apply"
          ]
        }
      ]
    },
    "in": "query",
    "name": "direction",
    "required": true
  },
  {
    "schema": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "profile"
          ]
        },
        {
          "type": "string",
          "enum": [
            "cookies"
          ]
        },
        {
          "type": "string",
          "enum": [
            "browser"
          ]
        }
      ]
    },
    "in": "query",
    "name": "scope",
    "required": false
  },
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "in": "path",
    "name": "id",
    "required": true
  }
]

Anfragekörper#

Kein Anfragekörper deklariert.

Antworten#

200 · Standardantwort
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "direction",
          "scope",
          "name",
          "token",
          "local_version",
          "remote_version",
          "remote_hash",
          "local_state",
          "local_changed",
          "effect",
          "blocked",
          "reason",
          "fields"
        ],
        "properties": {
          "direction": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "publish"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "download"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "apply"
                ]
              }
            ]
          },
          "scope": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "profile"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "cookies"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "browser"
                ]
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "local_version": {
            "type": "integer"
          },
          "remote_version": {
            "type": "integer"
          },
          "remote_hash": {
            "type": [
              "string",
              "null"
            ]
          },
          "local_state": {
            "type": "string"
          },
          "local_changed": {
            "type": "boolean"
          },
          "effect": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "new_local"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "new_version"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "new_share"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "selected_local"
                ]
              }
            ]
          },
          "blocked": {
            "type": "boolean"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
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": "Datenumfang und Versionen vor einer Profilübertragung prüfen",
  "tags": [
    "Team"
  ],
  "parameters": [
    {
      "schema": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "publish"
            ]
          },
          {
            "type": "string",
            "enum": [
              "download"
            ]
          },
          {
            "type": "string",
            "enum": [
              "apply"
            ]
          }
        ]
      },
      "in": "query",
      "name": "direction",
      "required": true
    },
    {
      "schema": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "profile"
            ]
          },
          {
            "type": "string",
            "enum": [
              "cookies"
            ]
          },
          {
            "type": "string",
            "enum": [
              "browser"
            ]
          }
        ]
      },
      "in": "query",
      "name": "scope",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      },
      "in": "path",
      "name": "id",
      "required": true
    }
  ],
  "x-required-scopes": [
    "admin"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "direction",
              "scope",
              "name",
              "token",
              "local_version",
              "remote_version",
              "remote_hash",
              "local_state",
              "local_changed",
              "effect",
              "blocked",
              "reason",
              "fields"
            ],
            "properties": {
              "direction": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "publish"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "download"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "apply"
                    ]
                  }
                ]
              },
              "scope": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "profile"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "cookies"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "browser"
                    ]
                  }
                ]
              },
              "name": {
                "type": "string"
              },
              "token": {
                "type": "string"
              },
              "local_version": {
                "type": "integer"
              },
              "remote_version": {
                "type": "integer"
              },
              "remote_hash": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "local_state": {
                "type": "string"
              },
              "local_changed": {
                "type": "boolean"
              },
              "effect": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "new_local"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "new_version"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "new_share"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "selected_local"
                    ]
                  }
                ]
              },
              "blocked": {
                "type": "boolean"
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "fields": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "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