Cogine LLM Gateway
概览API 参考接口文档

O Auth

GitHub OAuth登录

GET
/api/oauth/github

Query Parameters

code?string

Response Body

curl -X GET "https://loading/api/oauth/github"
Empty

Discord OAuth登录

GET
/api/oauth/discord

Query Parameters

code?string

Response Body

curl -X GET "https://loading/api/oauth/discord"
Empty

OIDC登录

GET
/api/oauth/oidc

Response Body

curl -X GET "https://loading/api/oauth/oidc"
Empty

LinuxDO OAuth登录

GET
/api/oauth/linuxdo

Response Body

curl -X GET "https://loading/api/oauth/linuxdo"
Empty

生成OAuth State

GET
/api/oauth/state

Response Body

curl -X GET "https://loading/api/oauth/state"
Empty

微信OAuth登录

GET
/api/oauth/wechat

Response Body

curl -X GET "https://loading/api/oauth/wechat"
Empty

绑定微信

GET
/api/oauth/wechat/bind

Response Body

curl -X GET "https://loading/api/oauth/wechat/bind"
Empty

绑定邮箱

GET
/api/oauth/email/bind

Query Parameters

email?string
code?string

Response Body

curl -X GET "https://loading/api/oauth/email/bind"
Empty

Telegram登录

GET
/api/oauth/telegram/login

Response Body

curl -X GET "https://loading/api/oauth/telegram/login"
Empty

绑定Telegram

GET
/api/oauth/telegram/bind

Response Body

curl -X GET "https://loading/api/oauth/telegram/bind"
Empty