This repo has some example code showing how to connect to the gitpod api. There are two main methods:
- From outside a workspace, you connect via oauth. This requires you have the ability to listen on ports on the local host, as that is where the oauth will return
- From inside a workspace, you connect via the supervisor-api, which runs on port 22999 inside every workspace.
In the subfolders supervisor-api
Not yet available. See the local-app inside the main gitpod repo for examples