Skip to main content
PATCH
/
repos
/
{repo_id}
/
commits
/
{commit_id}
Update commit message
curl --request PATCH \
  --url https://api.diversion.dev/v0/repos/{repo_id}/commits/{commit_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "commit_message": "<string>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128
Example:

"example_id"

commit_id
string
required

A commit ID

Required string length: 3 - 128
Example:

"dv.commit.350e1bc3-52dc-4659-9817-7ce8f3fdf628"

Body

application/json
commit_message
string
required
Maximum string length: 16384

Response

Request completed successfully

The response is of type object.