Commit 94ead23f authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-invalid-json-examples-for-system-hooks' into 'master'

Remove trailing comma in System Hooks payload examples

Closes #36071

See merge request !13367
parents 358a07cf 2a5b5323
...@@ -31,7 +31,7 @@ X-Gitlab-Event: System Hook ...@@ -31,7 +31,7 @@ X-Gitlab-Event: System Hook
"path": "storecloud", "path": "storecloud",
"path_with_namespace": "jsmith/storecloud", "path_with_namespace": "jsmith/storecloud",
"project_id": 74, "project_id": 74,
"project_visibility": "private", "project_visibility": "private"
} }
``` ```
...@@ -48,7 +48,7 @@ X-Gitlab-Event: System Hook ...@@ -48,7 +48,7 @@ X-Gitlab-Event: System Hook
"path": "underscore", "path": "underscore",
"path_with_namespace": "jsmith/underscore", "path_with_namespace": "jsmith/underscore",
"project_id": 73, "project_id": 73,
"project_visibility": "internal", "project_visibility": "internal"
} }
``` ```
...@@ -66,7 +66,7 @@ X-Gitlab-Event: System Hook ...@@ -66,7 +66,7 @@ X-Gitlab-Event: System Hook
"owner_name": "John Smith", "owner_name": "John Smith",
"owner_email": "johnsmith@gmail.com", "owner_email": "johnsmith@gmail.com",
"project_visibility": "internal", "project_visibility": "internal",
"old_path_with_namespace": "jsmith/overscore", "old_path_with_namespace": "jsmith/overscore"
} }
``` ```
...@@ -84,7 +84,7 @@ X-Gitlab-Event: System Hook ...@@ -84,7 +84,7 @@ X-Gitlab-Event: System Hook
"owner_name": "John Smith", "owner_name": "John Smith",
"owner_email": "johnsmith@gmail.com", "owner_email": "johnsmith@gmail.com",
"project_visibility": "internal", "project_visibility": "internal",
"old_path_with_namespace": "jsmith/overscore", "old_path_with_namespace": "jsmith/overscore"
} }
``` ```
...@@ -101,7 +101,7 @@ X-Gitlab-Event: System Hook ...@@ -101,7 +101,7 @@ X-Gitlab-Event: System Hook
"path": "storecloud", "path": "storecloud",
"path_with_namespace": "jsmith/storecloud", "path_with_namespace": "jsmith/storecloud",
"project_id": 74, "project_id": 74,
"project_visibility": "private", "project_visibility": "private"
} }
``` ```
...@@ -121,7 +121,7 @@ X-Gitlab-Event: System Hook ...@@ -121,7 +121,7 @@ X-Gitlab-Event: System Hook
"user_name": "John Smith", "user_name": "John Smith",
"user_username": "johnsmith", "user_username": "johnsmith",
"user_id": 41, "user_id": 41,
"project_visibility": "private", "project_visibility": "private"
} }
``` ```
...@@ -141,7 +141,7 @@ X-Gitlab-Event: System Hook ...@@ -141,7 +141,7 @@ X-Gitlab-Event: System Hook
"user_name": "John Smith", "user_name": "John Smith",
"user_username": "johnsmith", "user_username": "johnsmith",
"user_id": 41, "user_id": 41,
"project_visibility": "private", "project_visibility": "private"
} }
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment