All API documentation should be rewritten to use GraphQL variables where possible

Here’s another graphql string concatenation error

Please fix the documentation so that people have the very best start and don’t make silly mistakes.