---
title: "Changes to Upload a template."
method: POST
path: "/template"
---

# Changes to Upload a template.

`POST /template`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 4 revisions.

- **2026-11-06** `c06cc573e3b0`: 5 breaking, 8 warning, 18 info
- **2026-06-13** `fb25492a25ce`: 2 warning, 3 info

## Changes

- **2026-11-06** `c06cc573e3b0`: 5 breaking, 8 warning, 18 info
  - the `carbone-version` request header's property undefined was restricted to a list of enum values
  - the `header` request parameter `carbone-version` was restricted to a list of enum values
  - the `expireAt` request property format changed from no format to `int64` (media type: multipart/form-data)
  - the `expireAt` request property format changed from no format to `int64` (media type: application/json)
  - added `subschema #1, subschema #2` to the `data` response property `oneOf` list for the response status `200`
  - the `category` request property's maxLength was set to `200` (media type: multipart/form-data)
  - the `category` request property's maxLength was set to `200` (media type: application/json)
  - the `comment` request property's maxLength was set to `200` (media type: multipart/form-data)
  - the `comment` request property's maxLength was set to `200` (media type: application/json)
  - the `name` request property's maxLength was set to `200` (media type: multipart/form-data)
  - the `name` request property's maxLength was set to `200` (media type: application/json)
  - the `expireAt` request property's min was set to `0.00` (media type: multipart/form-data)
  - the `expireAt` request property's min was set to `0.00` (media type: application/json)
  - added the new optional request property `origin` (media type: multipart/form-data)
  - added the new optional request property `origin` (media type: application/json)
  - added the new enum value `3` to the `header` request parameter `carbone-version`
  - added the new enum value `4` to the `header` request parameter `carbone-version`
  - added the new enum value `5` to the `header` request parameter `carbone-version`
  - added the new enum value `staging` to the `header` request parameter `carbone-version`
  - for the `header` request parameter `carbone-version`, the type was generalized from `integer` to `string`, and format from `int32` to no format
  - the request property `sample/items/complement` became optional (media type: multipart/form-data)
  - the request property `sample/items/complement` became optional (media type: application/json)
  - the request property `sample/items/data` became optional (media type: multipart/form-data)
  - the request property `sample/items/data` became optional (media type: application/json)
  - the request property `sample/items/enum` became optional (media type: multipart/form-data)
  - the request property `sample/items/enum` became optional (media type: application/json)
  - the request property `sample/items/translations` became optional (media type: multipart/form-data)
  - the request property `sample/items/translations` became optional (media type: application/json)
  - added the non-success response with the status `413`
  - added the non-success response with the status `500`
  - removed `subschema #1, subschema #2` from the `data` response property `oneOf` list for the response status `200`
- **2026-06-13** `fb25492a25ce`: 2 warning, 3 info
  - removed the request property `samples` (media type: multipart/form-data)
  - removed the request property `samples` (media type: application/json)
  - added the new optional request property `sample` (media type: multipart/form-data)
  - added the new optional request property `sample` (media type: application/json)
  - added the optional property `data/oneOf[subschema #1]/deployedAt` to the response with the `200` status

---

[Operation](https://skmtc.dev/carbone/apis/carbone-api/docs/template/post.md) - [API](https://skmtc.dev/carbone/apis/carbone-api.md) - [Page](https://skmtc.dev/carbone/apis/carbone-api/changes/template/post)
