27 lines
566 B
Plaintext
27 lines
566 B
Plaintext
syntax = "v1"
|
|
|
|
info (
|
|
title: "贴图库服务"// TODO: add title
|
|
desc: // TODO: add description
|
|
author: ""
|
|
email: ""
|
|
)
|
|
import "basic.api"
|
|
|
|
service map-library {
|
|
//获取贴图库列表
|
|
@handler GetMapLibraryListHandler
|
|
get /map-library/list ( ) returns (response);
|
|
}
|
|
|
|
//获取贴图库列表
|
|
type GetMapLibraryListRsp {
|
|
Mid int64 `json:"mid"`
|
|
Ctime string `json:"ctime"`
|
|
Tag MapLibraryListTag `json:"tag"`
|
|
Info string `json:"info"`
|
|
}
|
|
type MapLibraryListTag {
|
|
Id int64 `json:"id"`
|
|
Title string `json:"title"`
|
|
} |