https://github.com/trilogy-group/devspaces-api-examples
https://github.com/trilogy-group/devspaces-api-examples
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/trilogy-group/devspaces-api-examples
- Owner: trilogy-group
- Created: 2022-07-14T01:38:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-25T12:57:00.000Z (over 2 years ago)
- Last Synced: 2025-07-27T02:34:16.000Z (5 months ago)
- Language: TypeScript
- Size: 106 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
This repo has some example code showing how to connect to the gitpod api.
There are two main methods:
1. 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
2. From inside a workspace, you connect via the supervisor-api, which runs on port 22999 inside every workspace.
# Supervisor API
In the subfolders supervisor-api
# OAuth
Not yet available. See the local-app inside the main gitpod repo for examples