Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 711 Bytes

api_git.md

File metadata and controls

42 lines (34 loc) · 711 Bytes

Notice: You need an active API-KEY or you have to wait 300 seconds for the next request

API > Github > Repo

Request Example

cURL

curl -H 'Authorization: <api_key>' \
-X GET 'https://api.celltek.space/git/repo/<name>'

PHP

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.celltek.space/git/repo/<name>');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  'Authorization: <api_key>'
]);
curl_close($ch);
{
	"response": {
		"id": <id>,
		"name": "<name>",
		"url": "<url>",
		"file": "<url>",
		"version": "<verson>",
		"time": {
			"created_at": "<timestamp>",
			"updated_at": "<timestamp>"
		}
	}
}