webhook-deployment-review-rejected

APIs.ioEngineeringPlatform

Properties

Name Type Description
action string
approver object
comment string
enterprise object
installation object
organization object
repository object
reviewers object
sender object
since string
workflow_job_run object
workflow_job_runs array
workflow_run object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-webhook-deployment-review-rejected-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-deployment-review-rejected",
  "title": "webhook-deployment-review-rejected",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "rejected"
      ]
    },
    "approver": {
      "$ref": "#/components/schemas/webhooks_approver"
    },
    "comment": {
      "type": "string"
    },
    "enterprise": {
      "$ref": "#/components/schemas/enterprise-webhooks"
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "repository": {
      "$ref": "#/components/schemas/repository-webhooks"
    },
    "reviewers": {
      "$ref": "#/components/schemas/webhooks_reviewers"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    },
    "since": {
      "type": "string"
    },
    "workflow_job_run": {
      "$ref": "#/components/schemas/webhooks_workflow_job_run"
    },
    "workflow_job_runs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "conclusion": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "html_url": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        }
      }
    },
    "workflow_run": {
      "title": "Deployment Workflow Run",
      "type": "object",
      "nullable": true,
      "properties": {
        "actor": {
          "title": "User",
          "type": "object",
          "nullable": true,
          "properties": {
            "avatar_url": {
              "type": "string",
              "format": "uri"
            },
            "deleted": {
              "type": "boolean"
            },
            "email": {
              "type": "string",
              "nullable": true
            },
            "events_url": {
              "type": "string",
              "format": "uri-template"
            },
            "followers_url": {
              "type": "string",
              "format": "uri"
            },
            "following_url": {
              "type": "string",
              "format": "uri-template"
            },
            "gists_url": {
              "type": "string",
              "format": "uri-template"
            },
            "gravatar_id": {
              "type": "string"
            },
            "html_url": {
              "type": "string",
              "format": "uri"
            },
            "id": {
              "type": "integer"
            },
            "login": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "node_id": {
              "type": "string"
            },
            "organizations_url": {
              "type": "string",
              "format": "uri"
            },
            "received_events_url": {
              "type": "string",
              "format": "uri"
            },
            "repos_url": {
              "type": "string",
              "format": "uri"
            },
            "site_admin": {
              "type": "boolean"
            },
            "starred_url": {
              "type": "string",
              "format": "uri-template"
            },
            "subscriptions_url": {
              "type": "string",
              "format": "uri"
            },
            "type": {
              "type": "string",
              "enum": [
                "Bot",
                "User",
                "Organization"
              ]
            },
            "url": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "login",
            "id"
          ]
        },
        "artifacts_url": {
          "type": "string"
        },
        "cancel_url": {
          "type": "string"
        },
        "check_suite_id": {
          "type": "integer"
        },
        "check_suite_node_id": {
          "type": "string"
        },
        "check_suite_url": {
          "type": "string"
        },
        "conclusion": {
          "type": "string",
          "nullable": true,
          "enum": [
            "success",
            "failure",
            "neutral",
            "cancelled",
            "timed_out",
            "action_required",
            "stale",
            null
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "event": {
          "type": "string"
        },
        "head_branch": {
          "type": "string"
        },
        "head_commit": {
          "type": "object",
          "nullable": true
        },
        "head_repository": {
          "type": "object",
          "properties": {
            "archive_url": {
              "type": "string"
            },
            "assignees_url": {
              "type": "string"
            },
            "blobs_url": {
              "type": "string"
            },
            "branches_url": {
              "type": "string"
            },
            "collaborators_url": {
              "type": "string"
            },
            "comments_url": {
              "type": "string"
            },
            "commits_url": {
              "type": "string"
            },
            "compare_url": {
              "type": "string"
            },
            "contents_url": {
              "type": "string"
            },
            "contributors_url": {
              "type": "string"
            },
            "deployments_url": {
              "type": "string"
            },
            "description": {
              "type": "string",
              "nullable": true
            },
            "downloads_url": {
              "type": "string"
            },
            "events_url": {
              "type": "string"
            },
            "fork": {
              "type": "boolean"
            },
            "forks_url": {
              "type": "string"
            },
            "full_name": {
              "type": "string"
            },
            "git_commits_url": {
              "type": "string"
            },
            "git_refs_url": {
              "type": "string"
            },
            "git_tags_url": {
              "type": "string"
            },
            "hooks_url": {
              "type": "string"
            },
            "html_url": {
              "type": "string"
            },
            "id": {
              "type": "integer"
            },
            "issue_comment_url": {
              "type": "string"
            },
            "issue_events_url": {
              "type": "string"
            },
            "issues_url": {
              "type": "string"
            },
            "keys_url": {
              "type": "string"
            },
            "labels_url": {
              "type": "string"
            },
            "languages_url": {
              "type": "string"
            },
            "merges_url": {
              "type": "string"
            },
            "milestones_url": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "node_id": {
              "type": "string"
            },
            "notifications_url": {
              "type": "string"
            },
            "owner": {
              "type": "object",
              "properties": {
                "avatar_url": {
                  "type": "string"
                },
                "events_url": {
                  "type": "string"
                },
                "followers_url": {
                  "type": "string"
                },
                "following_url": {
                  "type": "string"
                },
                "gists_url": {
                  "type": "string"
                },
                "gravatar_id": {
                  "type": "string"
                },
                "html_url": {
                  "type": "string"
                },
                "id": {
                  "type": "integer"
                },
                "login": {
                  "type": "string"
                },
                "node_id": {
                  "type": "string"
                },
                "organizations_url": {
                  "type": "string"
                },
                "received_events_url": {
                  "type": "string"
                },
                "repos_url": {
                  "type": "string"
                },
                "site_admin": {
                  "type": "boolean"
                },
                "starred_url": {
                  "type": "string"
                },
                "subscriptions_url": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              }
            },
            "private": {
              "type": "boolean"
            },
            "pulls_url": {
              "type": "string"
            },
            "releases_url": {
              "type": "string"
            },
            "stargazers_url": {
              "type": "string"
            },
            "statuses_url": {
              "type": "string"
            },
            "subscribers_url": {
              "type": "string"
            },
            "subscription_url": {
              "type": "string"
            },
            "tags_url": {
              "type": "string"
            },
            "teams_url": {
              "type": "string"
            },
            "trees_url": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          }
        },
        "head_sha": {
          "type": "string"
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        },
        "id": {
          "type": "integer"
        },
        "jobs_url": {
          "type": "string"
        },
        "logs_url": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "node_id": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "previous_attempt_url": {
          "type": "string",
          "nullable": true
        },
        "pull_requests": {
          "type": "array",
          "items": {
            "title": "Check Run Pull Request",
            "type": "object",
            "properties": {
              "base": {
                "type": "object",
                "properties": {
                  "ref": {
                    "type": "string"
                  },
                  "repo": {
                    "title": "Repo Ref",
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "required": [
                      "id",
                      "url",
                      "name"
                    ]
                  },
                  "sha": {
                    "type": "string"
                  }
                },
                "required": [
                  "ref",
                  "sha",
                  "repo"
                ]
              },
              "head": {
                "type": "object",
                "properties": {
                  "ref": {
                    "type": "string"
                  },
                  "repo": {
                    "title": "Repo Ref",
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "required": [
                      "id",
                      "url",
                      "name"
                    ]
                  },
                  "sha": {
                    "type": "string"
                  }
                },
                "required": [
                  "ref",
                  "sha",
                  "repo"
                ]
              },
              "id": {
                "type": "integer"
              },
              "number": {
                "type": "integer"
              },
              "url": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "url",
              "id",
              "number",
              "head",
              "base"
            ]
          }
        },
        "referenced_workflows": {
          "type": "array",
          "nullable": true,
          "items": {
            "type": "object",
            "properties": {
              "path": {
                "type": "string"
              },
              "ref": {
                "type": "string"
              },
              "sha": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "sha"
            ]
          }
        },
        "repository": {
          "type": "object",
          "properties": {
            "archive_url": {
              "type": "string"
            },
            "assignees_url": {
              "type": "string"
            },
            "blobs_url": {
              "type": "string"
            },
            "branches_url": {
              "type": "string"
            },
            "collaborators_url": {
              "type": "string"
            },
            "comments_url": {
              "type": "string"
            },
            "commits_url": {
              "type": "string"
            },
            "compare_url": {
              "type": "string"
            },
            "contents_url": {
              "type": "string"
            },
            "contributors_url": {
              "type": "string"
            },
            "deployments_url": {
              "type": "string"
            },
            "description": {
              "type": "string",
              "nullable": true
            },
            "downloads_url": {
              "type": "string"
            },
            "events_url": {
              "type": "string"
            },
            "fork": {
              "type": "boolean"
            },
            "forks_url": {
              "type": "string"
            },
            "full_name": {
              "type": "string"
            },
            "git_commits_url": {
              "type": "string"
            },
            "git_refs_url": {
              "type": "string"
            },
            "git_tags_url": {
              "type": "string"
            },
            "hooks_url": {
              "type": "string"
            },
            "html_url": {
              "type": "string"
            },
            "id": {
              "type": "integer"
            },
            "issue_comment_url": {
              "type": "string"
            },
            "issue_events_url": {
              "type": "string"
            },
            "issues_url": {
              "type": "string"
            },
            "keys_url": {
              "type": "string"
            },
            "labels_url": {
              "type": "string"
            },
            "languages_url": {
              "type": "string"
            },
            "merges_url": {
              "type": "string"
            },
            "milestones_url": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "node_id": {
              "type": "string"
            },
            "notifications_url": {
              "type": "string"
            },
            "owner": {
              "type": "object",
              "properties": {
                "avatar_url": {
                  "type": "string"
                },
                "events_url": {
                  "type": "string"
                },
                "followers_url": {
                  "type": "string"
                },
                "following_url": {
                  "type": "string"
                },
                "gists_url": {
                  "type": "string"
                },
                "gravatar_id": {
                  "type": "string"
                },
                "html_url": {
                  "type": "string"
                },
                "id": {
                  "type": "integer"
                },
                "login": {
                  "type": "string"
                },
                "node_id": {
                  "type": "string"
                },
                "organizations_url": {
                  "type": "string"
                },
                "received_events_url": {
                  "type": "string"
                },
                "repos_url": {
                  "type": "string"
                },
                "site_admin": {
                  "type": "boolean"
                },
                "starred_url": {
                  "type": "string"
                },
                "subscriptions_url": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              }
            },
            "private": {
              "type": "boolean"
            },
            "pulls_url": {
              "type": "string"
            },
            "releases_url": {
              "type": "string"
            },
            "stargazers_url": {
              "type": "string"
            },
            "statuses_url": {
              "type": "string"
            },
            "subscribers_url": {
              "type": "string"
            },
            "subscription_url": {
              "type": "string"
            },
            "tags_url": {
              "type": "string"
            },
            "teams_url": {
              "type": "string"
            },
            "trees_url": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          }
        },
        "rerun_url": {
          "type": "string"
        },
        "run_attempt": {
          "type": "integer"
        },
        "run_number": {
          "type": "integer"
        },
        "run_started_at": {
          "type": "string",
          "format": "date-time"
        },
        "status": {
          "type": "string",
          "enum": [
            "requested",
            "in_progress",
            "completed",
            "queued",
            "waiting"
          ]
        },
        "triggering_actor": {
          "title": "User",
          "type": "object",
          "nullable": true,
          "properties": {
            "avatar_url": {
              "type": "string",
              "format": "uri"
            },
            "deleted": {
              "type": "boolean"
            },
            "email": {
              "type": "string",
              "nullable": true
            },
            "events_url": {
              "type": "string",
              "format": "uri-template"
            },
            "followers_url": {
              "type": "string",
              "format": "uri"
            },
            "following_url": {
              "type": "string",
              "format": "uri-template"
            },
            "gists_url": {
              "type": "string",
              "format": "uri-template"
            },
            "gravatar_id": {
              "type": "string"
            },
            "html_url": {
              "type": "string",
              "format": "uri"
            },
            "id": {
              "type": "integer"
            },
            "login": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "node_id": {
              "type": "string"
            },
            "organizations_url": {
              "type": "string",
              "format": "uri"
            },
            "received_events_url": {
              "type": "string",
              "format": "uri"
            },
            "repos_url": {
              "type": "string",
              "format": "uri"
            },
            "site_admin": {
              "type": "boolean"
            },
            "starred_url": {
              "type": "string",
              "format": "uri-template"
            },
            "subscriptions_url": {
              "type": "string",
              "format": "uri"
            },
            "type": {
              "type": "string",
              "enum": [
                "Bot",
                "User",
                "Organization"
              ]
            },
            "url": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "login",
            "id"
          ]
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "workflow_id": {
          "type": "integer"
        },
        "workflow_url": {
          "type": "string"
        },
        "display_title": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "node_id",
        "head_branch",
        "head_sha",
        "run_number",
        "event",
        "status",
        "conclusion",
        "workflow_id",
        "check_suite_id",
        "check_suite_node_id",
        "url",
        "html_url",
        "path",
        "pull_requests",
        "created_at",
        "updated_at",
        "actor",
        "triggering_actor",
        "run_attempt",
        "run_started_at",
        "display_title"
      ]
    }
  },
  "required": [
    "action",
    "workflow_run",
    "since",
    "repository",
    "organization",
    "sender"
  ]
}