Console

Request access to VNC

GET https://api.netcon.dk/projects/:projectId/products/:productId/console

This token/link will expire after 1 hour

Path Parameters

NameTypeDescription

projectId*

String

Project id

productId*

String

Product id

Headers

NameTypeDescription

authorization*

String

Api key

{
    "authorization": String,
    "link": String
}

Advanced setup We usually recommend just redirecting the user to our provider link, but it is possible to use a 100% white-labelled solution by coding and handling your own no-vnc setup

NoVNC-Core NPM: https://www.npmjs.com/package/novnc-core Example RFB setup:

 let rfb = new RFB(this.$refs.canvas, `wss://console.stacket.cloud:2053/token/${this.token}`, {
    encrypt: true,
    target: this.$refs.canvas,
  })

CONNECT wss://console.stacket.cloud:2053/token/:token

Connect using the RFB protocol (NoVNC-Core)

Path Parameters

NameTypeDescription

token*

String

Token generated using the api

Last updated