Des tonnes de modifications notamment VIM / Couleurs / typos
This commit is contained in:
@ -1,41 +0,0 @@
|
||||
---
|
||||
title: "Authentication Guide"
|
||||
date: "10-11-2025"
|
||||
last_modified: "10-11-2025:19:21"
|
||||
tags: ["documentation", "api", "security"]
|
||||
---
|
||||
|
||||
# Authentication
|
||||
|
||||
## Current Status
|
||||
|
||||
⚠️ No authentication currently implemented.
|
||||
|
||||
## Future Implementation
|
||||
|
||||
### JWT Tokens
|
||||
|
||||
```
|
||||
POST /api/auth/login
|
||||
{
|
||||
"username": "user",
|
||||
"password": "pass"
|
||||
}
|
||||
|
||||
Response:
|
||||
{
|
||||
"token": "eyJhbGc..."
|
||||
}
|
||||
```
|
||||
|
||||
### Bearer Token
|
||||
|
||||
```
|
||||
Authorization: Bearer eyJhbGc...
|
||||
```
|
||||
|
||||
## Security
|
||||
|
||||
- HTTPS only in production
|
||||
- Reverse proxy with nginx
|
||||
- Rate limiting
|
||||
@ -1,8 +1,10 @@
|
||||
---
|
||||
title: "API Endpoints Reference"
|
||||
date: "10-11-2025"
|
||||
last_modified: "10-11-2025:19:21"
|
||||
tags: ["documentation", "api"]
|
||||
title: API Endpoints Reference
|
||||
date: 10-11-2025
|
||||
last_modified: 11-11-2025:15:20
|
||||
tags:
|
||||
- documentation
|
||||
- api
|
||||
---
|
||||
|
||||
# API Endpoints
|
||||
@ -22,6 +24,7 @@ GET /api/v1/notes/{path}
|
||||
Accept: application/json | text/markdown
|
||||
```
|
||||
|
||||
|
||||
### Create/Update Note
|
||||
```
|
||||
PUT /api/v1/notes/{path}
|
||||
|
||||
Reference in New Issue
Block a user