mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
19 lines
330 B
YAML
19 lines
330 B
YAML
|
description: Custom GraphQL query using search_posts function
|
||
|
url: /v1alpha1/graphql
|
||
|
status: 200
|
||
|
response:
|
||
|
data:
|
||
|
search_posts:
|
||
|
- title: post by hasura
|
||
|
content: content for post
|
||
|
query:
|
||
|
query: |
|
||
|
query {
|
||
|
search_posts(
|
||
|
args: {search: "hasura"}
|
||
|
) {
|
||
|
title
|
||
|
content
|
||
|
}
|
||
|
}
|