GitHub · Schema

pre-receive-environment

pre-receive-environment from GitHub API

CodePipelinesPlatformSoftware DevelopmentSource ControlT1

Properties

Name Type Description
id integer
name string
image_url string
url string
html_url string
default_environment boolean
created_at string
hooks_count integer
download object
View JSON Schema on GitHub

JSON Schema

github-openapi-pre-receive-environment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-openapi-pre-receive-environment-schema.json",
  "title": "pre-receive-environment",
  "description": "pre-receive-environment from GitHub API",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "example": 42
    },
    "name": {
      "type": "string",
      "example": "octocat"
    },
    "image_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "html_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "default_environment": {
      "type": "boolean",
      "example": true
    },
    "created_at": {
      "type": "string",
      "example": "2026-04-17T12:00:00Z"
    },
    "hooks_count": {
      "type": "integer",
      "example": 42
    },
    "download": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "downloaded_at": {
          "nullable": true,
          "type": "string"
        },
        "message": {
          "nullable": true,
          "type": "string"
        }
      }
    }
  }
}