fix
This commit is contained in:
21
server_api/info.api
Normal file
21
server_api/info.api
Normal file
@@ -0,0 +1,21 @@
|
||||
syntax = "v1"
|
||||
|
||||
info (
|
||||
title: // TODO: add title
|
||||
desc: // TODO: add description
|
||||
author: ""
|
||||
email: ""
|
||||
)
|
||||
|
||||
import "basic.api"
|
||||
|
||||
service info {
|
||||
@handler InfoHandler
|
||||
post /api/info/user(UserInfoRequest) returns (response);
|
||||
}
|
||||
|
||||
type (
|
||||
UserInfoRequest {
|
||||
Module []string `json:"module"`
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user