You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+38
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ Clone the repo run `go build` and then `./hackatime -config config.yml`. More in
52
52
53
53
See our [Swagger API Documentation](https://waka.hackclub.com/swagger-ui).
54
54
55
+
### Signup
56
+
55
57
For signing up user programaticaly you can use the `/signup` endpoint with the admin token as Bearer and it will return a json object similar to the following:
If the user already exists then you will get a `true` value in the `created` field.
82
84
85
+
### Reset Password
86
+
87
+
For resetting a user's password programmatically, you can use the `/reset-password` endpoint with the admin token as Bearer and it will return a json object containing the reset token and user ID:
0 commit comments