Dokumentation / Proxys / Endpunkt
POST

/api/v1/proxies/batch/test

Mehrere Proxys prüfen (höchstens 5 gleichzeitig)

Anfrage#

POSIX-Shell · curl
curl --fail-with-body --request POST \
  "$ADBR_API_URL/api/v1/proxies/batch/test" \
  -H "Authorization: Bearer $ADBR_API_TOKEN" \
  -H "Content-Type: application/json" \
  --data @request.json

Verwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs. Erstelle request.json anhand des folgenden Körperschemas, bevor du den Befehl ausführst.

Authentifizierung und Rechte#

Authentifizierung: Bearer-Token

Scopes: proxies:write

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#

Erforderlich.

FeldTypPflichtBeschreibung
idsarrayJa
Vollständiges Körperschema
OpenAPI JSON
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "ids"
        ],
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "minItems": 1,
            "maxItems": 1000
          }
        },
        "additionalProperties": false
      }
    }
  }
}

Antworten#

200 · Standardantwort
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "results"
        ],
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "ok",
                "check",
                "error"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "ok": {
                  "type": "boolean"
                },
                "check": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "ok",
                        "checked_at",
                        "error_class",
                        "error_code",
                        "protocol_detected",
                        "ipv4",
                        "ipv6",
                        "country",
                        "region",
                        "city",
                        "postal_code",
                        "latitude",
                        "longitude",
                        "accuracy_km",
                        "timezone",
                        "utc_offset",
                        "languages",
                        "asn",
                        "as_org",
                        "latency_ms",
                        "geo_source",
                        "duplicate_profiles"
                      ],
                      "properties": {
                        "ok": {
                          "type": "boolean"
                        },
                        "checked_at": {
                          "type": "integer"
                        },
                        "error_class": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "error_code": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "protocol_detected": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "ipv4": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "ipv6": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "country": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "region": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "city": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "postal_code": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "latitude": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "longitude": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "accuracy_km": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "timezone": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "utc_offset": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "languages": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "asn": {
                          "type": [
                            "null",
                            "integer"
                          ]
                        },
                        "as_org": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "latency_ms": {
                          "type": "object",
                          "required": [
                            "tcp",
                            "handshake",
                            "first_byte"
                          ],
                          "properties": {
                            "tcp": {
                              "type": [
                                "null",
                                "number"
                              ]
                            },
                            "handshake": {
                              "type": [
                                "null",
                                "number"
                              ]
                            },
                            "first_byte": {
                              "type": [
                                "null",
                                "number"
                              ]
                            }
                          }
                        },
                        "geo_source": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "duplicate_profiles": {
                          "type": "integer"
                        }
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "error": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "code",
                        "message"
                      ],
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    },
                    {
                      "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": "Mehrere Proxys prüfen (höchstens 5 gleichzeitig)",
  "tags": [
    "Proxys"
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "ids"
          ],
          "properties": {
            "ids": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "minItems": 1,
              "maxItems": 1000
            }
          },
          "additionalProperties": false
        }
      }
    }
  },
  "x-required-scopes": [
    "proxies:write"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "results"
            ],
            "properties": {
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "ok",
                    "check",
                    "error"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "ok": {
                      "type": "boolean"
                    },
                    "check": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "ok",
                            "checked_at",
                            "error_class",
                            "error_code",
                            "protocol_detected",
                            "ipv4",
                            "ipv6",
                            "country",
                            "region",
                            "city",
                            "postal_code",
                            "latitude",
                            "longitude",
                            "accuracy_km",
                            "timezone",
                            "utc_offset",
                            "languages",
                            "asn",
                            "as_org",
                            "latency_ms",
                            "geo_source",
                            "duplicate_profiles"
                          ],
                          "properties": {
                            "ok": {
                              "type": "boolean"
                            },
                            "checked_at": {
                              "type": "integer"
                            },
                            "error_class": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "error_code": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "protocol_detected": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "ipv4": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "ipv6": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "country": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "region": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "city": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "postal_code": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "latitude": {
                              "type": [
                                "null",
                                "number"
                              ]
                            },
                            "longitude": {
                              "type": [
                                "null",
                                "number"
                              ]
                            },
                            "accuracy_km": {
                              "type": [
                                "null",
                                "number"
                              ]
                            },
                            "timezone": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "utc_offset": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "languages": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "asn": {
                              "type": [
                                "null",
                                "integer"
                              ]
                            },
                            "as_org": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "latency_ms": {
                              "type": "object",
                              "required": [
                                "tcp",
                                "handshake",
                                "first_byte"
                              ],
                              "properties": {
                                "tcp": {
                                  "type": [
                                    "null",
                                    "number"
                                  ]
                                },
                                "handshake": {
                                  "type": [
                                    "null",
                                    "number"
                                  ]
                                },
                                "first_byte": {
                                  "type": [
                                    "null",
                                    "number"
                                  ]
                                }
                              }
                            },
                            "geo_source": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "duplicate_profiles": {
                              "type": "integer"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "error": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "code",
                            "message"
                          ],
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "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