All URIs are relative to https://api.ddoscluster.in.ua/
Method | HTTP request | Description |
---|---|---|
d_dos_get_active_tasks | GET /active-tasks | |
d_dos_get_active_workers | GET /active-workers | |
d_dos_get_damage_stats | GET /damage-stats | |
d_dos_upsert_worker | POST /submit-progress |
list[str] d_dos_get_active_tasks()
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.DDOSClusterApi()
try:
api_response = api_instance.d_dos_get_active_tasks()
pprint(api_response)
except ApiException as e:
print("Exception when calling DDOSClusterApi->d_dos_get_active_tasks: %s\n" % e)
This endpoint does not need any parameter.
list[str]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[DDOSWorker] d_dos_get_active_workers(minutes_interval=minutes_interval)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.DDOSClusterApi()
minutes_interval = 1.2 # float | (optional)
try:
api_response = api_instance.d_dos_get_active_workers(minutes_interval=minutes_interval)
pprint(api_response)
except ApiException as e:
print("Exception when calling DDOSClusterApi->d_dos_get_active_workers: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
minutes_interval | float | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[DDOSTaskDTO] d_dos_get_damage_stats(minutes_interval=minutes_interval)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.DDOSClusterApi()
minutes_interval = 1.2 # float | (optional)
try:
api_response = api_instance.d_dos_get_damage_stats(minutes_interval=minutes_interval)
pprint(api_response)
except ApiException as e:
print("Exception when calling DDOSClusterApi->d_dos_get_damage_stats: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
minutes_interval | float | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DDOSWorker d_dos_upsert_worker(body)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.DDOSClusterApi()
body = swagger_client.DDOSWorkerDTO() # DDOSWorkerDTO |
try:
api_response = api_instance.d_dos_upsert_worker(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DDOSClusterApi->d_dos_upsert_worker: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | DDOSWorkerDTO |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]