fusenapi/server_api/webset.api

25 lines
434 B
Plaintext
Raw Normal View History

2023-06-21 10:59:27 +00:00
syntax = "v1"
info (
title: // TODO: add title
desc: // TODO: add description
author: ""
email: ""
)
import "basic.api"
2023-07-11 05:07:44 +00:00
service webset {
2023-06-21 10:59:27 +00:00
@handler WetSetSettingHandler
get /web-set/setting(RequestWebSet) returns (response);
2023-06-21 10:59:27 +00:00
}
type RequestWebSet {
2023-06-21 10:59:27 +00:00
Type string `form:"type"`
}
2023-07-11 05:07:44 +00:00
type DataWebSet {
2023-06-21 10:59:27 +00:00
Title string `json:"title"`
Introduction string `json:"introduction"`
List interface{} `json:"list"`
}