Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 2.01 KB

File metadata and controls

62 lines (43 loc) · 2.01 KB

seventilation_client.ControllerApi

All URIs are relative to https://api.sec-smart.app/v1

Method HTTP request Description
devices_id_controller_get GET /devices/{id}/controller Returns a device' Controller data object

devices_id_controller_get

Controller devices_id_controller_get(id)

Returns a device' Controller data object

Returns the device subobject Controller for the URL-encoded device ID.

Example

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.ControllerApi(seventilation_client.ApiClient(configuration))
id = 'id_example' # str | 6-digit-long alphanumerical ID of the device to be adressed

try:
    # Returns a device' Controller data object
    api_response = api_instance.devices_id_controller_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ControllerApi->devices_id_controller_get: %s\n" % e)

Parameters

Name Type Description Notes
id str 6-digit-long alphanumerical ID of the device to be adressed

Return type

Controller

Authorization

myTokenScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]