Git & GitHub

GitHub API & webhooks

Në shqip: API-ja dhe webhook-et e GitHub-it

ShpjegimiSQ

Gjithçka në GitHub mund të automatizohet: API-ja REST/GraphQL (me Octokit ose gh api) krijon issue, lexon PR-të, menaxhon repo; webhook-et i njoftojnë shërbimet e tua sa herë ndodh diçka (push, PR, release).

EnglishEN

Everything on GitHub can be automated: the REST/GraphQL API (with Octokit or gh api) creates issues, reads PRs, manages repos; webhooks notify your services whenever something happens (push, PR, release).

Si ta mendosh

Si një sekretar që mund t'i japësh urdhra me shkrim dhe që të telefonon kur ndodh diçka.

Lexoje në anglisht

Like a secretary you can give written orders to, who calls you when something happens.

Shembull kodibash

gh api repos/scalar-code/fjalori-i-programimit/issues --jq '.[].title'

Terma të lidhur