Skip to content

Instantly share code, notes, and snippets.

@profOnno
Created September 25, 2015 20:20
Show Gist options
  • Select an option

  • Save profOnno/697ffb97db422d3cbc58 to your computer and use it in GitHub Desktop.

Select an option

Save profOnno/697ffb97db422d3cbc58 to your computer and use it in GitHub Desktop.
curl -i -u 'profOnno:get27hubin' https://api.github.com/repos/profOnno/git_playground/hooks
HTTP/1.1 200 OK
Server: GitHub.com
Date: Fri, 25 Sep 2015 20:17:27 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 906
Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4994
X-RateLimit-Reset: 1443215370
Cache-Control: private, max-age=60, s-maxage=60
ETag: "62c1177b3bbbe49d52d9f90ce6b52973"
Vary: Accept, Authorization, Cookie, X-GitHub-OTP
X-GitHub-Media-Type: github.v3
X-XSS-Protection: 1; mode=block
X-Frame-Options: deny
Content-Security-Policy: default-src 'none'
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
Access-Control-Allow-Origin: *
X-GitHub-Request-Id: 52A80A21:10750:107580C:5605ABD7
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Content-Type-Options: nosniff
Vary: Accept-Encoding
X-Served-By: dc1ce2bfb41810a06c705e83b388572d
[
{
"url": "https://api.github.com/repos/profOnno/git_playground/hooks/5939076",
"test_url": "https://api.github.com/repos/profOnno/git_playground/hooks/5939076/test",
"ping_url": "https://api.github.com/repos/profOnno/git_playground/hooks/5939076/pings",
"id": 5939076,
"name": "irc",
"active": true,
"events": [
"push",
"pull_request"
],
"config": {
"server": "chat.freenode.net",
"port": "6667",
"room": "#profOnno",
"nick": "",
"branches": "main",
"nickserv_password": "",
"password": "********",
"ssl": "0",
"message_without_join": "1",
"no_colors": "1",
"long_url": "0",
"notice": "0"
},
"last_response": {
"code": 200,
"status": "active",
"message": "OK"
},
"updated_at": "2015-09-25T20:10:37Z",
"created_at": "2015-09-25T15:56:15Z"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment