Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now
Docs feedback: Discussion API [commits]
On the [Discussions API: Commits](https://docs.gitlab.com/ee/api/discussions.html#commits) documentation the API URL is `/commits/:commit_id`. I am not sure if this legacy API code, but I was unable to find working values for `:commit_id`. Instead, I have been writing the API using `/repository/commits/:sha` as the path and that appears to be correctly posting the discussions. This section could use some updating or some clarification. <!-- Don't edit below this line -->
issue