Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 2

How to create a file use GraphQL API v4 in specific branch ?

I want use GraphQL APi to create A file in a specific branch.

 

I find CREATE A FILE BY RESTAPI v3 , but i didn't find same api in GraphQL?

 

and, if i set a new branch which not 'maser' ,is this branch inherit from master or a orphan branch ?

 

thx!

1 Reply
Community Manager
Message 2 of 2

Re: How to create a file use GraphQL API v4 in specific branch ?

Hi @bestony,

 

Thanks for being here! There is currently no way to create a repository using v4 API. The good news is that we have a focused team working on building out parity between REST and GraphQL. It’s hard to give ETAs on these mutations for you, but they’re on the list of things to do!

 

I hope this helps!

 

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!