gitea源码

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. -
  2. id: 1
  3. repo_id: 1
  4. url: https://www.example.com/url1
  5. content_type: 1 # json
  6. events: '{"push_only":true,"send_everything":false,"choose_events":false,"events":{"create":false,"push":true,"pull_request":false}}'
  7. is_active: true
  8. -
  9. id: 2
  10. repo_id: 1
  11. url: https://www.example.com/url2
  12. content_type: 1 # json
  13. events: '{"push_only":false,"send_everything":false,"choose_events":false,"events":{"create":false,"push":true,"pull_request":true}}'
  14. is_active: false
  15. -
  16. id: 3
  17. owner_id: 3
  18. repo_id: 3
  19. url: https://www.example.com/url3
  20. content_type: 1 # json
  21. events: '{"push_only":false,"send_everything":false,"choose_events":false,"events":{"create":false,"push":true,"pull_request":true}}'
  22. is_active: true
  23. -
  24. id: 4
  25. repo_id: 2
  26. url: https://www.example.com/url4
  27. content_type: 1 # json
  28. events: '{"push_only":true,"branch_filter":"{master,feature*}"}'
  29. is_active: true
  30. -
  31. id: 5
  32. repo_id: 0
  33. owner_id: 0
  34. url: https://www.example.com/url5
  35. content_type: 1 # json
  36. events: '{"push_only":true,"branch_filter":"{master,feature*}"}'
  37. is_active: true
  38. is_system_webhook: true
  39. -
  40. id: 6
  41. repo_id: 0
  42. owner_id: 0
  43. url: https://www.example.com/url6
  44. content_type: 1 # json
  45. events: '{"push_only":true,"branch_filter":"{master,feature*}"}'
  46. is_active: true
  47. is_system_webhook: false