You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(crunchbase): honor card paging limits and cursor exclusivity
- Cap a card page at the documented 100-item maximum instead of Search's
1000, which the shared Limit field made easy to carry over
- Always request the card's identifier so a narrowed cardFieldIds cannot
return a full page with a null cursor and stall a paging loop
- Reject the mutually-exclusive afterId/beforeId pair on the card and
deleted-entity endpoints, not just on search
- Report an unexpected card shape as empty rather than wrapping the
envelope as a one-row page
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/integrations/crunchbase.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -293,9 +293,9 @@ Page through one related-entity card of a Crunchbase entity — an investor's in
293
293
|`collection`| string | Yes | Collection the entity belongs to. One of: acquisitions, addresses, categories, category_groups, degrees, event_appearances, events, funding_rounds, funds, investments, ipos, jobs, market_insights, micro_categories, organizations, ownerships, people. |
294
294
|`entityId`| string | Yes | Entity permalink or UUID |
295
295
|`cardId`| string | Yes | Card to page through, e.g. "participated_investments" on a person, "founders" on an organization, or "investors" on a funding round. Valid ids differ per collection. |
296
-
|`cardFieldIds`| json | No | Fields to return on each card item, e.g. \["identifier","announced_on","money_raised"\]|
296
+
|`cardFieldIds`| json | No | Fields to return on each card item, e.g. \["identifier","announced_on","money_raised"\]. The identifier is always requested alongside these, because the next-page cursor is read from it.|
297
297
|`cardOrder`| string | No | Sort expression for the card, e.g. "funding_round_money_raised desc" |
298
-
|`limit`| number | No | Card items to return per page |
298
+
|`limit`| number | No | Card items to return per page, 1-100|
299
299
|`afterId`| string | No | UUID of the last card item on the current page, to fetch the next page |
300
300
|`beforeId`| string | No | UUID of the first card item on the current page, to fetch the previous page |
'Fields to return on each card item, e.g. ["identifier","announced_on","money_raised"]',
94
+
'Fields to return on each card item, e.g. ["identifier","announced_on","money_raised"]. The identifier is always requested alongside these, because the next-page cursor is read from it.',
0 commit comments