From 6e7f2ce7401d06372264a56307eba964123eaa7e Mon Sep 17 00:00:00 2001 From: patk Date: Sat, 12 Sep 2026 14:23:14 -0500 Subject: [PATCH] added gitea-create-repo-api-curl-post.md --- gitea-create-repo-api-curl-post.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 gitea-create-repo-api-curl-post.md diff --git a/gitea-create-repo-api-curl-post.md b/gitea-create-repo-api-curl-post.md new file mode 100644 index 0000000..6d05e42 --- /dev/null +++ b/gitea-create-repo-api-curl-post.md @@ -0,0 +1,8 @@ +# Gitea Create Repo - API Curl POST + +``` +curl -X POST -H "Authorization: token YOUR_API_TOKEN" \ +-H "Content-Type: application/json" \ +-d '{"name": "new-repo", "private": true}' \ +https://gitea.example.com/api/v1/user/repos +```