Skip to main content
POST
/
api
/
spaces
/
{spaceId}
/
git
/
{itemId}
/
commit
cURL
curl --request POST \
  --url https://api.kazzle.app/api/spaces/{spaceId}/git/{itemId}/commit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "files": [
    "<string>"
  ],
  "push": true
}
'
{
  "output": "<string>",
  "status": "<unknown>"
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required
itemId
string
required

Body

application/json
message
string
required
files
string[]
push
boolean

Response

200 - application/json

Successful response

output
string
required
status
any