Versions

Revert -- creates a NEW commit copying a past version's snapshot. History is never rewritten.

post/entries/{entryId}/reverts

Request

  • Base URL: https://whatareyoudo.ing/api/v1
  • URL: https://whatareyoudo.ing/api/v1/entries/{entryId}/reverts
  • Auth: HTTP bearer

Path parameters

entryIdstring uuid required

Request body

targetVersionIdstring uuid required
commitMessagestring nullable
expectedHeadCommitIdstring uuid nullable

Response

Created

Changes

No recorded changes to this operation across all 6 revisions of this API.