Create repository file
documentedCreate a new file in the repository.
POST /projects/:id/repository/files/:file_pathProjectsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://gitlab.com/api/v4/projects/{{$project_id}}/repository/files/{{$file_path}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"branch": "{{$branch}}", "commit_message": "{{$commit_message}}", "content": "{{$content}}", "author_email": "{{$author_email}}", "author_name": "{{$author_name}}", "encoding": "{{$encoding}}", "start_branch": "{{$start_branch}}"}'