pre-receive-hook

APIs.ioEngineeringPlatform

Properties

Name Type Description
id integer
name string
enforcement string
script string
script_repository object
environment object
allow_downstream_configuration boolean
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-pre-receive-hook-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/pre-receive-hook",
  "title": "pre-receive-hook",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "enforcement": {
      "type": "string"
    },
    "script": {
      "type": "string"
    },
    "script_repository": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "full_name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "html_url": {
          "type": "string"
        }
      }
    },
    "environment": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "name": {
          "type": "string"
        },
        "image_url": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "html_url": {
          "type": "string"
        },
        "default_environment": {
          "type": "boolean"
        },
        "created_at": {
          "type": "string"
        },
        "hooks_count": {
          "type": "integer"
        },
        "download": {
          "type": "object",
          "properties": {
            "url": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "downloaded_at": {
              "nullable": true,
              "type": "string"
            },
            "message": {
              "nullable": true,
              "type": "string"
            }
          }
        }
      }
    },
    "allow_downstream_configuration": {
      "type": "boolean"
    }
  }
}