Add changelog data to file
POST
/api/v4/projects/{id}/repository/changelog
Adds changelog data to file.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Body
Section titled “Request Body”Media typeapplication/json
object
from
The first commit in the range of commits to use for the changelog
string
Example
ed899a2f4b50b4370feeea94676502b42383c746to
The last commit in the range of commits to use for the changelog
string
Example
6104942438c14ec7bd21c6cd5bd995272b3faff6date
The date and time of the release
string format: date-time
Example
2021-09-20T11:50:22.001+00:00trailer
The Git trailer to use for determining if commits are to be included in the changelog
string
Example
Changelogconfig_file
The file path to the configuration file as stored in the project’s Git repository. Defaults to ‘.gitlab/changelog_config.yml’
string
Example
.gitlab/changelog_config.ymlconfig_file_ref
The git reference (for example, branch) where the changelog configuration file is defined. Defaults to the default repository branch.
string
Example
mainbranch
The branch to commit the changelog changes to
string
Example
mainfile
The file to commit the changelog changes to
string
Example
CHANGELOG.mdmessage
The commit message to use when committing the changelog
string
Example
Initial commitResponses
Section titled “Responses”OK
Bad Request
Not Found