full diff

community.lexicon.media.book.searchEditions

From
bafyreifegoyw6q5qcjrxnggebinsclx42i7a6kgu75uwucyjm56tfipzaq indexed 2026-11-17 18:30 UTC View this version
To
bafyreigttdny6253gmwmzf3pwo4tussp2vwem4fkwsjwfbd47rfsijyjym indexed 2026-11-16 18:28 UTC View this version

Compatibility

breaking 6 breaking changes, 0 non-breaking changes.

Breaking changes (6)
  • RemovedVertex RemovedVertex { vertex_id: "community.lexicon.media.book.searchEditions:input.language" }
  • RemovedVertex RemovedVertex { vertex_id: "community.lexicon.media.book.searchEditions:input.order" }
  • RemovedVertex RemovedVertex { vertex_id: "community.lexicon.media.book.searchEditions:input.sort" }
  • RemovedEdge RemovedEdge { src: "community.lexicon.media.book.searchEditions:input", tgt: "community.lexicon.media.book.searchEditions:input.language", kind: "prop", name: Some("language") }
  • RemovedEdge RemovedEdge { src: "community.lexicon.media.book.searchEditions:input", tgt: "community.lexicon.media.book.searchEditions:input.order", kind: "prop", name: Some("order") }
  • RemovedEdge RemovedEdge { src: "community.lexicon.media.book.searchEditions:input", tgt: "community.lexicon.media.book.searchEditions:input.sort", kind: "prop", name: Some("sort") }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "community.lexicon.media.book.searchEditions:input.language" }
  • RemovedVertex { vertex_id: "community.lexicon.media.book.searchEditions:input.order" }
  • RemovedVertex { vertex_id: "community.lexicon.media.book.searchEditions:input.sort" }

Notes

  • Breaking: RemovedEdge { src: "community.lexicon.media.book.searchEditions:input", tgt: "community.lexicon.media.book.searchEditions:input.language", kind: "prop", name: Some("language") }
  • Breaking: RemovedEdge { src: "community.lexicon.media.book.searchEditions:input", tgt: "community.lexicon.media.book.searchEditions:input.order", kind: "prop", name: Some("order") }
  • Breaking: RemovedEdge { src: "community.lexicon.media.book.searchEditions:input", tgt: "community.lexicon.media.book.searchEditions:input.sort", kind: "prop", name: Some("sort") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Search a provider's catalog using text and structured hints. Fuzzy matching, field interpretation, and ranking are provider-specific. This operation does not write user records.",
66 "errors": [
77 {
88 "description": "No nonblank q, title, author, or nonempty identifiers array was supplied.",
99 "name": "InvalidQuery"
1010 }
1111 ],
1212 "input": {
1313 "encoding": "application/json",
1414 "schema": {
1515 "description": "Supply at least one nonblank q, title, author, or a nonempty identifiers array. Providers enforce this cross-field requirement.",
1616 "properties": {
1717 "author": {
1818 "description": "Author relevance hint, interpreted by the provider.",
1919 "minLength": 1,
2020 "type": "string"
2121 },
2222 "identifiers": {
2323 "description": "Structured identifier relevance hints; search matching and ranking are provider-defined.",
2424 "items": {
2525 "ref": "community.lexicon.media.book.defs#identifier",
2626 "type": "ref"
2727 },
2828 "minLength": 1,
2929 "type": "array"
3030 },
31 "language": {
32 "description": "Local extension (not in the upstream books-wg PR): return only editions whose language claim matches this value. Matching is case-insensitive on the primary subtag, so `en` also matches `en-US`. Omit it for no language filter.",
33 "maxLength": 35,
34 "minLength": 2,
35 "type": "string"
36 },
3731 "limit": {
3832 "default": 25,
3933 "description": "Maximum number of editions to return in this page.",
4034 "maximum": 100,
4135 "minimum": 1,
4236 "type": "integer"
4337 },
4438 "offset": {
4539 "default": 0,
4640 "description": "Number of matching editions to skip in the provider's ordered result set.",
4741 "minimum": 0,
4842 "type": "integer"
4943 },
50 "order": {
51 "default": "asc",
52 "description": "Local extension (not in the upstream books-wg PR): direction for a `title` or `publishedYear` sort. Ignored when `sort` is `relevance`, whose ranking is provider-defined.",
53 "knownValues": [
54 "asc",
55 "desc"
56 ],
57 "type": "string"
58 },
5944 "q": {
6045 "description": "Broad search text, which may describe a title, contributor, description, or identifier. Matching and ranking are provider-defined.",
6146 "minLength": 1,
62 "type": "string"
63 },
64 "sort": {
65 "default": "relevance",
66 "description": "Local extension (not in the upstream books-wg PR): ordering of the result page. `title` is alphabetical by edition title; `publishedYear` orders by the edition's published date, and an edition with no usable year sorts last. `relevance` keeps the provider-defined ranking.",
67 "knownValues": [
68 "relevance",
69 "title",
70 "publishedYear"
71 ],
7247 "type": "string"
7348 },
7449 "title": {
7550 "description": "Title relevance hint, interpreted by the provider.",
7651 "minLength": 1,
7752 "type": "string"
7853 }
7954 },
8055 "required": [],
8156 "type": "object"
8257 }
8358 },
8459 "output": {
8560 "encoding": "application/json",
8661 "schema": {
8762 "ref": "community.lexicon.media.book.defs#editionResults",
8863 "type": "ref"
8964 }
9065 },
9166 "type": "procedure"
9267 }
9368 },
9469 "description": "Search a provider's catalog using text and structured hints. Fuzzy matching, field interpretation, and ranking are provider-specific. This operation does not write user records.",
9570 "id": "community.lexicon.media.book.searchEditions",
9671 "lexicon": 1
9772}