Start building

APIs and SaaS

REST pages → collected customer data

Collect explicit cursor pages without following untrusted next URLs. Bounded pages, item counts and duplicate-cursor detection prevent silent partial results.

  • REST API → JSON
  • Advanced
  • 5 min

Last verified 2026-10-31 at f4ce7d0 — simulation fixtures

Try this template in Studio

Studio activation is a one-time payment of USD 20.

Flow

Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.

Main processREST pages → collected customer data4 activities

Scroll sideways to see the whole flow.

Flow diagram of REST pages → collected customer data4 activities and 3 transitions: Start, Collect cursor pages, Map all collected names, Return result.StartstartCollect cursor pageshttp.paginate1Map all collectednamesdata.mapper2Return resultend
List the 4 activities and 3 transitions

Activities

  1. Start start
  2. Collect cursor pages http.paginate
  3. Map all collected names data.mapper
  4. Return result end

Transitions

  • Start → Collect cursor pages (on success)
  • Collect cursor pages → Map all collected names (on success)
  • Map all collected names → Return result (on success)

Walkthrough

  1. Collect all pagesA fixed approved resource is called with a changing cursor parameter. The example provides two fixture responses.
  2. Transform the collected arrayMap the combined response into a normalized list.

What you will practise

  • A fixed approved resource is called with a changing cursor parameter. The example provides two fixture responses.
  • Map the combined response into a normalized list.

Sample cases

1 case with 3 assertions, run with python -m server.integration examples --all in simulation.

Two customer pages

Passed

Two customer pages. This example uses supplied data only.

Expected result Two customer pages; automatic checks verify the expected result.

3/3 assertions

  • Expected process status
  • Verify /names
  • Verify /pages

This sample run only; not a production certification.

Prerequisites

Runtime
Cohuno runtime 1.27.0, the version recorded when these cases last passed.
Starter
Manual start; no listener.
Optional dependencies
None beyond the base runtime.
Simulation fixtures
  • api_demo http · http.paginate
Every sample run replaces these connections with the fixtures defined in its case. A live run needs an operator to configure an authorized connection for each.
Verification details

Provenance

What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.

Verified content

Pack SHA-256
87d904be2ce14f47116b782238b62323d78506113e17ef0704ffd9e30427f0c8
Closure SHA-256
aa3de6307b285c1ced655d53317ae29c7a65e1d164af00062b7ec73bff1f6702
Runtime
1.27.0
Results
1/1 cases, 3/3 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/rest_pagination_lab.json
  • server/integration/templates/rest_pagination_lab.json

Verification event

Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34
Verified at (UTC)
2026-10-31T21:19:21Z

How the Cohuno team reproduces this check

PYTHONPATH=. python -m server.integration examples --example rest_pagination_lab
PYTHONPATH=. python scripts/export_public_gallery.py --check