fix: document cron router auth chain

This commit is contained in:
Naeel
2026-04-29 08:39:19 +03:00
parent a534fddd2c
commit 35fd9ec40e
19 changed files with 1903 additions and 15 deletions
+9
View File
@@ -17,6 +17,15 @@ type CreateFunctionRequest struct {
TTL string `json:"ttl"` // e.g. "24h", "7d" — пустое = функция не протухает
}
// CreateTimeTriggerRequest — тело POST /console/api/timetriggers.
type CreateTimeTriggerRequest struct {
Name string `json:"name"`
FunctionName string `json:"functionName"`
Cron string `json:"cron"`
Method string `json:"method"`
SubPath string `json:"subpath"`
}
// UpdateCodeRequest — тело PUT /console/api/functions/:name/code.
type UpdateCodeRequest struct {
Code string `json:"code"`