Files
boc/landvex-paket/bounties/FAS2_STATUS.md
T
Bernt 6de2455917 v1.2.0: Add Global Markets footer, translated to 9 languages
- 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
2026-07-08 19:56:03 +00:00

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-applikation
  • requirements.txt — beroenden
  • FAS2_STATUS.md — denna fil