Documentation API Dexodata

This reference is generated from openapi.json and includes only operations present in the current specification.

Demarrage rapide

1. Base URL

Use the server URL from the specification: https://{domain}/app.

2. Request Parameters

In this spec, GET/PATCH/POST operations use query/path parameters.

3. Response Codes

Rely on the response status codes listed for each endpoint.

Authentification

URL de base: https://{domain}/app

Type d auth: Not specified in openapi.json

En-tete: Not specified in openapi.json

This specification does not define securitySchemes or global security requirements. Confirm authentication details with the backend team.

Endpoints principaux

MethodeCheminDescriptionAuth
GET/profile/meget_profile_info. Responses: 200Not specified
PATCH/profile/meupdate_profile_info. Query: name (required), password, password_confirmation (required). Responses: 200Not specified
GET/portslist_of_all_ports. Query: id, name. Responses: 200Not specified
POST/portsorder_new_port. Query includes count, name, network, authorization_type and optional limits/geolocations/rotation fields. Responses: 200, 421, 500Not specified
GET/ports/{id}getting_data_from_a_specific_port. Path: id (required). Responses: 200, 400Not specified
POST/billsOperation summary in spec: update_profile_info. Uses the same query model as POST /ports. Responses: 200Not specified
GET/peersQuery: network, country, region, city, operator. Responses: 200Not specified

Exemples de code

cURL

curl -X GET "https://{domain}/app/profile/me" \
  -H "Accept: application/json"

JavaScript

const response = await fetch("https://{domain}/app/ports?id=1&name=GB%20Proxy", {
  method: "GET",
  headers: { "Accept": "application/json" }
})

const data = await response.json()
console.log(data)

Python

import requests

url = "https://{domain}/app/peers"
params = {
    "network": "Mobile",
    "country": "FR",
    "region": "Brittany",
    "city": "Rennes",
    "operator": "Orange"
}

response = requests.get(url, params=params, headers={"Accept": "application/json"}, timeout=30)
print(response.status_code, response.json())

Besoin d aide pour l integration ?

Notre equipe peut vous aider a concevoir une integration stable et conforme a votre cas d usage.

En savoir plus sur la Politique de cookies