GitHub · JSON Structure

Github Auth Api Pre Receive Environment Structure

pre-receive-environment from GitHub API

Type: object Properties: 9
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

pre-receive-environment is a JSON Structure definition published by GitHub, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name image_url url html_url default_environment created_at hooks_count download

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-auth-api-pre-receive-environment-structure.json",
  "name": "pre-receive-environment",
  "description": "pre-receive-environment from GitHub API",
  "type": "object",
  "properties": {
    "id": {
      "type": "int64",
      "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": "int32",
      "example": 42
    },
    "download": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "downloaded_at": {
          "nullable": true,
          "type": "string"
        },
        "message": {
          "nullable": true,
          "type": "string"
        }
      }
    }
  }
}