---
title: "Changes to Get a document (with input)"
method: POST
path: "/v1/data/{path}"
---

# Changes to Get a document (with input)

`POST /v1/data/{path}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 6 revisions.

- **2024-02-01** `a2ee239ba4b8` — 1 breaking, 1 info
- **2021-04-27** `776ac11d1990` — 1 breaking, 1 info

## Changes

- **2024-02-01** `a2ee239ba4b8` — 1 breaking, 1 info
  - removed the media type `application/x-yaml` from the request body
  - added the media type `application/yaml` to the request body
- **2021-04-27** `776ac11d1990` — 1 breaking, 1 info
  - removed the media type `application/yaml` from the request body
  - added the media type `application/x-yaml` to the request body

---

[Operation](https://skmtc.dev/open-policy-agent/apis/open-policy-agent-opa-rest-api/docs/v1/data/:path/post.md) · [API](https://skmtc.dev/open-policy-agent/apis/open-policy-agent-opa-rest-api.md) · [Page](https://skmtc.dev/open-policy-agent/apis/open-policy-agent-opa-rest-api/changes/v1/data/:path/post)
