Entry versioning

Commit on a branch

expectedHeadCommitId is an optimistic-concurrency check: send the head the edit was based on and a commit that landed meanwhile is rejected rather than silently overwritten.

post/entries/{entryId}/branches/{branchId}/commits

Request

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

Path parameters

entryIdstring uuid required
branchIdstring uuid required

Request body

commitMessagestring nullable
expectedHeadCommitIdstring uuid nullable

Response

Committed

Changes

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