---
title: "Changes to Check the syntax of an OPL file"
method: POST
path: "/opl/syntax/check"
---

# Changes to Check the syntax of an OPL file

`POST /opl/syntax/check`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 50 revisions.

- **2022-11-25** `5f207fe3fcc0` — 6 warning, 5 info
- **2022-10-11** `1eff08550ab3` — 1 info
- **2022-10-11** `5fd438f545b7` — 1 info
- **2021-10-07** `e90046dbd055` — 1 breaking

## Changes

- **2022-11-25** `5f207fe3fcc0` — 6 warning, 5 info
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `message` from the response with the `400` status
  - removed the optional property `reason` from the response with the `400` status
  - removed the optional property `request` from the response with the `400` status
  - removed the optional property `status` from the response with the `400` status
  - api tag `relationship` added
  - api tag `syntax` removed
  - request body became optional
  - removed the non-success response with the status `500`
  - added the required property `error` to the response with the `400` status
- **2022-10-11** `1eff08550ab3` — 1 info
  - api operation id `postCheckOplSyntax` removed and replaced with `checkOplSyntax`
- **2022-10-11** `5fd438f545b7` — 1 info
  - endpoint added
- **2021-10-07** `e90046dbd055` — 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/ory/apis/ory-keto-api/docs/opl/syntax/check/post.md) · [API](https://skmtc.dev/ory/apis/ory-keto-api.md) · [Page](https://skmtc.dev/ory/apis/ory-keto-api/changes/opl/syntax/check/post)
