Retire API v1 ingest URLs (`/api/raw-packet/`, legacy node paths)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with Meshflow/urls.py and packets.urls to confirm that only the {node_id}/ingest/ and {node_id}/nodes/ routes are registered, then search the tree for any remaining v1 view code tied to /api/raw-packet/. Check openapi.yaml for the deprecated POST /raw-packet/ entry and the docs under docs/features/packet-ingestion/. Done means no v1 routes or view code remain, the docs describe v2 only, and any compatibility redirect decision is recorded. The bot-side change and the production proxy question need maintainer input before merging.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Meshtastic packet ingest v1 used unscoped URLs (POST /api/raw-packet/, /api/nodes/) that predate the current packets app layout. v2 uses observer-scoped routes:
POST /api/packets/{node_id}/ingest/POST /api/packets/{node_id}/nodes/
OpenAPI now documents v2 paths and marks POST /raw-packet/ as deprecated (SP-01 #308). v1 is not registered in the current Django urlconf (Meshflow/urls.py → packets.urls only exposes {node_id}/ingest/ and {node_id}/nodes/).
Goal
Formally retire v1 on the API side and coordinate with meshflow-bot dropping STORAGE_API_VERSION=1 (see linked bot issue).
Scope (API)
- Confirm no production urlconf / reverse-proxy still depends on
/api/raw-packet/(or document explicit redirect shim if required during transition) - Remove or gate any dead v1 view code if it still exists in the tree
- Update operator docs (
docs/features/packet-ingestion/, deploy examples) to state v2-only - After bot default is v2 and operators migrated: remove deprecated
POST /raw-packet/fromopenapi.yaml(or keep stub only if a compat redirect remains)
Out of scope
- URL prefix rename
/api/packets/→/api/meshtastic/(meshcore rename SP-03+) - MeshCore ingest (
/api/meshcore/packets/ingest/)
Related
- Bot: pskillen/meshflow-bot#95
- OpenAPI alignment: #308 (SP-01)
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 0
- Merge medio
- 23h 9m
- PR unite (30g)
- 15
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pskillen/meshflow-api
-
enhancement meshtastic-2.8
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
pskillen/meshflow-api#459 ·
I maintainer di solito rispondono entro 1 giorno
-
bug tech-debt
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
pskillen/meshflow-api#480 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
pskillen/meshflow-api#479 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
pskillen/meshflow-api#478 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 73/100
pskillen/meshflow-api#472 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pskillen/meshflow-api
Issue simili
-
Remove the `pull_request_target` workflow before GitHub blocks itForse già presa @jat255 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
IBM/mcp-context-forge#7483 ·
I maintainer di solito rispondono entro 2 giorni
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
[Bug Report]: OpenAI 辅助 API 连通性测试因输出上限仅 1 token 误报“未知错误”Forse già presa @fjfanjian l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Project-N-E-K-O/N.E.K.O#3640 ·
I maintainer di solito rispondono entro 1 giorno
-
author-page correction
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
acl-org/acl-anthology#10808 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno