---
title: "Changes to Create a new file in the specified path"
method: POST
path: "/api/contents/{path}"
---

# Changes to Create a new file in the specified path

`POST /api/contents/{path}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 4 revisions.

- **2025-12-18** `b6f1ce06c896`: 1 breaking, 3 info
- **2025-12-10** `e9ae9d653401`: 3 breaking, 1 warning

## Changes

- **2025-12-18** `b6f1ce06c896`: 1 breaking, 3 info
  - added the new path request parameter `path`
  - added optional request body
  - added the media type `application/json` for the response with the status `201`
  - added the media type `application/json` for the response with the status `400`
- **2025-12-10** `e9ae9d653401`: 3 breaking, 1 warning
  - removed the request body
  - removed the media type `application/json` for the response with the status `201`
  - removed the media type `application/json` for the response with the status `400`
  - deleted the `path` request parameter `path`

---

[Operation](https://skmtc.dev/google/apis/jupyter-server-api/docs/api/contents/:path/post.md) - [API](https://skmtc.dev/google/apis/jupyter-server-api.md) - [Page](https://skmtc.dev/google/apis/jupyter-server-api/changes/api/contents/:path/post)
