ControllerApi¶
All URIs are relative to http://localhost:8080/api/v3
Method | HTTP request | Description |
---|---|---|
addController | POST /controller/ | Adds a new controller |
getControllers | GET /controller/ | Returns a list of controllers |
addController¶
addController(Controller, api_key)
Adds a new controller
Parameters¶
Name | Type | Description | Notes |
---|---|---|---|
Controller | Controller | ||
api_key | String | [optional] [default to null] |
Return type¶
null (empty response body)
Authorization¶
HTTP request headers¶
- Content-Type: application/json
- Accept: Not defined
getControllers¶
List getControllers()
Returns a list of controllers
Parameters¶
This endpoint does not need any parameter.
Return type¶
Authorization¶
HTTP request headers¶
- Content-Type: Not defined
- Accept: application/json