v19

latestOpenAPI 3.1.02026-08-083142953.7 KB
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