Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow GraphQL in CP for non-admins #5813
The further 'could you design a query for me?' you will have to choose how to handle...
The only task needed to set this up is to create a Schema with the appropriate access, and pass around the permission Token for it. Insomnia has a slot for this, so no need to instruct them how to make headers.
In fact you can do better than that. Insomnia has an Export feature that allows you to save complete Workspaces -- any number of queries, with all the urls, paths, tokens, and GraphQL itself already set up in them. You can just export and pass out the prepared setup.
Bingo, I think, and one more picture of what would really get asked for from Craft if they got into this area.
Other tools exist, of course. I think online ones like https://www.graphqlbin.com/ are out for data security, and I've used Insomnia a while over others, so on that at least can recommend it. I note there are now enterprisey features growing on it, but the free version is fully capable.
[we won't talk about the little expedition I took yesterday, thinking of what Andris would call 'over-engineered' plugins...which did give me these better thoughts in the morning]