Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
/ dalcs-api Public archive

rest api to send invites to this github org

Notifications You must be signed in to change notification settings

dalcs/dalcs-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dalcs API

This repo contains the backend code for dalcs-www.

Getting started

To run the rest api server, run

go build -o api main.go
./api rest

Routes

Route Params Description
POST /v1/invite/email to Sends an email with a verification code to the to param. This route rate limits based on ip to 10 emails per hour.
POST /v1/invite/verify code, email Verifies the param code with the specified email param. It returns a JWT token with code & email encoded. This route rate limits 5req/min.
POST /v1/invite/invite token, github_user This route will verify the token and call github's api to invite the specified github_user.

Structure

About

rest api to send invites to this github org

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages