...
With Swagger Editor, you can view and edit the OpenAPI document inside your browser, while previewing the documentation in real time.
Visit https://editor-next.swagger.io/ and select File → Import file, or drag-and-drop the openapi.json
file into the browser window.
...
Info |
---|
Note: This method will allow you to view the documentation in Swagger UI, but you will only be able to interact with the API if it can be accessed from a public URL/IP address. In that case, replace http://localhost:5000/ in the url field with the correct address. Otherwise, you will need to install locally (see below) on the system that is running the Django backend in order to issue API calls through Swagger UI. Starting with Open API version 3.1.0, a new Swagger Editor was release (this is the linked version above) Legacy Open API Swagger Editor which supports versions 3.0.X can be accessed by visiting https://editor.swagger.io/ |
Installing Swagger Editor locally
...
Expand |
---|
title | General high-level API calls (api) |
---|
|
-
/api/folder/{folderId}/tree/ Return a tree containing all children of the specified folder -
/api/request/{requestId}/ Return the contents of the specified request -
/api/status/ Report the status of the API backend, including mode -
/api/tree/ Return the highest level tree for this install -
/api/{entity}/allconfig/ Return a full listing of an entity type (nodes, apps, objects) -
/api/{schemaIdentity}/schemaallconfigfromtypes/ Return the schema file for the specified schema ID
|
Expand |
---|
title | Operations on a specified node (api_node |
---|
Expand |
---|
title | Operations on a specified node (api_node) |
---|
|
-
/api/{nodeId}/viewapps/ Return the schema and settings for a list of all apps under the specified node
|
expand |
title | Operations on a specified app (api_app) |
---|
|
-
/api/{nodeId}/{appId}/command/ Send a command to the specified appnode -
/api/{nodeId}/{appId}/config/ Return the settings for the specified appnode -
/api/{nodeId}/{appId}/config/ Adjust the settings for the specified appnode Status |
---|
colour | BlueGreen |
---|
title | GETPOST |
---|
|
/api/{nodeId}/{appId}/export/ Full recursive export for the specified appdelete/ Delete the specified node from the remote manager database Status |
---|
colour | GreenBlue |
---|
title | POSTGET |
---|
| /api/{nodeId}/{appId}/import/export/ Full recursive import export for the specified appnode-
/api/{nodeId}/{appId}/license/ Set the license import/ Full recursive import for the specified appnode -
/api/{nodeId}/{appId}/licenserequest/ Request a license for the specified appsync/ Sync the specified node to the remote manager -
/api/{nodeId}/{appId}/models/ List all models that can be added in the specified apptree/ Return the highest level tree for the specified node -
/api/{nodeId}/{appId}/treeview/ Return the highest level tree schema and settings for the specified appnode -
/api/{nodeId}/{appId}/view/ Return the schema and settings for the specified app
|
expand |
Expand |
---|
title | Operations on a specified object app (api_objectapp) |
---|
|
title | Operations involving a specified object type within a specified app (api_objectType) Status |
---|
colour | BlueGreen |
---|
title | GETPOST |
---|
|
/api/{nodeId}/{appId}/{objectId}/children/ List the direct children of the specified objectcommand/ Send a command to the specified app Status |
---|
colour | GreenBlue |
---|
title | POSTGET |
---|
| /api/{nodeId}/{appId}/{objectId}/command/ Send a command to the specified objectconfig/ Return the settings for the specified app Status |
---|
colour | BlueGreen |
---|
title | GETPOST |
---|
| /api/{nodeId}/{appId}/{objectId}/config/ Return Adjust the settings for the specified objectapp Status |
---|
colour | GreenBlue |
---|
title | POSTGET |
---|
| /api/{nodeId}/{appId}/{objectId}/config/ Adjust the settings export/ Full recursive export for the specified objectapp-
/api/{nodeId}/{appId}/{objectId}/copy/ Create a recursive copy of the specified objectimport/ Full recursive import for the specified app -
/api/{nodeId}/{appId}/{objectId}/delete/ Delete license/ Set the license for the specified objectapp Status |
---|
colour | BlueGreen |
---|
title | GETPOST |
---|
| /api/{nodeId}/{appId}/{objectId}/export/ Full recursive export licenserequest/ Request a license for the specified objectapp Status |
---|
colour | GreenBlue |
---|
title | POSTGET |
---|
|
/api/{nodeId}/{appId}/{objectId}/import/ Full recursive import for the specified objectmodels/ List all models that can be added in the specified app-
/api/{nodeId}/{appId}/{objectId}/tree/ Return the highest level tree for the specified objectapp -
/api/{nodeId}/{appId}/{objectId}/view/ Return the schema and settings for the specified objectapp /api/{nodeId}/{appId}/{objectIdschemaId}/{objectType}/children/ List all children of the specified object that are of the specified type
|
---|
Expand |
---|
|
Expand |
---|
title | Operations on a specified object |
---|
| type |
title | Log file handling (log) Status |
---|
colour | GreenBlue |
---|
title | POSTGET |
---|
| /api/{nodeId}/{appId}/{objectTypeobjectId}/add/ Create a new instance children/ List the direct children of the specified object type under the specified app Status |
---|
colour | BlueGreen |
---|
title | GETPOST |
---|
| /api/{nodeId}/{appId}/{objectTypeobjectId}/allconfig/ List all objects of the specified type under the specified app, along with their settingscommand/ Send a command to the specified object-
/api/{nodeId}/{appId}/{objectTypeobjectId}/listing/ List all instances of config/ Return the settings for the specified object type under the specified app Status |
---|
colour | BlueGreen |
---|
title | GETPOST |
---|
|
/api/{nodeId}/{appId}/{objectTypeobjectId}/newview/ Return a schema file filled with default values in order to display new items in UI
|
---|
Expand |
---|
|
Expand |
---|
title | General system information (system) |
---|
|
-
/system/systemDateTime/ Return the current date and time for the system (in Unix Epoch time) -
/system/systemInfo/ Return information about the system
|
Expand |
---|
title | Operations involving package management (packagemanager) |
---|
|
-
/packagemanager/info/{installId} Return installed package details -
/packagemanager/tree Return list of installed packages -
/packagemanager/available Return list of packages that can be installedapi/{nodeId}/{appId}/{objectId}/tree/ Return the highest level tree for the specified object -
/api/{nodeId}/{appId}/{objectId}/view/ Return the schema and settings for the specified object -
/api/{nodeId}/{appId}/{objectId}/{objectType}/children/ List all children of the specified object that are of the specified type
|
Expand |
---|
title | Operations involving a specified object type within a specified app (api_objectType) |
---|
|
-
/api/{nodeId}/{appId}/{objectType}/add/ Return the default schema for the specified object type -
/api/{nodeId}/{appId}/{objectType}/add/ Create a new instance of the specified object type under the specified app -
/api/{nodeId}/{appId}/{objectType}/allconfig/ List all objects of the specified type under the specified app, along with their settings -
/api/{nodeId}/{appId}/{objectType}/listing/ List all instances of the specified object type under the specified app -
/api/{nodeId}/{appId}/{objectType}/newview/ Return a schema file filled with default values in order to display new items in UI
|
Expand |
---|
title | Log file handling (log) |
---|
|
-
/log/delete/{applabel}/ Delete all logs under the specified app label -
/log/delete/{applabel}/{filename}/ Delete the specified log file -
/log/download/{applabel}/{filename}/ Return the contents of the specified log file -
/log/getlogs/ List all available logs -
/log/zip/ Create a zip file containing all logs -
/log/gettextlogs/ Get list of all logs -
/log/query/{applabel}/{filename}/{count}/ Return the contents of the specified log file
|
Expand |
---|
title | General system information (system) |
---|
|
-
/system/systemDateTime/ Return the current date and time for the system (in Unix Epoch time) -
/system/systemInfo/ Return information about the system
|
Expand |
---|
title | Operations involving package management (packagemanager) |
---|
|
-
/packagemanager/info/{installId}/ Return installed package details -
/packagemanager/tree/ Return list of installed packages -
/packagemanager/available/ Return list of packages that can be installed -
/packagemanager/history/ Return list of packages that were installed -
/packagemanager/uploadModule/ Upload package for installation -
/packagemanager/{nodeId}/delete/{packageId}/ Delete imported package -
/packagemanager/{nodeId}/install/ Install package -
/packagemanager/{nodeId}/uninstall/ Uninstall package -
/packagemanager/{nodeId}/remoteUpload/ Remote upload packages
|
Expand |
---|
title | Dashboard operations (dashboard) |
---|
|
-
/packagemanagerdashboard/history Return list of packages that were installed /packagemanager/uploadModule Upload package for installationnodes
|
Expand |
---|
title | Operations involving mqtt (mqtt) |
---|
|
Status |
---|
colour | GreenBlue |
---|
title | POSTGET |
---|
| /packagemanagermqtt/{nodeId}/delete/{packageId} Delete imported packageaction}/ Get node information-
/packagemanagermqtt/{nodeId}/install Install package /packagemanager/{nodeIdaction}/uninstall Unistall package Perform action on node
|