---
title: "pre-receive-environment"
url: "https://kiwi.arashsheyda.me/apis/internal-document-hub-admin-api-1/versions/b3b7a508-ad5a-4abd-bb6f-6a4cdb164859/schemas/pre-receive-environment"
---

> Full API specification: https://kiwi.arashsheyda.me/apis/internal-document-hub-admin-api-1/versions/b3b7a508-ad5a-4abd-bb6f-6a4cdb164859.md

# pre-receive-environment

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: GitHub v3 REST API
  version: 1.1.4
servers:
  - url: "{protocol}://{hostname}/api/v3"
    variables:
      hostname:
        description: Self-hosted Enterprise Server or Enterprise Cloud hostname
        default: HOSTNAME
      protocol:
        description: Self-hosted Enterprise Server or Enterprise Cloud protocol
        default: http
components:
  schemas:
    pre-receive-environment:
      type: object
      properties:
        id:
          type: integer
        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
```
