Javascript octokit: Difference between revisions
From wikinotes
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
I find it easier to search the [[https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28 rest api docs]] for a method,<br> | I find it easier to search the [[https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28 rest api docs]] for a method,<br> | ||
it documents the response object,<br> | it documents the response object,<br> | ||
also you can try it out locally with [[gh]] and get a preview of the results. | also you can try it out locally with [[gh]] and get a preview of the results.<br> | ||
(afterwards, find the equivalent method within octokit docs) | |||
}} | }} | ||
Latest revision as of 14:53, 20 September 2023
rest-js based github api client.
It uses the github api v3 (which you can use for additional docs, test queries).
NOTE:
I find it easier to search the [rest api docs] for a method,
it documents the response object,
also you can try it out locally with gh and get a preview of the results.
(afterwards, find the equivalent method within octokit docs)
Documentation
official docs https://octokit.github.io/rest.js/v20