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

What is the equivalent graphQL v4 api query for v3 /search/code?

looking at the v4 documentation, I see ISSUE, USER, and REPOSITORY as SearchType options, but not CODE. v3 supported code searches via the /search/code endpoint.  Is there equivalent functionality in v4 and if so, what does that graph query look like?

 

1 Reply
Community Manager
Message 2 of 2

Re: What is the equivalent graphQL v4 api query for v3 /search/code?

No, there currently isn't support for code searches using the GraphQL v4 API. But the API is changing all the time, so you may want to keep an eye on the GraphQL v4 API changelog for updates.

 

I hope that helps!