fusenapi/server_api/webset.api

25 lines
438 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 {
@handler WebSetSettingHandler
2023-07-12 03:09:43 +00:00
get /api/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"`
}