rest.licenses
Octokit exposes these methods on octokit.rest.licenses. The last column lists defaults and decorations applied by the SDK.
| Method | Upstream route | Pagination | SDK behavior |
|---|---|---|---|
get |
GET /licenses/{license} |
— | — |
getAllCommonlyUsed |
GET /licenses |
yes | — |
getForRepo |
GET /repos/{owner}/{repo}/license |
— | — |