2022-10-31 10:49:21 +00:00
|
|
|
[![image](https://img.shields.io/badge/Go-00A7D0?style=for-the-badge&logo=go&logoColor=white)](https://go.dev) [![image](https://img.shields.io/badge/ActivityPub-DD307D?style=for-the-badge&logoColor=white)](https://www.w3.org/TR/activitypub/) [![image](https://img.shields.io/badge/JSON--LD-FF6600?style=for-the-badge&logo=json&logoColor=white)](https://json-ld.org) [![image](https://img.shields.io/badge/MySQL-32738C?style=for-the-badge&logo=mysql&logoColor=white)](https://www.mysql.com) [![image](https://img.shields.io/badge/MariaDB-39818D?style=for-the-badge&logo=mariadb&logoColor=white)](https://mariadb.com)
|
|
|
|
|
|
|
|
## Note
|
|
|
|
|
|
|
|
⚠️ This project is under heavy development and should not be used in production yet.
|
|
|
|
|
|
|
|
## APIs:
|
|
|
|
1. [Echo](#echo)
|
2022-11-14 08:44:41 +00:00
|
|
|
2. [Signup](#signup)
|
|
|
|
3. [Verify](#verify)
|
|
|
|
4. [Login](#login)
|
2022-10-31 10:49:21 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Echo
|
|
|
|
```
|
|
|
|
Request:
|
|
|
|
Document document
|
|
|
|
|
|
|
|
Result:
|
|
|
|
Document document
|
|
|
|
```
|
|
|
|
[Back to List](#apis)
|
2022-11-14 08:44:41 +00:00
|
|
|
|
|
|
|
## Signup
|
|
|
|
```
|
|
|
|
Request:
|
|
|
|
string username
|
|
|
|
string email
|
|
|
|
// Should be at least 7 characters including upper and lowercase, digits and symbols
|
|
|
|
string password
|
|
|
|
|
|
|
|
Result:
|
|
|
|
string token
|
|
|
|
string code
|
|
|
|
```
|
|
|
|
[Back to List](#apis)
|
|
|
|
|
|
|
|
## Verify
|
|
|
|
```
|
|
|
|
Request:
|
|
|
|
string email
|
|
|
|
string token
|
|
|
|
string code
|
|
|
|
|
|
|
|
Result:
|
|
|
|
string token
|
|
|
|
```
|
|
|
|
[Back to List](#apis)
|
|
|
|
|
|
|
|
## Login
|
|
|
|
```
|
|
|
|
Request:
|
|
|
|
string email
|
|
|
|
string password
|
|
|
|
|
|
|
|
Result:
|
|
|
|
string username
|
|
|
|
string token
|
|
|
|
```
|
|
|
|
[Back to List](#apis)
|