Update
- PUT
- /workspaces
- /:workspace
- /projects
- /:project_name
- /repository
- /contents
- /:path
Updates an existing file in the repository
Request example
curl -X PUT "https://api.buddy.works/workspaces/:workspace/projects/:project_name/repository/contents/:path" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"content": "IyBBUEkgRG9jdW1lbnRhdGlvbgoKVGhpcyBkb2N1bWVudCBkZXNjcmliZXMgdGhlIEFQSSBlbmRwb2ludHMu",
"message": "Update API documentation",
"branch": "master"
}'