Skip to content

Hyunn/TEC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workspace API

This repository contains a simple Flask-based API that returns the list of workspaces a user belongs to.

Setup

Install dependencies:

pip install -r requirements.txt

Running the Server

python app.py

The server starts on port 5000.

Usage

Retrieve workspaces for a user by passing the user_id query parameter:

curl http://localhost:5000/workspaces?user_id=1

This returns all workspaces the specified user belongs to. If the user has no associated workspaces, the response contains an empty array.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages