addedInput schema / properties / sections
Added value: +{
+ "description": "Label sections to return, e.g. [\"boxed_warning\",\"indications_and_usage\"]. Names come from the outline an oversized page returns, or from openfda_describe_fields. Omit for the whole label — which returns the section outline instead when the page exceeds the inline size budget. Metadata (openfda, set_id, id, effective_time, version) is returned either way.",
+ "items": {
+ "description": "A top-level label section name.",
+ "minLength": 1,
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+}
changedInput schema / properties / skip / description
Previous value: -"Number of results to skip for pagination (0-25000). Default 0."New value: +"Number of records to skip for pagination (default 0). openFDA caps pagination at 25000 records; a higher value returns a pagination_limit_reached error."
removedInput schema / properties / skip / maximum
Removed value: -25000
addedOutput schema / properties / kind
Added value: +{
+ "description": "Whether this response carries label records (\"full\") or only the section outline of a page too large to inline (\"outline\").",
+ "enum": [
+ "full",
+ "outline"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / outline
Added value: +{
+ "description": "Section names available across the matched page and their serialized size, largest first. Present when kind is \"outline\" — pass names back in sections to retrieve them.",
+ "items": {
+ "additionalProperties": false,
+ "description": "One retrievable label section and its serialized size.",
+ "properties": {
+ "bytes": {
+ "description": "Serialized byte size of the section",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "description": "Section identifier — pass in `sections` to retrieve it",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "bytes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
changedOutput schema / properties / results / description
Previous value: -"Drug label records. Each carries an openfda block (brand_name, generic_name, manufacturer_name, route) plus optional SPL sections like indications_and_usage, warnings, dosage_and_administration, contraindications, adverse_reactions; section presence varies per label."New value: +"Drug label records, present when kind is \"full\". Each carries an openfda block (brand_name, generic_name, manufacturer_name, route) plus optional SPL sections like indications_and_usage, warnings, dosage_and_administration, contraindications, adverse_reactions; section presence varies per label. Narrowed to the requested sections plus metadata when sections was supplied."
changedOutput schema / required
Previous value: -[
- "meta",
- "results",
- "totalResults",
- "effectiveQuery"
-]New value: +[
+ "meta",
+ "kind",
+ "totalResults",
+ "effectiveQuery"
+]