توثيق API من Dexodata

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

بدء سريع

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.

المصادقة

عنوان URL الأساسي: https://{domain}/app

نوع المصادقة: Not specified in openapi.json

الترويسة: Not specified in openapi.json

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

Endpoints الأساسية

الطريقةالمسارالوصفالمصادقة
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

أمثلة الكود

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())

تحتاج مساعدة في التكامل؟

يمكن لفريقنا مساعدتك في بناء تكامل مستقر ومتوافق مع حالة الاستخدام الخاصة بك.

نحن نسهل ملفات تعريف الارتباط، قراءة المزيد حولسياسة ملفات تعريف الارتباط