Skip to content

Commit

Permalink
feat(terminal): add interface to open a remote terminal
Browse files Browse the repository at this point in the history
Signed-off-by: rgallor <[email protected]>
  • Loading branch information
rgallor committed Dec 5, 2023
1 parent eee551c commit 33cbe38
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions io.edgehog.devicemanager.RemoteTerminalRequest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"interface_name": "io.edgehog.devicemanager.RemoteTerminalRequest",
"version_major": 0,
"version_minor": 1,
"type": "datastream",
"ownership": "server",
"aggregation": "object",
"description": "Configuration to open a remote terminal from a device to a certain host.",
"mappings": [
{
"endpoint": "/request/session_token",
"type": "string",
"database_retention_policy": "use_ttl",
"database_retention_ttl": 31556952,
"description": "The session token thanks to which the device can authenticates itself through Edgehog."
},
{
"endpoint": "/request/port",
"type": "integer",
"database_retention_policy": "use_ttl",
"database_retention_ttl": 31556952,
"description": "The host port the device must connect to."
},
{
"endpoint": "/request/host",
"type": "string",
"database_retention_policy": "use_ttl",
"database_retention_ttl": 31556952,
"description": "The IP address or host name the device must connect to."
}
]
}

0 comments on commit 33cbe38

Please sign in to comment.