All URIs are relative to https://localhost:8290/primecore
| Method | HTTP request | Description |
|---|---|---|
| access_point_count_get | GET /AccessPoint/Count | |
| access_point_get | GET /AccessPoint | |
| access_point_id_get | GET /AccessPoint/{id} | |
| access_point_name_device_type_count_get | GET /AccessPoint/{name}/DeviceTypeCount | |
| access_point_name_total_usernames_get | GET /AccessPoint/{name}/TotalUsernames | |
| building_get | GET /Building | |
| network_metric_building_get | GET /NetworkMetric/{building} | |
| rogue_access_point_alarm_count_get | GET /RogueAccessPointAlarm/Count | |
| rogue_access_point_alarm_get | GET /RogueAccessPointAlarm | |
| rogue_access_point_alarm_id_get | GET /RogueAccessPointAlarm/{id} |
InlineResponse2001 access_point_count_get()
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
try:
api_response = api_instance.access_point_count_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->access_point_count_get: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse200 access_point_get(max_result=max_result, first_result=first_result)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
max_result = 3.4 # float | max number of results returned (limited to 1000 by the backend) (optional)
first_result = 3.4 # float | first result index to be returned (optional)
try:
api_response = api_instance.access_point_get(max_result=max_result, first_result=first_result)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->access_point_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| max_result | float | max number of results returned (limited to 1000 by the backend) | [optional] |
| first_result | float | first result index to be returned | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AccessPointObject access_point_id_get(id)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
id = 'id_example' # str | id
try:
api_response = api_instance.access_point_id_get(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->access_point_id_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | id |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2002 access_point_name_device_type_count_get(name)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
name = 'name_example' # str | name
try:
api_response = api_instance.access_point_name_device_type_count_get(name)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->access_point_name_device_type_count_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | name |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 access_point_name_total_usernames_get(name)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
name = 'name_example' # str | name
try:
api_response = api_instance.access_point_name_total_usernames_get(name)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->access_point_name_total_usernames_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | name |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2004 building_get()
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
try:
api_response = api_instance.building_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->building_get: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MetricsObject network_metric_building_get(building, metric, time_interval=time_interval)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
building = 'building_example' # str | building
metric = 'metric_example' # str | metric to fetch (tx or rx)
time_interval = 3.4 # float | time interval, integer (hours) (optional)
try:
api_response = api_instance.network_metric_building_get(building, metric, time_interval=time_interval)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->network_metric_building_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| building | str | building | |
| metric | str | metric to fetch (tx or rx) | |
| time_interval | float | time interval, integer (hours) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 rogue_access_point_alarm_count_get()
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
try:
api_response = api_instance.rogue_access_point_alarm_count_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->rogue_access_point_alarm_count_get: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2003 rogue_access_point_alarm_get(max_result=max_result, first_result=first_result)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
max_result = 3.4 # float | max number of results returned (limited to 1000 by the backend) (optional)
first_result = 3.4 # float | first result index to be returned (optional)
try:
api_response = api_instance.rogue_access_point_alarm_get(max_result=max_result, first_result=first_result)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->rogue_access_point_alarm_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| max_result | float | max number of results returned (limited to 1000 by the backend) | [optional] |
| first_result | float | first result index to be returned | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RogueAccessPointAlarmObject rogue_access_point_alarm_id_get(id)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: default
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
id = 'id_example' # str | id
try:
api_response = api_instance.rogue_access_point_alarm_id_get(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->rogue_access_point_alarm_id_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | id |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]