AdsPower-Kompatibilität · API
Aus dem OpenAPI-Stand erzeugt. Quellzusammenfassungen bleiben unverändert; die JSON-Schemas unten sind die exakten exportierten Definitionen.
GET /api/v1/settings/compat
Einstellungen der AdsPower-kompatiblen Schnittstelle
Authentifizierung: Bearer-Token
Erforderliche Routen-Scopes: profiles:read
Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Anfrageinhalt, Tresorzustand und Ressourcenrechte können zusätzliche Voraussetzungen setzen.
Keine Pfad- oder Query-Parameter deklariert.
Kein Anfragekörper deklariert.
Dokumentierte Antworten
{
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"enabled",
"port",
"require_token",
"rate_limit",
"legacy_key_set",
"webdriver_path",
"running",
"active_port"
],
"properties": {
"enabled": {
"type": "boolean"
},
"port": {
"type": "integer",
"minimum": 1024,
"maximum": 65535
},
"require_token": {
"type": "boolean"
},
"rate_limit": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"legacy_key_set": {
"type": "boolean"
},
"webdriver_path": {
"type": [
"null",
"string"
]
},
"running": {
"type": "boolean"
},
"active_port": {
"type": [
"null",
"integer"
]
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}Vollständige Operationsdefinition
{
"summary": "Einstellungen der AdsPower-kompatiblen Schnittstelle",
"tags": [
"AdsPower-Kompatibilität"
],
"x-required-scopes": [
"profiles:read"
],
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"enabled",
"port",
"require_token",
"rate_limit",
"legacy_key_set",
"webdriver_path",
"running",
"active_port"
],
"properties": {
"enabled": {
"type": "boolean"
},
"port": {
"type": "integer",
"minimum": 1024,
"maximum": 65535
},
"require_token": {
"type": "boolean"
},
"rate_limit": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"legacy_key_set": {
"type": "boolean"
},
"webdriver_path": {
"type": [
"null",
"string"
]
},
"running": {
"type": "boolean"
},
"active_port": {
"type": [
"null",
"integer"
]
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}PUT /api/v1/settings/compat
AdsPower-kompatible Schnittstelle ein-/ausschalten und konfigurieren; legacy_key übernimmt einen vorhandenen AdsPower-API-Schlüssel (nur als Hash gespeichert)
Authentifizierung: Bearer-Token
Erforderliche Routen-Scopes: settings:write
Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Anfrageinhalt, Tresorzustand und Ressourcenrechte können zusätzliche Voraussetzungen setzen.
Keine Pfad- oder Query-Parameter deklariert.
Anfragekörper · erforderlich
{
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"port": {
"type": "integer",
"minimum": 1024,
"maximum": 65535
},
"require_token": {
"type": "boolean"
},
"rate_limit": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"legacy_key": {
"type": [
"string",
"null"
],
"minLength": 8,
"maxLength": 256
},
"webdriver_path": {
"type": [
"string",
"null"
],
"maxLength": 1024
}
},
"additionalProperties": false
}
}
}
}Dokumentierte Antworten
{
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"enabled",
"port",
"require_token",
"rate_limit",
"legacy_key_set",
"webdriver_path",
"running",
"active_port"
],
"properties": {
"enabled": {
"type": "boolean"
},
"port": {
"type": "integer",
"minimum": 1024,
"maximum": 65535
},
"require_token": {
"type": "boolean"
},
"rate_limit": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"legacy_key_set": {
"type": "boolean"
},
"webdriver_path": {
"type": [
"null",
"string"
]
},
"running": {
"type": "boolean"
},
"active_port": {
"type": [
"null",
"integer"
]
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}Vollständige Operationsdefinition
{
"summary": "AdsPower-kompatible Schnittstelle ein-/ausschalten und konfigurieren; legacy_key übernimmt einen vorhandenen AdsPower-API-Schlüssel (nur als Hash gespeichert)",
"tags": [
"AdsPower-Kompatibilität"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"port": {
"type": "integer",
"minimum": 1024,
"maximum": 65535
},
"require_token": {
"type": "boolean"
},
"rate_limit": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"legacy_key": {
"type": [
"string",
"null"
],
"minLength": 8,
"maxLength": 256
},
"webdriver_path": {
"type": [
"string",
"null"
],
"maxLength": 1024
}
},
"additionalProperties": false
}
}
}
},
"x-required-scopes": [
"settings:write"
],
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"enabled",
"port",
"require_token",
"rate_limit",
"legacy_key_set",
"webdriver_path",
"running",
"active_port"
],
"properties": {
"enabled": {
"type": "boolean"
},
"port": {
"type": "integer",
"minimum": 1024,
"maximum": 65535
},
"require_token": {
"type": "boolean"
},
"rate_limit": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"legacy_key_set": {
"type": "boolean"
},
"webdriver_path": {
"type": [
"null",
"string"
]
},
"running": {
"type": "boolean"
},
"active_port": {
"type": [
"null",
"integer"
]
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}