fusenapi/server_api/assistant.api
2023-07-21 14:20:21 +08:00

20 lines
312 B
Plaintext

syntax = "v1"
info (
title: // TODO: add title
desc: // TODO: add description
author: ""
email: ""
)
import "basic.api"
service assistant {
// 处理重定向
@handler RedirectHandler
post /api/assistant/redirect(RequestRedirect) returns (response);
}
type RequestRedirect {
Url string `json:"url"`
}