changedInput schema / properties / limit / description
Previous value: -"Maximum number of subject headings to return. Default 10, max 50."New value: +"Maximum number of subject headings to return. Default 10. A call returns at most 50 headings; a larger limit (up to 1000) returns up to 50."
changedInput schema / properties / limit / maximum
Previous value: -50New value: +1000
changedOutput schema / properties / cap / description
Previous value: -"The limit applied to this response — maximum headings the API will return."New value: +"The heading limit applied to this response."
addedOutput schema / properties / effectiveLimit
Added value: +{
+ "description": "The heading count actually applied when limit exceeded the per-call cap of 50. Absent when limit was within the cap.",
+ "type": "number"
+}
changedOutput schema / properties / effectiveQuery / description
Previous value: -"The keyword query as submitted to the id.loc.gov suggest endpoint, after trimming."New value: +"The query as submitted to the id.loc.gov subject suggest endpoint, after trimming."
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `request_timed_out`: The Library of Congress subject heading service did not respond within the 50-second request budget. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `request_timed_out`: The Library of Congress subject heading service did not respond within the 50-second request budget. `upstream_unavailable`: The Library of Congress subject heading service could not be reached, or answered with an error status, an HTML page, or an unreadable response instead of its JSON. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "request_timed_out"
-]New value: +[
+ "request_timed_out",
+ "upstream_unavailable"
+]
changedOutput schema / properties / notice / description
Previous value: -"Recovery hint when results are empty, or when the upstream candidate cap under-filled the request. Distinguishes \"exhausted by ranking\" (retry with a more specific query) from \"no LCSH coverage\", and suggests inverted-form strategies. Absent when the full requested set was returned."New value: +"Recovery hint when no heading matched; how many headings matched when more exist than this response holds; disclosure of a capped limit. Absent when every matching heading was returned."
changedOutput schema / properties / subjects / description
Previous value: -"LCSH subject headings matching the query, ordered by relevance. To see how many LOC items carry a heading, pass its label as the libofcongress_search_items subject filter and read total."New value: +"LCSH subject headings matching the query, ordered by relevance, an exact match first. To see how many LOC items carry a heading, pass its label as the libofcongress_search_items subject filter and read total."
changedOutput schema / properties / truncated / description
Previous value: -"True when results were capped at the requested limit. Increase limit or refine the query to surface additional headings."New value: +"True when more headings match than this response holds. Refine the query to see others, or raise limit when it is below 50."