www.byjp.me/tools/import/omnivore/query.gql
2024-01-20 11:28:36 +00:00

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
}
}
}