These are examples of queries to fetch and modify post data.

Fetching posts permalink

A single post, with author and tags:

A list of 5 posts with their comments:

A list of predefined posts:

Filtering posts:

Creating posts permalink

Only logged-in users can create posts.

Updating posts permalink

Only users with the corresponding capabilities can edit posts.

This query uses nested mutations to update the post:

Share on 🐦 Twitter | πŸ‘ŽπŸΎ Facebook