Versions

Update named version metadata

Update an existing named version's metadata with PATCH /notes/{noteId}/versions and a base body field formatted as version:{id}. The item path /notes/{noteId}/versions/{versionId} does not support PATCH.

patch/notes/{noteId}/versions

Request

  • Base URL: https://api.hackmd.io/v1
  • URL: https://api.hackmd.io/v1/notes/{noteId}/versions
  • Auth: HTTP bearer

Path parameters

noteIdstring required

Request body

OR

Response

Ok

idstring required
namestring required
name_source'user' | 'system' required
descriptionstring nullable
created_atstring required
content_availableboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.