Skip to content

REST API

George Birbilis edited this page Oct 5, 2021 · 25 revisions

GitHub REST API use on the Gallery:


Can also use the free REST Debugger from https://www.embarcadero.com/free-tools/rest-debugger (has "Copy Components" button to copy Delphi serialized data for using TRESTClient etc. components to your clipboard)

To get just the latest SHA for main branch using REST Debugger, use:

Request

Request/Parameters (tab)

Request Parameters: Add

* Kind: Header
* Name: Accept
* Value: application/vnd.github.VERSION.sha
* Do not Encode

Response

  • Body (tab)

Can get table of all contents (iterative) with REST Debugger with following settings:

Request

Response

  • Tabular Data (tab)
  • Use Types: String
Clone this wiki locally