spaceSearch
Searches a space and every project in it that the caller can access. Requires membership of the space. Results are ranked by relevance and paged with first and after.
Argumente
afterStringCursor from
pageInfo.endCursorof the previous page. Omit for the first page.firstIntMaximum number of results to return, from 1 to 50. Defaults to 20.
queryString!Text to search for.
spaceIdID!ID of the space to search.
types[SearchDocKind!]Only return results of these kinds. Omit for all kinds.
Rückgabe
SearchResultConnection!Beispiel
query SpaceSearch($after: String, $first: Int, $query: String!, $spaceId: ID!, $types: [SearchDocKind!]) {
spaceSearch(
after: $after
first: $first
query: $query
spaceId: $spaceId
types: $types
) {
totalCount
}
}