I want to create a folder using GitHub API #24518
-
I’ve recently created a GitHub organization and have been working on building the first environment and so on. I was able to create a new repository in a GitHub organization using GitHub API, but I’m having trouble creating a folder under the repository using API. I’d like to know if anyone can tell me more about this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Octokit is very useful! |
Beta Was this translation helpful? Give feedback.
-
Thank you for joining the community @ryoshindo, I see you’ve found our API documentation. Here is some additional reading that you might find useful:
|
Beta Was this translation helpful? Give feedback.
-
I was able to create a folder from following URL. ContentsGet started with one of our guides, or jump straight into the API documentation. |
Beta Was this translation helpful? Give feedback.
Thank you for joining the community @ryoshindo, I see you’ve found our API documentation. Here is some additional reading that you might find useful:
octokit.rest
https://octokit.rest/PUT/repos/{owner}/{repo}/contents/{path}