Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #1716

Closed
Open
Created Oct 16, 2012 by Administrator@rootOwner

Web Hooks help

Created by: Decipher

The Web Hooks help is either wrong, or if not, what language is it?

The provided example is as such:

{ :before => "95790bf891e76fee5e1747ab589903a6a1f80f22", :after => "da1560886d4f094c3e6c9ef40349f7d38b5d27d7", :ref => "refs/heads/master", :user_id => 4, :user_name => "John Smith", :repository => { :name => "Diaspora", :url => "localhost/diaspora", :description => "", :homepage => "localhost/diaspora", :private => true }, :commits => [ [0] { :id => "450d0de7532f8b663b9c5cce183b...", :message => "Update Catalan translation to e38cb41.", :timestamp => "2011-12-12T14:27:31+02:00", :url => "http://localhost/diaspora/commits/450d0de7532f...", :author => { :name => "Jordi Mallach", :email => "[email protected]" } }, [3] { :id => "da1560886d4f094c3e6c9ef40349...", :message => "fixed readme", :timestamp => "2012-01-03T23:36:29+02:00", :url => "http://localhost/diaspora/commits/da1560886d...", :author => { :name => "GitLab dev user", :email => "gitlabdev@dv6700.(none)" } } ], total_commits_count => 4 }

Based on the research I did, according to Githubs examples, this appears to be an example of the Ruby -> JSON template, not an example of the output itself.

Assignee
Assign to
Time tracking