Add get_processes() to wrap v1/system/processes

Abierto
#531 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@jmwoliver ya está trabajando en esto.

Desde el 6/11/2026.

  • #533 de @jmwoliver — abierto

Evaluación

Este issue todavía no se ha evaluado.

Descripción

I think we want a new function name than get_procs(), the old one. The new function should call GET v1/system/processes with Accept: text/csv to get a CSV download and then reading the data in should be straightforward. If that 404s, then we're pointing at old Connect, so call the old API (justget_procs()), and map the old column names to the new ones. We have a few of these "call the new API and if it fails call the old one" setups in the package already.

The new API supports a few filtering params that we could add as arguments to get_processes()

get_procs() should call .Deprecated() (or if there is a fancier lifecycle:: function we can use that since we already depend on it) and tell people to use get_processes() instead. (Though we wouldn't want to raise the warning if we're calling the logic from within get_processes() as the fallback, so either suppress the warning there or factor out the logic that does the requests and formatting.)

Lenguaje dominante
R
Estrellas
54
Forks
27
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 posit-dev/connectapi

Todos los issues de posit-dev/connectapi

Issues similares

Más issues de R

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.