102 lines
1.7 KiB
Markdown
102 lines
1.7 KiB
Markdown
# API Endpoints Check (local compose) — 2025-08-03T06:56:28Z
|
|
|
|
## Health
|
|
|
|
**GET http://localhost:8000/health**
|
|
|
|
Status: 200
|
|
|
|
Response:
|
|
{
|
|
"cache": "healthy",
|
|
"database": "healthy",
|
|
"status": "healthy",
|
|
"timestamp": "2025-08-03T06:56:28.205999",
|
|
"uptime_seconds": 169
|
|
}
|
|
|
|
## Node Status
|
|
|
|
**GET http://localhost:8000/api/v3/node/status**
|
|
|
|
Status: 404
|
|
|
|
Response:
|
|
{
|
|
"detail": "Not Found"
|
|
}
|
|
|
|
## My Monitor
|
|
|
|
**GET http://localhost:8000/api/my/monitor/**
|
|
|
|
Status: 404
|
|
|
|
Response:
|
|
{
|
|
"detail": "Not Found"
|
|
}
|
|
|
|
## System Version (optional)
|
|
|
|
**GET http://localhost:8000/api/system/version**
|
|
|
|
Status: 404
|
|
|
|
Response:
|
|
{
|
|
"detail": "Not Found"
|
|
}
|
|
|
|
## OpenAPI UI (Swagger)
|
|
|
|
**GET http://localhost:8000/docs** — Status: 404
|
|
|
|
## OpenAPI JSON
|
|
|
|
**GET http://localhost:8000/openapi.json** — Status: 200
|
|
|
|
{
|
|
"description": "Decentralized content uploader with web2-client compatibility",
|
|
"title": "MY Network Uploader Bot - FastAPI",
|
|
"version": "3.0.0"
|
|
}
|
|
|
|
Paths (summary):
|
|
- /auth.twa
|
|
- /auth.selectWallet
|
|
- /api/v1/auth/register
|
|
- /api/v1/auth/login
|
|
- /api/v1/auth/refresh
|
|
- /api/v1/auth/me
|
|
- /content.view/{content_id}
|
|
- /blockchain.sendNewContentMessage
|
|
- /blockchain.sendPurchaseContentMessage
|
|
- /api/storage
|
|
- /api/storage/upload/{upload_id}/status
|
|
- /api/storage/upload/{upload_id}
|
|
- /api/storage/api/v1/storage/upload
|
|
- /api/storage/api/v1/storage/quota
|
|
- /api/node/handshake
|
|
- /api/node/content/sync
|
|
- /api/node/network/ping
|
|
- /api/node/network/status
|
|
- /api/node/network/discover
|
|
- /api/node/v3/node/status
|
|
- /api/node/v3/network/stats
|
|
- /api/system/health
|
|
- /api/system/health/detailed
|
|
- /api/system/metrics
|
|
- /api/system/info
|
|
- /api/system/stats
|
|
- /api/system/maintenance
|
|
- /api/system/logs
|
|
- /api/system/ready
|
|
- /api/system/live
|
|
- /health
|
|
- /
|
|
- /api
|
|
- /api/v1/ping
|
|
- /favicon.ico
|
|
|