docs: use `apify api` as fallback for API reference CLI samples
I maintainer di solito rispondono entro 1 giorno
@szaganek ci sta già lavorando.
Dal 30/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 82
- Fork
- 240
- Merge medio
- 3g 15h
- PR unite (30g)
- 36
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la 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 apify/apify-docs
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
apify/apify-docs#3071 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
apify/apify-docs#3049 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
apify/apify-docs#2742 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
apify/apify-docs#2741 ·
I maintainer di solito rispondono entro 1 giorno
-
low priority t-unblocking tech enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
apify/apify-docs#2451 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apify/apify-docs
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Billionmail/BillionMail#389 ·
-
beginner-friendly category:finding-titles community enhancement first-timers-only good first issue hacktoberfest help wanted low hanging fruit micro-contribution type: task up-for-grabs
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
Berserk-hub150/skillhawk#227 · 1 commento ·
I maintainer di solito rispondono entro 8 giorni
-
Remove responsibilities not working in Custom Roles & BadgesForse già presa @thomasgwatson l’ha presa oggi. Apertaagent-ready agent:needs-test
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
gkjohnson/three-mesh-bvh#933 ·
-
scope: curriculum status: waiting triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
freeCodeCamp/freeCodeCamp#71076 ·
I maintainer di solito rispondono entro 1 giorno