mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 18:06:07 +01:00
46 lines
No EOL
770 B
GraphQL
46 lines
No EOL
770 B
GraphQL
query Search(
|
|
$after: String
|
|
$first: Int
|
|
$query: String
|
|
$includeContent: Boolean
|
|
$format: String
|
|
) {
|
|
search(
|
|
first: $first,
|
|
after: $after,
|
|
query: $query,
|
|
includeContent: $includeContent,
|
|
format: $format
|
|
) {
|
|
... on SearchSuccess {
|
|
edges {
|
|
node {
|
|
id
|
|
title
|
|
originalArticleUrl
|
|
author
|
|
publishedAt
|
|
readAt
|
|
description
|
|
highlights {
|
|
type
|
|
highlightPositionPercent
|
|
annotation
|
|
quote
|
|
}
|
|
labels {
|
|
name
|
|
}
|
|
}
|
|
}
|
|
pageInfo {
|
|
hasNextPage
|
|
endCursor
|
|
totalCount
|
|
}
|
|
}
|
|
... on SearchError {
|
|
errorCodes
|
|
}
|
|
}
|
|
} |