19 lines
432 B
Plaintext
19 lines
432 B
Plaintext
syntax = "v1"
|
|
|
|
info (
|
|
title: "飞书同步服务"// TODO: add title
|
|
desc: // TODO: add description
|
|
author: ""
|
|
email: ""
|
|
)
|
|
|
|
import "basic.api"
|
|
|
|
service feishu-sync {
|
|
//飞书ticket webhook事件接口
|
|
@handler WebhookHandler
|
|
post /api/feishu/webhook(request) returns (response);
|
|
//同步飞书分组(现在是get请求)
|
|
@handler SyncFeiShuGroupsHandler
|
|
get /api/feishu/sync_feishu_departments(request) returns (response);
|
|
} |