---
title: "Changes to Upload a file."
method: POST
path: "/api/v2/cddrive/files/content"
---

# Changes to Upload a file.

`POST /api/v2/cddrive/files/content`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2025-05-16** `0cf3125218c1`: 2 breaking, 1 warning, 1 info

## Changes

- **2025-05-16** `0cf3125218c1`: 2 breaking, 1 warning, 1 info
  - the `createdDate` response's property format changed from `dateTimed` to `date-time` for status `201`
  - the `lastModifiedDate` response's property format changed from `dateTime` to `date-time` for status `201`
  - changed the pattern of the request property `name` from `^[a-zA-Z0-9][a-zA-Z0-9 \._]*[a-zA-Z0-9]$` to `^[a-zA-Z0-9][a-zA-Z0-9 \._-]*[a-zA-Z0-9]$`
  - the `name` response's property pattern was changed from `^[a-zA-Z0-9][a-zA-Z0-9 \._]*[a-zA-Z0-9]$` to `^[a-zA-Z0-9][a-zA-Z0-9 \._-]*[a-zA-Z0-9]$` for the status `201`

---

[Operation](https://skmtc.dev/prss/apis/contentdepot/docs/api/v2/cddrive/files/content/post.md) - [API](https://skmtc.dev/prss/apis/contentdepot.md) - [Page](https://skmtc.dev/prss/apis/contentdepot/changes/api/v2/cddrive/files/content/post)
