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

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!

3 Replies
Community Manager
Message 2 of 4

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!

 

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

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

Ground Controller Lvl 1
Message 3 of 4

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

Any news regarding this issue?
Moderator
Message 4 of 4

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

There isn't any new information on this at this time. We do try to come back to forum discussions involving feature requests if/when those features or updates have been implemented to let the community know. You can also watch the changelog for the most up to date info on what we're working on: https://github.blog/changelog/

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