latestOpenAPI 3.1.02026-08-213162962.3 KB

4ea565dddd8a

spaces

Squash ref

Squash all commits in the current ref into a single commit with the given message. Action is irreversible.

post/api/spaces/{namespace}/{repo}/super-squash/{rev}

Path parameters

namespacestring required
repostring required
revstring required

Request body

messagestring

Response

Response containing the new commit ID after the squash

commitIdstring required

The new commit ID after the squash