Contract: define `GET /api/v1/uploads?since=` and use it instead of per-upload polling
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start with hub/cloudbridge_hub/app.py at GET /api/v1/uploads and the API reference to define the response shape, including items, states, and cursor; add coverage in the hub tests. Then trace upload sync through android/core/sync/ and android/core/network/ (HubApi) to find feature advertisement and polling behavior. Done means the app batches polls when api_features advertises support, falls back otherwise, and responses and logs contain no upload or file names.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
The app polls each upload individually until asset_confirmed, because the response shape of GET /api/v1/uploads
with since is not fixed in the contract.
Acceptance criteria
- The response shape (items, states, cursor) is specified in the API reference and covered by hub tests.
- The app uses one batched poll per run when the hub advertises the feature in
api_features, and falls back
otherwise. - No upload or file names in responses or logs.
Pointers
hub/cloudbridge_hub/app.py(/api/v1/uploads),android/core/sync/,android/core/network/(HubApi)
- Lenguaje dominante
- Kotlin
- Estrellas
- 0
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ft-dev-org/cloudbridge-oss
-
difficulty: beginner documentation help wanted networking
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
difficulty: beginner documentation help wanted self-hosting
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
difficulty: beginner documentation good first issue self-hosting
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
difficulty: beginner documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
backend difficulty: beginner enhancement self-hosting
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Todos los issues de ft-dev-org/cloudbridge-oss
Issues similares
-
[Request]: KylleneAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
ScoopInstaller/Extras#19589 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
feature request needs decision
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
tswistak/Battery-Monitor#207 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100