6de2455917
- Added GLOBAL_MARKETS_TITLE to all translation files - Updated footer with 12 markets (4 active + 8 upcoming) - Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi - Built and deployed to production - CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
946 B
946 B
LandveX Fas 2 — Bounty-flöde (förenklad)
Status: ✅ KLAR
Endpoints
| Metod | Endpoint | Beskrivning |
|---|---|---|
POST |
/v0/bounties |
Skapa ny bounty |
GET |
/v0/bounties/{id} |
Hämta bounty |
POST |
/v0/bounties/{id}/submit |
Markera bounty som inskickad |
Teknik
- Framework: Python + FastAPI
- Databas: SQLite (
landvex.db) - Port: 8084
- Katalog:
/home/bernt/.openclaw/workspace/landvex-paket/bounties/
Snabbtest
# Skapa bounty
curl -X POST http://localhost:8084/v0/bounties \
-H 'Content-Type: application/json' \
-d '{"title":"Test Bounty","description":"A test","reward":100.0}'
# Hämta bounty
curl http://localhost:8084/v0/bounties/1
# Markera som inskickad
curl -X POST http://localhost:8084/v0/bounties/1/submit
Filer
main.py— FastAPI-applikationrequirements.txt— beroendenFAS2_STATUS.md— denna fil