Create a new file
One step with Gitea. We can help you get access.
Get something done
Create a new file
with Gitea · Software Construction Management
Use Gitea: its Gitea Repository API lets you create a new file in a single step (POST /repos/{owner}/{repo}/contents/{filepath}). capabilities.work can help you get signed up and connected.
- How do I add a new file to a repository through the API?
- Can I create a file on a new branch rather than the default one?
Say it to your AI assistant
- Create file {filepath} in {owner}/{repo} with content {content}.
- Add new file {filepath} to {owner}/{repo} on branch {branch} with {content}.
For your developer
POST /repos/{owner}/{repo}/contents/{filepath} in Gitea Repository API. Full spec on APIs.io.