---
title: "Changes to Create an opt-in repository gate definition"
method: POST
path: "/api/v1/cache/r/{repoId}/gates"
---

# Changes to Create an opt-in repository gate definition

`POST /api/v1/cache/r/{repoId}/gates`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 129 revisions.

- **2026-10-23** `6447945bfd4f`: 1 warning, 1 info
- **2026-10-20** `aeb83a0fe3e5`: 1 info

## Changes

- **2026-10-23** `6447945bfd4f`: 1 warning, 1 info
  - added the new `plugin` enum value to the `gate/gate_type` response property for the response status `201`
  - added the optional property `gate/plugin` to the response with the `201` status
- **2026-10-20** `aeb83a0fe3e5`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/entire/apis/entire-api/docs/api/v1/cache/r/:repoId/gates/post.md) - [API](https://skmtc.dev/entire/apis/entire-api.md) - [Page](https://skmtc.dev/entire/apis/entire-api/changes/api/v1/cache/r/:repoId/gates/post)
