You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a new workflow API endpoint for committing drafts at /workflows/draftCommit/{id} via a POST. The draft commit work flow is responsible for creating a new resource snapshot from the draft and deleting the draft in a single operation.
The commit workflow should reject a draft if the snapshotId does not match the latestSnapshotId of the resource. When a draft is rejected, the response will show all versions (your current draft, what it looks like now, and what you started from).
Definition of done
the schemas, controllers, services, and errors are implemented for a drafts commit workflow
new tests for committing a draft are implemented
all unit tests are passing
The text was updated successfully, but these errors were encountered:
Implement a new workflow API endpoint for committing drafts at
/workflows/draftCommit/{id}
via aPOST
. The draft commit work flow is responsible for creating a new resource snapshot from the draft and deleting the draft in a single operation.The commit workflow should reject a draft if the snapshotId does not match the latestSnapshotId of the resource. When a draft is rejected, the response will show all versions (your current draft, what it looks like now, and what you started from).
Definition of done
The text was updated successfully, but these errors were encountered: