Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/project_hook.json')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/project_hook.json116
1 files changed, 92 insertions, 24 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/project_hook.json b/spec/fixtures/api/schemas/public_api/v4/project_hook.json
index 6070f3a55f9..b89f5af8078 100644
--- a/spec/fixtures/api/schemas/public_api/v4/project_hook.json
+++ b/spec/fixtures/api/schemas/public_api/v4/project_hook.json
@@ -22,38 +22,106 @@
"releases_events",
"alert_status",
"disabled_until",
- "url_variables"
+ "url_variables",
+ "emoji_events"
],
"properties": {
- "id": { "type": "integer" },
- "project_id": { "type": "integer" },
- "url": { "type": "string" },
- "created_at": { "type": "string", "format": "date-time" },
- "push_events": { "type": "boolean" },
- "push_events_branch_filter": { "type": ["string", "null"] },
- "tag_push_events": { "type": "boolean" },
- "merge_requests_events": { "type": "boolean" },
- "repository_update_events": { "type": "boolean" },
- "enable_ssl_verification": { "type": "boolean" },
- "issues_events": { "type": "boolean" },
- "confidential_issues_events": { "type": ["boolean", "null"] },
- "note_events": { "type": "boolean" },
- "confidential_note_events": { "type": ["boolean", "null"] },
- "pipeline_events": { "type": "boolean" },
- "wiki_page_events": { "type": "boolean" },
- "job_events": { "type": "boolean" },
- "deployment_events": { "type": "boolean" },
- "releases_events": { "type": "boolean" },
- "alert_status": { "type": "string", "enum": ["executable","disabled","temporarily_disabled"] },
- "disabled_until": { "type": ["string", "null"] },
+ "id": {
+ "type": "integer"
+ },
+ "project_id": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "push_events": {
+ "type": "boolean"
+ },
+ "push_events_branch_filter": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tag_push_events": {
+ "type": "boolean"
+ },
+ "merge_requests_events": {
+ "type": "boolean"
+ },
+ "repository_update_events": {
+ "type": "boolean"
+ },
+ "enable_ssl_verification": {
+ "type": "boolean"
+ },
+ "issues_events": {
+ "type": "boolean"
+ },
+ "confidential_issues_events": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "note_events": {
+ "type": "boolean"
+ },
+ "confidential_note_events": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "pipeline_events": {
+ "type": "boolean"
+ },
+ "wiki_page_events": {
+ "type": "boolean"
+ },
+ "job_events": {
+ "type": "boolean"
+ },
+ "deployment_events": {
+ "type": "boolean"
+ },
+ "releases_events": {
+ "type": "boolean"
+ },
+ "emoji_events": {
+ "type": "boolean"
+ },
+ "alert_status": {
+ "type": "string",
+ "enum": [
+ "executable",
+ "disabled",
+ "temporarily_disabled"
+ ]
+ },
+ "disabled_until": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"url_variables": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
- "required": ["key"],
+ "required": [
+ "key"
+ ],
"properties": {
- "key": { "type": "string" }
+ "key": {
+ "type": "string"
+ }
}
}
}