-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsmartproxy-structure.json
More file actions
64 lines (64 loc) · 2.39 KB
/
smartproxy-structure.json
File metadata and controls
64 lines (64 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"title": "Smartproxy API Structure",
"description": "Hierarchical structure of the Smartproxy account management API resources",
"structure": {
"account": {
"description": "A Smartproxy primary account with authentication and subscriptions",
"type": "entity",
"children": {
"subscriptions": {
"description": "Active proxy service subscriptions",
"type": "collection",
"children": {
"subscription": {
"description": "A single subscription plan with traffic limits and validity dates",
"type": "entity",
"properties": ["id", "plan_name", "service_type", "status", "traffic_limit", "traffic_used", "valid_from", "valid_until"]
}
}
},
"sub-users": {
"description": "Proxy sub-user accounts for traffic isolation and access control",
"type": "collection",
"children": {
"sub-user": {
"description": "A proxy user account with its own credentials and traffic allocation",
"type": "entity",
"properties": ["id", "username", "service_type", "traffic_limit", "traffic_used", "status", "created"],
"children": {
"traffic": {
"description": "Traffic usage metrics for this sub-user",
"type": "report",
"properties": ["traffic_used", "traffic_limit", "requests_count", "period_start", "period_end"]
}
}
}
}
},
"whitelisted-ips": {
"description": "IP addresses allowed to authenticate with proxies without credentials",
"type": "collection",
"children": {
"whitelisted-ip": {
"description": "A single whitelisted IP address record",
"type": "entity",
"properties": ["id", "ip_address", "created"]
}
}
}
}
},
"endpoints": {
"description": "Available proxy server endpoints for connection",
"type": "catalog",
"children": {
"endpoint": {
"description": "A proxy server endpoint with connection details",
"type": "entity",
"properties": ["host", "port", "type", "location", "protocol"],
"types": ["random", "sticky", "datacenter", "mobile"]
}
}
}
}
}