Update or create a single file
One step with Gitea. We can help you get access.
Get something done
Update or create a single file
with Gitea · Software Construction Management
Use Gitea: its Gitea Repository API lets you update or create a single file in a single step (PUT /repos/{owner}/{repo}/contents/{filepath}). capabilities.work can help you get signed up and connected.
- How do I edit an existing file in a repository and commit the change?
- Can I move a file to a new path while updating it?
Say it to your AI assistant
- Update {filepath} in {owner}/{repo} with {content} using blob sha {sha}.
- Overwrite {filepath} in {owner}/{repo} with {content} and message {message}.
For your developer
PUT /repos/{owner}/{repo}/contents/{filepath} in Gitea Repository API. Full spec on APIs.io.