Download model/notification_api.go from ls-ylm/ls: direct link, hf CLI and curl.
- Browser
- Download file 517 Bytes
-
https://huggingface.co/spaces/ls-ylm/ls/resolve/main/model/notification_api.go
- Command line
-
hf download hf://spaces/ls-ylm/ls/model/notification_api.go
-
curl -L -o notification_api.go https://huggingface.co/spaces/ls-ylm/ls/resolve/main/model/notification_api.go
517 Bytes
| package model | |
| type NotificationForm struct { | |
| Name string `json:"name,omitempty" minLength:"1"` | |
| URL string `json:"url,omitempty"` | |
| RequestMethod uint8 `json:"request_method,omitempty"` | |
| RequestType uint8 `json:"request_type,omitempty"` | |
| RequestHeader string `json:"request_header,omitempty"` | |
| RequestBody string `json:"request_body,omitempty"` | |
| VerifyTLS bool `json:"verify_tls,omitempty" validate:"optional"` | |
| SkipCheck bool `json:"skip_check,omitempty" validate:"optional"` | |
| } | |