AustinMCrane / tdd-project-meter

0 stars 0 forks source link

Gitlab Webhooks Data Structure #1

Open AustinMCrane opened 8 years ago

AustinMCrane commented 8 years ago

Triggers

AustinMCrane commented 8 years ago

Push

{"object_kind"=>"push", "event_name"=>"push", "before"=>"baeb48b161337e23f0f1246f46f387be4bbcff95", "after"=>"c1451121d99a1bd7bacf61eb9071c36f67b68c36", "ref"=>"refs/heads/development", "checkout_sha"=>"c1451121d99a1bd7bacf61eb9071c36f67b68c36", "message"=>nil, "user_id"=>3, "user_name"=>"Austin M Crane", "user_email"=>"austin.crane@ennovar.wichita.edu", "user_avatar"=>"https://secure.gravatar.com/avatar/f37f02f89a9ce348d09bd15971dfb51e?s=80&d=identicon", "project_id"=>61, "project"=>{"name"=>"dsi-api", "description"=>"", "web_url"=>"https://gitlab.atai.lan/backend-devs/dsi-api", "avatar_url"=>nil, "git_ssh_url"=>"git@gitlab.atai.lan:backend-devs/dsi-api.git", "git_http_url"=>"https://gitlab.atai.lan/backend-devs/dsi-api.git", "namespace"=>"backend-devs", "visibility_level"=>10, "path_with_namespace"=>"backend-devs/dsi-api", "default_branch"=>"development", "homepage"=>"https://gitlab.atai.lan/backend-devs/dsi-api", "url"=>"git@gitlab.atai.lan:backend-devs/dsi-api.git", "ssh_url"=>"git@gitlab.atai.lan:backend-devs/dsi-api.git", "http_url"=>"https://gitlab.atai.lan/backend-devs/dsi-api.git"}, "commits"=>[{"id"=>"c1451121d99a1bd7bacf61eb9071c36f67b68c36", "message"=>"activities rspec\n", "timestamp"=>"2016-10-19T15:08:31-05:00", "url"=>"https://gitlab.atai.lan/backend-devs/dsi-api/commit/c1451121d99a1bd7bacf61eb9071c36f67b68c36", "author"=>{"name"=>"Ennovar", "email"=>"njorombe@gmail.com"}, "added"=>[], "modified"=>["app/controllers/excel_controller.rb", "app/models/activity.rb", "spec/controllers/excel_controller_spec.rb", "spec/models/activity_spec.rb"], "removed"=>[]}, {"id"=>"a0f657cdddbfd93cbf95116bae357993e41e7acb", "message"=>"Update .gitlab-ci.yml", "timestamp"=>"2016-10-19T10:58:31-05:00", "url"=>"https://gitlab.atai.lan/backend-devs/dsi-api/commit/a0f657cdddbfd93cbf95116bae357993e41e7acb", "author"=>{"name"=>"Austin M Crane", "email"=>"austin.crane@ennovar.wichita.edu"}, "added"=>[], "modified"=>[".gitlab-ci.yml"], "removed"=>[]}, {"id"=>"baeb48b161337e23f0f1246f46f387be4bbcff95", "message"=>"fixed a test\n", "timestamp"=>"2016-10-18T17:55:14-05:00", "url"=>"https://gitlab.atai.lan/backend-devs/dsi-api/commit/baeb48b161337e23f0f1246f46f387be4bbcff95", "author"=>{"name"=>"Austin Crane", "email"=>"amcrane1@wichita.edu"}, "added"=>[], "modified"=>["spec/models/student_spec.rb", "spec/routing/observers_routing_spec.rb"], "removed"=>[]}], "total_commits_count"=>3, "repository"=>{"name"=>"dsi-api", "url"=>"git@gitlab.atai.lan:backend-devs/dsi-api.git", "description"=>"", "homepage"=>"https://gitlab.atai.lan/backend-devs/dsi-api", "git_http_url"=>"https://gitlab.atai.lan/backend-devs/dsi-api.git", "git_ssh_url"=>"git@gitlab.atai.lan:backend-devs/dsi-api.git", "visibility_level"=>10}, "tag"=>"dsi-api", "coverage"=>{"message"=>nil, "project_id"=>61}}