25 lines
438 B
Plaintext
25 lines
438 B
Plaintext
syntax = "v1"
|
|
|
|
info (
|
|
title: // TODO: add title
|
|
desc: // TODO: add description
|
|
author: ""
|
|
email: ""
|
|
)
|
|
|
|
import "basic.api"
|
|
|
|
service webset {
|
|
@handler WebSetSettingHandler
|
|
get /api/web-set/setting(RequestWebSet) returns (response);
|
|
}
|
|
|
|
type RequestWebSet {
|
|
Type string `form:"type"`
|
|
}
|
|
|
|
type DataWebSet {
|
|
Title string `json:"title"`
|
|
Introduction string `json:"introduction"`
|
|
List interface{} `json:"list"`
|
|
} |