This is a reminder that this page is for you if you already purchased Geonode’s services and want to know how to use them. If you want a guide on how to purchase our services, you can check it out here.
Obtaining Sticky Session Information
To get information about the IP assigned to your sticky session, you can use the following cURL command:
Request
GET
curl --user <username>:<password> https://monitor.geonode.com/monitor/<service-name>?timePeriod=<time-period>
Parameters
- Name
service-name
- Type
- PAY-AS-YOU-GO-RESIDENTIAL
- Description
(Required) The service name. Currently the only option is PAY-AS-YOU-GO-RESIDENTIAL.
- Name
time-period
- Type
- hour | day | week
- Description
The time period you want to get the analytics information.
Authentication (Basic Auth)
- Name
username
- Type
- string
- Description
(Required) Your API username.
- Name
password
- Type
- string
- Description
(Required) Your API password.
Expected Response
{
"data": {
"monitor": {
"data": []
},
"analytics": {
"data": []
},
"sessions": [
{
"sessionId": "nOGM47bFdULAoeLL",
"port": 10000,
"country": null,
"expireAt": "2023-01-17T09:00:18.000Z",
"createdAt": "2023-01-17T08:50:18.800Z",
"domain": "ip-api.com",
"url": "http://ip-api.com/json",
"timezone": "UTC"
},
{
"sessionId": "TY5rWJhHjrfiKkis",
"port": 10001,
"country": null,
"expireAt": "2023-01-17T09:00:25.000Z",
"createdAt": "2023-01-17T08:50:25.426Z",
"domain": "ip-api.com",
"url": "http://ip-api.com/json",
"timezone": "UTC"
},
{
"sessionId": "TcYt1PGY8n5ubuA3",
"port": 10002,
"country": null,
"expireAt": "2023-01-17T09:00:32.000Z",
"createdAt": "2023-01-17T08:50:32.286Z",
"domain": "ip-api.com",
"url": "http://ip-api.com/json",
"timezone": "UTC"
}
],
"bandwidth": {
"data": {
"download": 2518528268,
"upload": 0,
"total": 2518528268
}
},
"currentBandwidth": {
"data": 2518528268
}
}
}