mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-31 02:29:18 +02:00
Add call verification
This commit is contained in:
parent
496d6e74b0
commit
2c81773d01
11 changed files with 93 additions and 74 deletions
server
|
@ -311,9 +311,14 @@ type apiAccountTokenResponse struct {
|
|||
Expires int64 `json:"expires,omitempty"` // Unix timestamp
|
||||
}
|
||||
|
||||
type apiAccountPhoneNumberRequest struct {
|
||||
type apiAccountPhoneNumberVerifyRequest struct {
|
||||
Number string `json:"number"`
|
||||
Channel string `json:"channel"`
|
||||
}
|
||||
|
||||
type apiAccountPhoneNumberAddRequest struct {
|
||||
Number string `json:"number"`
|
||||
Code string `json:"code,omitempty"` // Only supplied in "verify" call
|
||||
Code string `json:"code,omitempty"`
|
||||
}
|
||||
|
||||
type apiAccountTier struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue