promotions_list_paged
Retrieve paginated promotions from the Atlassian Marketplace to avoid timeouts, supporting cursor-based pagination for Cloud and offset-based for Server/DC.
Instructions
List promotions (paginated). STRONGLY prefer this over promotions_list (the non-paged variant can time out). Returns {_links, promotions:[…], offset, limit, totalItems, orderBy, nextId, prevId}. Cloud uses cursor pagination via nextId/prevId (and totalItems is null); Server/DC uses offset/limit. Each promotion carries ~21 fields — a full page can exceed the response size cap and spill to a temp file, so page with a modest limit.
📖 Spec (GET /catalog/partners/{partnerId}/promotions/paged): https://developer.atlassian.com/platform/marketplace/rest/v1/api-group-promotions/#api-marketplace-catalog-partners-partnerid-promotions-paged-get
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size for Server/DC (max 1500) | |
| appKey | No | Filter to promotions eligible for this app key. GOTCHA: an unknown/mistyped app key is SILENTLY IGNORED by the API — it returns ALL promotions, not zero. Only a real, exact app key actually narrows the result. | |
| nextId | No | Cloud-only forward page cursor | |
| offset | No | Skip N items for Server/DC pagination | |
| prevId | No | Cloud-only backward page cursor | |
| orderBy | No | ||
| ascending | No | ||
| activeOnly | No | ||
| hostingType | No |