greatape/greataped/README.md

62 wiersze
1.4 KiB
Markdown
Czysty Zwykły widok Historia

[![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)
2. [Signup](#signup)
3. [Verify](#verify)
4. [Login](#login)
---
## Echo
```
Request:
Document document
Result:
Document document
```
[Back to List](#apis)
## 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)