Updated API
This commit is contained in:
22
README.md
22
README.md
@@ -69,6 +69,28 @@ docker build -t telegram-groupfactory .
|
||||
docker run telegram-groupfactory
|
||||
```
|
||||
|
||||
## REST API
|
||||
|
||||
The userbot also exposes an internal FastAPI surface on `API_HOST:API_PORT`
|
||||
for the separate conventional Telegram bot. Requests require `X-API-Key`.
|
||||
|
||||
Relevant bot-facing endpoints:
|
||||
|
||||
```text
|
||||
POST /api/groups
|
||||
GET /api/admin/default-users
|
||||
PUT /api/admin/default-users
|
||||
POST /api/admin/default-users
|
||||
DELETE /api/admin/default-users
|
||||
GET /api/admin/qr-backup?qr_group=default
|
||||
PUT /api/admin/qr-backup
|
||||
POST /api/admin/qr-backup/image
|
||||
GET /api/admin/qr-groups
|
||||
POST /api/admin/qr-groups/{qr_group}/assignments
|
||||
DELETE /api/admin/qr-groups/assignments
|
||||
POST /api/admin/qr-sync
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
- **[ADMIN_IMPLEMENTATION.md](ADMIN_IMPLEMENTATION.md)** - Admin-only configuration features
|
||||
|
||||
Reference in New Issue
Block a user