How to search text in files using github graphql api? - github

Is it possible to search text in files using graphql github API?
Because I see only issue, repository, user, or discussion there, and none of them is searching in files.
When I search using the website I get the results:

Related

Is there a way to search for comments in a pull request reviewed by a given user on Github?

Is there a way to search for comments in a pull request reviewed by a given user on Github? On Github, I remember some insightful comments made by a previous developer on some issue with mutations, but I can't find it. Is there a way to search for comments made by a given user?

Do all GitHub repositories follow the same URL structure?

Do all GitHub repositories have a URL path of the form https://github.com/<OWNER>/<REPO>?
To answer your question, yes. But only if you are talking about navigating on github's website. Using github's api is a slightly different story and url.
When you need to pull down a particular file using github api, you have to use the github RAW urls. Heres another post that gives more context StackOverflow post

Github Dashboard-Feed via API or RSS?

When loading the github.com page, I see a dashboard feed showing a list of "pushed" / "starred" updates for all of my followed repos.
When checking the Network tab on Chrome, I can see that this feed comes from this endpoint:
https://github.com/dashboard-feed
How do I get this data via the github api? Is it also available via RSS?
Thanks
I don't think it will be available via RSS because to access this type of endpoint it requires authentication.
So what I think is, you can create your own activity feed with the help of individual RSS feeds (Atom feeds in case of GitHub) of the people's activity you want to get notified.
For example see codeSTACKr's RSS feed: https://github.com/codeSTACKr.atom
You can also use this API https://api.github.com/users/USERNAME/following to get all the following people (so you don't have to add individual user names without authentication).
For example see codeSTACKr's following list: https://api.github.com/users/codeSTACKr/following
Inspired by Rahul's reply which is very close, I did some googling and found this article on how to build a python crawler for Github's API which mentioned this recent events endpoint...
https://api.github.com/users/headwinds/received_events
...which lists the star events in order and you could use that rebuild a dashboard replacing the username.

Extract content from a GitHub .md file and put into a gist via GitHub API?

I want to be able to extract specific parts of a GitHub .md file and create a gist via the GitHub API. Possible?

Facebook API - Advanced Search

I'm trying to replicate some functionality of the Facebook web interface via the API and am a bit stuck. Basically, via the web site I can enter 'Favorite pages of people named "jim"' in the search box and get a slew of results, but I haven't found a way to replicate this type of query via the API. Is such a thing possible?
As WizKid commented, Graph Search is not available with the API, you can only use the Search API for searching: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.1#search
Keep in mind that public search and news feed search are not available in v2.0 anymore, see changelog: https://developers.facebook.com/docs/apps/changelog