changedInput schema / properties / maxEntries / description
Previous value: -"Max entries per kind (1-50). Well-studied drugs have a long tail of interactions. Default: 10."New value: +"Max entries per kind per page (1-50). Well-studied drugs have a long tail of interactions; use offset to reach the ones past this page. Default: 10."
addedInput schema / properties / offset
Added value: +{
+ "default": 0,
+ "description": "Zero-based start position within each requested kind, counted in source records rather than returned entries. The same offset applies to every kind in the call, and the kinds advance at different rates — when paging past the first page, request one kind per call and pass that kind's nextOffset. Default: 0.",
+ "maximum": 2147483646,
+ "minimum": 0,
+ "type": "integer"
+}
addedOutput schema / properties / nextOffset
Added value: +{
+ "description": "Offset to pass on the next call, reported when exactly one requested kind has records remaining. Omitted when none do, and when several do — those advance to different positions, so read paging[].nextOffset instead.",
+ "type": "number"
+}
changedOutput schema / properties / notice / description
Previous value: -"Guidance when no interaction data was found for the requested kinds."New value: +"Guidance when a kind failed, when no interaction data was found, when the offset runs past every requested kind, or when further pages remain. Absent when this page is complete and every kind resolved."
addedOutput schema / properties / offset
Added value: +{
+ "description": "Zero-based start position read within each requested kind.",
+ "type": "number"
+}
addedOutput schema / properties / paging
Added value: +{
+ "description": "Per-kind page position, one entry per requested kind that was retrieved. A kind listed in failedKinds is absent — its position is unknown, not exhausted.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Page position for one interaction kind.",
+ "properties": {
+ "kind": {
+ "description": "Interaction category this page covers.",
+ "enum": [
+ "drug-drug",
+ "drug-food",
+ "target"
+ ],
+ "type": "string"
+ },
+ "nextOffset": {
+ "description": "Offset to pass on the next call to continue this kind past the current page. Omitted when no records remain.",
+ "type": "number"
+ },
+ "returnedCount": {
+ "description": "Interaction entries returned for this kind.",
+ "type": "number"
+ },
+ "totalRecords": {
+ "description": "Source records available for this kind, across all pages. Entries are derived from these records and can be fewer: a \"target\" record naming no molecular target and a \"drug-drug\" record carrying no statement both yield nothing, and duplicate measurements collapse within a page. Pages divide the records, not the entries, so a duplicate split across two pages is reported on both.",
+ "type": "number"
+ },
+ "truncated": {
+ "description": "True when source records remain for this kind past the current page.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "kind",
+ "returnedCount",
+ "totalRecords",
+ "truncated"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
changedOutput schema / required
Previous value: -[
- "cid",
- "entries",
- "requestedKinds",
- "returnedCount"
-]New value: +[
+ "cid",
+ "entries",
+ "paging",
+ "requestedKinds",
+ "returnedCount",
+ "offset"
+]