docs(api): moved implementation status into API.md
This commit is contained in:
parent
c444f561b3
commit
9c36130955
22
API.md
22
API.md
|
@ -3,6 +3,28 @@ All API endpoints are accessible with this base URL: `https://api.nerdcult.net/`
|
|||
Some API endpoints require an Authorization HTTP header.
|
||||
The token for this can be aquired using the `/account/authenticate` endpoint.
|
||||
|
||||
## Implementation Status
|
||||
- `/account`
|
||||
- [X] `/register` - POST
|
||||
- [X] `/verify` - POST
|
||||
- [X] `/authenticate` - POST
|
||||
- [X] `/delete` - DELETE
|
||||
- [X] `/tokens` - DELETE
|
||||
- [X] `/tokens` - GET
|
||||
- [ ] `/follows` - GET
|
||||
- [ ] `/followers` - GET
|
||||
- `/user/{username}`
|
||||
- [ ] `/info` - GET
|
||||
- [ ] `/follow` - POST
|
||||
- [ ] `/follows` - GET
|
||||
- [ ] `/followers` - GET
|
||||
- [ ] `/projects` - GET
|
||||
- `/project`
|
||||
- [ ] `/create` - POST
|
||||
- `/{projectname}`
|
||||
- [ ] `/info` - GET
|
||||
- [ ] `/join` - POST
|
||||
|
||||
## Endpoints
|
||||
### `/account/register` - POST
|
||||
Requests a new nerdcult account.
|
||||
|
|
22
README.md
22
README.md
|
@ -12,25 +12,3 @@ export SMTP_USER=accounts@yourdomain.tld
|
|||
export SMTP_PASSWORD=password
|
||||
./nerdcult_api
|
||||
```
|
||||
|
||||
## Implementation Status
|
||||
- `/account`
|
||||
- [X] `/register` - POST
|
||||
- [X] `/verify` - POST
|
||||
- [X] `/authenticate` - POST
|
||||
- [X] `/delete` - DELETE
|
||||
- [X] `/tokens` - DELETE
|
||||
- [X] `/tokens` - GET
|
||||
- [ ] `/follows` - GET
|
||||
- [ ] `/followers` - GET
|
||||
- `/user/{username}`
|
||||
- [ ] `/info` - GET
|
||||
- [ ] `/follow` - POST
|
||||
- [ ] `/follows` - GET
|
||||
- [ ] `/followers` - GET
|
||||
- [ ] `/projects` - GET
|
||||
- `/project`
|
||||
- [ ] `/create` - POST
|
||||
- `/{projectname}`
|
||||
- [ ] `/info` - GET
|
||||
- [ ] `/join` - POST
|
Loading…
Reference in New Issue