files
Update a file in a repository
Updates a specified file in a repository. Use the Commits API to update multiple files with a single request.
put/api/v4/projects/{id}/repository/files/{file_path}
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The project ID
file_pathstring required
The URL-encoded path to the file.
Request body
Response
Update a file in a repository
Changes
No recorded changes to this operation across all 5 revisions of this API.