mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-12 23:53:19 +02:00
Test account api (WIP)
This commit is contained in:
parent
367d024a2d
commit
3512db1fe7
6 changed files with 144 additions and 27 deletions
server
|
@ -225,6 +225,10 @@ type apiAccountCreateRequest struct {
|
|||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
type apiAccountPasswordChangeRequest struct {
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
type apiAccountTokenResponse struct {
|
||||
Token string `json:"token"`
|
||||
Expires int64 `json:"expires"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue