buzz.bookhive.searchBooks
Schema Diff
+1 -1
1
1
{
2
2
"id": "buzz.bookhive.searchBooks",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"books"
11
11
],
12
12
"properties": {
13
13
"books": {
14
14
"type": "array",
15
15
"items": {
16
16
"ref": "buzz.bookhive.hiveBook#record",
17
17
"type": "ref"
18
18
}
19
19
},
20
20
"offset": {
21
21
"type": "integer",
22
22
"description": "The next offset to use for pagination (result of limit + offset)"
23
23
}
24
24
}
25
25
},
26
26
"encoding": "application/json"
27
27
},
28
28
"parameters": {
29
29
"type": "params",
30
30
"required": [
31
31
"q"
32
32
],
33
33
"properties": {
34
34
"q": {
35
35
"type": "string",
36
36
"description": "Search query string. Will be matched against title and authors fields."
37
37
},
38
38
"id": {
39
39
"type": "string",
40
40
"description": "The ID of the book within the hive."
41
41
},
42
42
"limit": {
43
43
"type": "integer",
44
44
"default": 25,
45
45
"maximum": 100,
46
46
"minimum": 1
47
47
},
48
48
"offset": {
49
49
"type": "integer",
50
50
"description": "Offset for pagination into the result set"
51
51
}
52
52
}
53
53
},
54
-
"description": "Find books matching the search criteria. Requires authentication."
54
+
"description": "Find books matching the search criteria. Does not require authentication."
55
55
}
56
56
},
57
57
"$type": "com.atproto.lexicon.schema",
58
58
"lexicon": 1
59
59
}