GraphQL API
query {
user(id: 1) {
id
name
email
posts {
postId
title
content
}
}
}Last updated
{
"data": {
"user": {
"id": 1,
"name": "John Doe",
"email": "john.doe@example.com",
"posts": [
{
"postId": 101,
"title": "My first post",
"content": "This is the content of my first post."
},
{
"postId": 102,
"title": "Another day, another post",
"content": "Here's some more content."
}
]
}
}
}