跳到主要内容

Get Single Repository WebHook

GET 

/api/v5/repos/:owner/:repo/hooks/:id

Request​

Path Parameters

    owner stringrequired

    Repository space address (address path of the enterprise, organization, or individual)

    repo stringrequired

    Repository path (path)

    id stringrequired

    The ID of the Webhook

Query Parameters

    access_token stringrequired

    User authorization code

Responses​

Successful Response

Response Headers
    Schema
      idinteger
      urlstring
      passwordstring
      resultnull
      project_idinteger
      result_codeinteger
      push_eventsinteger
      tag_push_eventsinteger
      issues_eventsinteger
      note_eventsinteger
      merge_requests_eventsinteger
      created_atstring
      activeboolean

      Is activated