---
title: "Changes to Modifies the Draft for this resource"
method: PUT
path: "/api/v1/plugins/{id}/files/{fileId}/draft"
---

# Changes to Modifies the Draft for this resource

`PUT /api/v1/plugins/{id}/files/{fileId}/draft`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 2 revisions.

- **2026-07-17** `a73101579c5c` — 4 warning, 2 info
- **2024-07-24** `9a36b9043379` — 2 breaking, 2 warning, 2 info

## Changes

- **2026-07-17** `a73101579c5c` — 4 warning, 2 info
  - removed the request property `contents`
  - removed the request property `description`
  - removed the request property `filename`
  - removed the request property `tasks`
  - added the new optional request property `resourceData`
  - added the new optional request property `resourceSnapshot`
- **2024-07-24** `9a36b9043379` — 2 breaking, 2 warning, 2 info
  - added the new required request property `contents`
  - added the new required request property `filename`
  - removed the request property `resourceData`
  - removed the request property `resourceSnapshot`
  - added the new optional request property `description`
  - added the new optional request property `tasks`

---

[Operation](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/docs/api/v1/plugins/:id/files/:fileId/draft/put.md) · [API](https://skmtc.dev/usnistgov/apis/dioptra-rest-api.md) · [Page](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/changes/api/v1/plugins/:id/files/:fileId/draft/put)
