Skip to content

Instantly share code, notes, and snippets.

@aereal
Created January 15, 2015 11:12
Show Gist options
  • Save aereal/c8d37d22e06e9e7ce08e to your computer and use it in GitHub Desktop.
Save aereal/c8d37d22e06e9e7ce08e to your computer and use it in GitHub Desktop.
Deployment API response example
{
"url": "https://api.github.com/repos/aereal/playground-github-api/deployments/134168",
"id": 134168,
"sha": "6c16e9486fdf924365856aa906468598c96adc8a",
"ref": "0001_feature",
"task": "deploy",
"payload": {
},
"environment": "production",
"description": null,
"creator": {
"login": "aereal",
"id": 87649,
"avatar_url": "https://avatars.githubusercontent.com/u/87649?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/aereal",
"html_url": "https://github.com/aereal",
"followers_url": "https://api.github.com/users/aereal/followers",
"following_url": "https://api.github.com/users/aereal/following{/other_user}",
"gists_url": "https://api.github.com/users/aereal/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aereal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aereal/subscriptions",
"organizations_url": "https://api.github.com/users/aereal/orgs",
"repos_url": "https://api.github.com/users/aereal/repos",
"events_url": "https://api.github.com/users/aereal/events{/privacy}",
"received_events_url": "https://api.github.com/users/aereal/received_events",
"type": "User",
"site_admin": false
},
"created_at": "2015-01-15T11:07:58Z",
"updated_at": "2015-01-15T11:07:58Z",
"statuses_url": "https://api.github.com/repos/aereal/playground-github-api/deployments/134168/statuses",
"repository_url": "https://api.github.com/repos/aereal/playground-github-api"
}
{
"url": "https://api.github.com/repos/aereal/playground-github-api/deployments/134168/statuses/223175",
"id": 223175,
"state": "success",
"creator": {
"login": "aereal",
"id": 87649,
"avatar_url": "https://avatars.githubusercontent.com/u/87649?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/aereal",
"html_url": "https://github.com/aereal",
"followers_url": "https://api.github.com/users/aereal/followers",
"following_url": "https://api.github.com/users/aereal/following{/other_user}",
"gists_url": "https://api.github.com/users/aereal/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aereal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aereal/subscriptions",
"organizations_url": "https://api.github.com/users/aereal/orgs",
"repos_url": "https://api.github.com/users/aereal/repos",
"events_url": "https://api.github.com/users/aereal/events{/privacy}",
"received_events_url": "https://api.github.com/users/aereal/received_events",
"type": "User",
"site_admin": false
},
"description": null,
"target_url": null,
"created_at": "2015-01-15T11:10:34Z",
"updated_at": "2015-01-15T11:10:34Z",
"deployment_url": "https://api.github.com/repos/aereal/playground-github-api/deployments/134168",
"repository_url": "https://api.github.com/repos/aereal/playground-github-api"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment