1
0
mirror of synced 2026-01-07 18:01:41 -05:00
Files
docs/content/rest/commits/comments.md
2022-12-14 22:25:35 +00:00

30 lines
959 B
Markdown

---
title: Commit comments
intro: Use the REST API to interact with commit comments.
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- API
miniTocMaxHeadingLevel: 3
allowTitleToDifferFromFilename: true
---
## About commit comments
You can create, edit, and view commit comments using the REST API. A commit comment is a comment made on a specfic commit. For more information, see "[Working with comments](/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 "[Custom media types](/rest/overview/media-types)."