Contract: define `GET /api/v1/uploads?since=` and use it instead of per-upload polling

Abierto
#47 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
kotlin, python
Área
api, backend, mobile

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

android backend difficulty: intermediate enhancement

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ft-dev-org/cloudbridge-oss

Todos los issues de ft-dev-org/cloudbridge-oss

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.