---
title: "Changes to Get an environment"
method: GET
path: "/repos/{owner}/{repo}/environments/{environment_name}"
---

# Changes to Get an environment

`GET /repos/{owner}/{repo}/environments/{environment_name}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 50 revisions.

- **2023-10-04** (3.8) `4e8898eabafb` — 1 warning
- **2023-09-22** (3.8) `0b8f57159742` — 1 info

## Changes

- **2023-10-04** (3.8) `4e8898eabafb` — 1 warning
  - removed the optional property `protection_rules/items/anyOf[subschema #2]/prevent_self_review` from the response with the `200` status
- **2023-09-22** (3.8) `0b8f57159742` — 1 info
  - added the optional property `protection_rules/items/anyOf[subschema #2]/prevent_self_review` to the response with the `200` status

---

[Operation](https://skmtc.dev/github/apis/enterprise-server/docs/repos/:owner/:repo/environments/:environment_name/get.md) · [API](https://skmtc.dev/github/apis/enterprise-server.md) · [Page](https://skmtc.dev/github/apis/enterprise-server/changes/repos/:owner/:repo/environments/:environment_name/get)
