---
title: "Changes to POST /api/styles/{id}/style-documents"
method: POST
path: "/api/styles/{id}/style-documents"
---

# Changes to POST /api/styles/{id}/style-documents

`POST /api/styles/{id}/style-documents`

> Every recorded change to this endpoint, newest first.
> 49 revisions in range; 1 not diffed.

## Timeline

Changed in 2 of 49 revisions.

- **2026-09-24** `63e640ecf381` — 1 info
- **2026-08-31** `97e51f27dc77` — 7 breaking, 1 warning, 6 info

## Changes

- **2026-09-24** `63e640ecf381` — 1 info
  - added the required property `data/documentType/description` to the response with the `200` status
- **2026-08-31** `97e51f27dc77` — 7 breaking, 1 warning, 6 info
  - request property `documentClass` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the `documentClass` request property's minLength was increased from `0` to `1`
  - the response property `data/createdAt` became nullable for the status `200`
  - the response property `data/documentClass` became nullable for the status `200`
  - the response property `data/documentType/impactAreaId` became nullable for the status `200`
  - the response property `data/fileUrl` became nullable for the status `200`
  - the response property `data/updatedAt` became nullable for the status `200`
  - the `documentClass` request property's maxLength was set to `255`
  - the request property `documentClass` became nullable
  - response property `data/createdAt` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/documentClass` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/documentType/impactAreaId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/fileUrl` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/updatedAt` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`

---

[Operation](https://skmtc.dev/retraced/apis/api-reference/docs/api/styles/:id/style-documents/post.md) · [API](https://skmtc.dev/retraced/apis/api-reference.md) · [Page](https://skmtc.dev/retraced/apis/api-reference/changes/api/styles/:id/style-documents/post)
