feat(tags): add endpoint to query all node tags

This commit is contained in:
Chang lue Tsen
2025-09-03 11:57:12 -04:00
parent 42df466104
commit 1f824fd5a9
5 changed files with 78 additions and 0 deletions
+7
View File
@@ -168,6 +168,9 @@ type (
ResetSortRequest {
Sort []SortItem `json:"sort"`
}
QueryNodeTagResponse {
Tags []string `json:"tags"`
}
)
@server (
@@ -231,5 +234,9 @@ service ppanel {
@doc "Reset node sort"
@handler ResetSortWithNode
post /node/sort (ResetSortRequest)
@doc "Query all node tags"
@handler QueryNodeTag
get /node/tags returns (QueryNodeTagResponse)
}