github.com/argoproj/argo-cd/v3@v3.2.1/applicationset/webhook/testdata/gitlab-merge-request-open-event.json (about)

     1  {
     2    "object_kind": "merge_request",
     3    "event_type": "merge_request",
     4    "user": {
     5      "id": 1,
     6      "name": "Administrator",
     7      "username": "root",
     8      "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon",
     9      "email": "admin@example.com"
    10    },
    11    "project": {
    12      "id": 100500,
    13      "name": "project",
    14      "description": "",
    15      "web_url": "https://gitlab.com/group/name",
    16      "avatar_url": null,
    17      "git_ssh_url": "ssh://git@gitlab.com:2222/group/name.git",
    18      "git_http_url": "https://gitlab.com/group/name.git",
    19      "namespace": "group",
    20      "visibility_level": 1,
    21      "path_with_namespace": "group/name",
    22      "default_branch": "master",
    23      "ci_config_path": null,
    24      "homepage": "https://gitlab.com/group/name",
    25      "url": "ssh://git@gitlab.com:2222/group/name.git",
    26      "ssh_url": "ssh://git@gitlab.com:2222/group/name.git",
    27      "http_url": "https://gitlab.com/group/name.git"
    28    },
    29    "repository": {
    30      "name": "name",
    31      "url": "ssh://git@gitlab.com:2222/group/name.git",
    32      "description": "",
    33      "homepage": "https://gitlab.com/group/name",
    34      "git_http_url": "https://gitlab.com/group/name.git",
    35      "git_ssh_url": "ssh://git@gitlab.com:2222/group/name.git",
    36      "visibility_level": 10
    37    },
    38    "object_attributes": {
    39      "id": 99,
    40      "iid": 1,
    41      "target_branch": "master",
    42      "source_branch": "ms-viewport",
    43      "source_project_id": 14,
    44      "author_id": 51,
    45      "assignee_id": 6,
    46      "title": "MS-Viewport",
    47      "created_at": "2013-12-03T17:23:34Z",
    48      "updated_at": "2013-12-03T17:23:34Z",
    49      "milestone_id": null,
    50      "state": "opened",
    51      "blocking_discussions_resolved": true,
    52      "work_in_progress": false,
    53      "first_contribution": true,
    54      "merge_status": "unchecked",
    55      "target_project_id": 100500,
    56      "description": "",
    57      "url": "https://gitlab.com/group/name/merge_requests/1",
    58      "source": {
    59        "name": "Awesome Project",
    60        "description": "Aut reprehenderit ut est.",
    61        "web_url": "https://gitlab.com/group/name",
    62        "avatar_url": null,
    63        "git_ssh_url": "ssh://git@gitlab.com:2222/group/name.git",
    64        "git_http_url": "https://gitlab.com/group/name.git",
    65        "namespace": "Awesome Space",
    66        "visibility_level": 20,
    67        "path_with_namespace": "group/name",
    68        "default_branch": "master",
    69        "homepage": "https://gitlab.com/group/name",
    70        "url": "https://gitlab.com/group/name.git",
    71        "ssh_url": "ssh://git@gitlab.com:2222/group/name.git",
    72        "http_url": "https://gitlab.com/group/name.git"
    73      },
    74      "target": {
    75        "name": "Awesome Project",
    76        "description": "Aut reprehenderit ut est.",
    77        "web_url": "https://gitlab.com/group/name",
    78        "avatar_url": null,
    79        "git_ssh_url": "ssh://git@gitlab.com:2222/group/name.git",
    80        "git_http_url": "https://gitlab.com/group/name.git",
    81        "namespace": "Awesome Space",
    82        "visibility_level": 20,
    83        "path_with_namespace": "group/name",
    84        "default_branch": "master",
    85        "homepage": "https://gitlab.com/group/name",
    86        "url": "https://gitlab.com/group/name.git",
    87        "ssh_url": "ssh://git@gitlab.com:2222/group/name.git",
    88        "http_url": "https://gitlab.com/group/name.git"
    89      },
    90      "last_commit": {
    91        "id": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
    92        "message": "fixed readme",
    93        "timestamp": "2012-01-03T23:36:29+02:00",
    94        "url": "https://gitlab.com/group/name/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
    95        "author": {
    96          "name": "GitLab dev user",
    97          "email": "gitlabdev@dv6700.(none)"
    98        }
    99      },
   100      "labels": [
   101        {
   102          "id": 206,
   103          "title": "API",
   104          "color": "#ffffff",
   105          "project_id": 14,
   106          "created_at": "2013-12-03T17:15:43Z",
   107          "updated_at": "2013-12-03T17:15:43Z",
   108          "template": false,
   109          "description": "API related issues",
   110          "type": "ProjectLabel",
   111          "group_id": 41
   112        }
   113      ],
   114      "action": "open",
   115      "assignee": {
   116        "name": "User1",
   117        "username": "user1",
   118        "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon"
   119      }
   120    },
   121    "labels": [
   122      {
   123        "id": 206,
   124        "title": "API",
   125        "color": "#ffffff",
   126        "project_id": 14,
   127        "created_at": "2013-12-03T17:15:43Z",
   128        "updated_at": "2013-12-03T17:15:43Z",
   129        "template": false,
   130        "description": "API related issues",
   131        "type": "ProjectLabel",
   132        "group_id": 41
   133      }
   134    ],
   135    "changes": {
   136      "updated_by_id": {
   137        "previous": null,
   138        "current": 1
   139      },
   140      "updated_at": {
   141        "previous": "2017-09-15 16:50:55 UTC",
   142        "current": "2017-09-15 16:52:00 UTC"
   143      },
   144      "labels": {
   145        "previous": [
   146          {
   147            "id": 206,
   148            "title": "API",
   149            "color": "#ffffff",
   150            "project_id": 14,
   151            "created_at": "2013-12-03T17:15:43Z",
   152            "updated_at": "2013-12-03T17:15:43Z",
   153            "template": false,
   154            "description": "API related issues",
   155            "type": "ProjectLabel",
   156            "group_id": 41
   157          }
   158        ],
   159        "current": [
   160          {
   161            "id": 205,
   162            "title": "Platform",
   163            "color": "#123123",
   164            "project_id": 14,
   165            "created_at": "2013-12-03T17:15:43Z",
   166            "updated_at": "2013-12-03T17:15:43Z",
   167            "template": false,
   168            "description": "Platform related issues",
   169            "type": "ProjectLabel",
   170            "group_id": 41
   171          }
   172        ]
   173      }
   174    }
   175  }