POST

/api/v1/extension-defaults/{id}/setup/{setupId}/capture

Save setup from the isolated browser window

Request#

POSIX shell · curl
curl --fail-with-body --request POST \
  "$ADBR_API_URL/api/v1/extension-defaults/{id}/setup/{setupId}/capture" \
  -H "Authorization: Bearer $ADBR_API_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{}'

Use the local address and token from API & MCP. Replace path placeholders such as {id} with actual IDs.

Authentication and permissions#

Authentication: Bearer token

Scopes: extensions:write, secrets:read

All listed scopes are required; admin satisfies scope checks. Account permissions, request content, vault state and resource permissions can impose additional requirements.

Parameters#

ParameterLocationRequiredDescription
idpathYes
setupIdpathYes
Complete parameter schemas
OpenAPI JSON
[
  {
    "schema": {
      "type": "string"
    },
    "in": "path",
    "name": "id",
    "required": true
  },
  {
    "schema": {
      "type": "string"
    },
    "in": "path",
    "name": "setupId",
    "required": true
  }
]

Request body#

No request body declared.

Responses#

200 · Default response
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "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 error envelope. The status and error.code identify the failure.
OpenAPI JSON
{
  "description": "HTTP error envelope. The status and error.code identify the failure.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

General authentication and transport errors may occur in addition to the documented responses.

OpenAPI definition#

Complete operation definition
OpenAPI JSON
{
  "summary": "Einrichtung aus dem getrennten Browserfenster speichern",
  "tags": [
    "Erweiterungen"
  ],
  "parameters": [
    {
      "schema": {
        "type": "string"
      },
      "in": "path",
      "name": "id",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "path",
      "name": "setupId",
      "required": true
    }
  ],
  "x-required-scopes": [
    "extensions:write",
    "secrets:read"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "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"
          }
        }
      }
    }
  }
}

Search for headless, MCP, cookies or an API endpoint.

↑ ↓ NavigateEnter OpenEsc Close