All URIs are relative to https://api.sec-smart.app/v1
| Method | HTTP request | Description |
|---|---|---|
| devices_id_gateway_get | GET /devices/{id}/gateway | Returns a device' Gateway data object |
Gateway devices_id_gateway_get(id)
Returns a device' Gateway data object
Returns the device subobject Gateway for the URL-encoded device ID.
from __future__ import print_function
import time
import seventilation_client
from seventilation_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: myTokenScheme
configuration = seventilation_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = seventilation_client.GatewayApi(seventilation_client.ApiClient(configuration))
id = 'id_example' # str | 6-digit-long alphanumerical ID of the device to be adressed
try:
# Returns a device' Gateway data object
api_response = api_instance.devices_id_gateway_get(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling GatewayApi->devices_id_gateway_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | 6-digit-long alphanumerical ID of the device to be adressed |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]