32 lines
1.0 KiB
Markdown
32 lines
1.0 KiB
Markdown
---
|
|
title: Commit comments
|
|
intro: Use the REST API to interact with commit comments.
|
|
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
|
|
fpt: '*'
|
|
ghae: '*'
|
|
ghec: '*'
|
|
ghes: '*'
|
|
topics:
|
|
- API
|
|
allowTitleToDifferFromFilename: true
|
|
autogenerated: rest
|
|
---
|
|
|
|
## About commit comments
|
|
|
|
You can create, edit, and view commit comments using the REST API. A commit comment is a comment made on a specific commit. For more information, see "[AUTOTITLE](/rest/guides/working-with-comments#commit-comments)."
|
|
|
|
### Custom media types for commit comments
|
|
|
|
These are the supported media types for commit comments. You can read more
|
|
about the use of media types in the API [here](/rest/overview/media-types).
|
|
|
|
application/vnd.github-commitcomment.raw+json
|
|
application/vnd.github-commitcomment.text+json
|
|
application/vnd.github-commitcomment.html+json
|
|
application/vnd.github-commitcomment.full+json
|
|
|
|
For more information, see "[AUTOTITLE](/rest/overview/media-types)."
|
|
|
|
<!-- Content after this section is automatically generated -->
|