docs: use `apify api` as fallback for API reference CLI samples
Los mantenedores suelen responder en 1 día
@szaganek ya está trabajando en esto.
Desde el 30/7/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
The "Apify CLI" code samples in the API reference (apify-api/openapi/code_samples/curl/) currently cover only ~31 of ~131 operations. Where a dedicated CLI subcommand exists, the sample should keep using it (e.g. apify runs info <RUN ID>). For the rest, fall back to apify api, which makes an authenticated HTTP request to any endpoint:
apify api GET actor-runs/<RUN ID>
This way every endpoint gets a CLI sample without inventing subcommands.
Note: This also needs a fix in the decorator (apify-api/plugins/decorators/code-samples-decorator.mjs). It only attaches samples to an endpoint when both a JS and a CLI sample file exist - if either is missing, it skips the endpoint entirely and shows no tabs at all. That's why only ~31 endpoints currently show samples despite ~98 having a JS sample. To get full CLI coverage we either backfill a CLI sample for every endpoint, or change that logic so a missing file only drops that one tab instead of all of them.
- Lenguaje dominante
- JavaScript
- Estrellas
- 82
- Forks
- 240
- Merge medio
- 4 d 2 h
- PR fusionados (30 d)
- 44
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 apify/apify-docs
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
apify/apify-docs#3071 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
apify/apify-docs#3049 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apify/apify-docs#2742 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
apify/apify-docs#2741 ·
Los mantenedores suelen responder en 1 día
-
low priority t-unblocking tech enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
apify/apify-docs#2451 ·
Los mantenedores suelen responder en 1 día
Todos los issues de apify/apify-docs
Issues similares
-
[BUG]: Prompt compressor crashes with TypeError when a past chat has a non-string response.textPosiblemente ocupada @ManojDevarajulu la tomó hoy. Abiertopossible bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Mintplex-Labs/anything-llm#6737 ·
Los mantenedores suelen responder en 1 día
-
Add: Tooncast brazil feedAbiertocheck:passed feeds:add
Dificultad 2/5 Menos de una hora Aptitud para principiantes 62/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
motiondivision/motion#3935 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
codex-team/editor.js#3037 ·
-
No Code Attached Yet
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
joomla/joomla-cms#48626 ·
Los mantenedores suelen responder en 1 día