Upwork Graphql job search api correct query and pagination the one on docs is not working
Documenation link : https://www.upwork.com/developer/documentation/graphql/api/docs/index.html#mapping-jobs
my query
query = """ fragment MarketplaceJobpostingSearchEdgeFragment on MarketplaceJobPostingSearchEdge { node { title description createdDateTime skills { name } duration job { contractTerms { contractType hourlyContractTerms { engagementType } } } client { location { country } totalFeedback totalPostedJobs totalHires verificationStatus totalReviews } } }
fragment PageInfoFragment on PageInfo {
hasNextPage
endCursor
}
query marketplaceJobPostings(
$marketPlaceJobFilter: MarketplaceJobFilter
$searchType: MarketplaceJobPostingSearchType
$sortAttributes: [MarketplaceJobPostingSearchSortAttribute]
$pagination: PaginationInput
) {
marketplaceJobPostings(
marketPlaceJobFilter: $marketPlaceJobFilter
searchType: $searchType
sortAttributes: $sortAttributes
pagination: $pagination
) {
totalCount
edges {
...MarketplaceJobpostingSearchEdgeFragment
}
pageInfo {
...PageInfoFragment
}
}
}
"""