I am trying to use github api to create repositories under a particular organization. I was looking at this site which talks about how to create repositories under a particular organization.
Create a new repository in this organization. The authenticated user must be a member of the specified organization.
POST /orgs/:org/repos
Now I am not able to understand what will be my full URL that I need to use to create the repository under a particular organization? I have my username and password which I can use to create the repository under an organization through https url.
My github instance url is like this - https://github.host.com
And I want my repository to be like this after getting created -
https://github.host.com/Database/ClientService
What will be my curl command look like to create the repository under an organization?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…