v2.4.2

cfs

REST proxy over drive-carsforsale GraphQL for listings and aggregate counts.

FieldValue
Serverless servicedrive-api-extcfs
Runtimenodejs22.x, arm64
Regionap-southeast-2
Deployed HTTP operations3
Local worker harnesses0
OpenAPI/openapi/cfs.yaml · interactive

Deployed routes

MethodPathAuthSummary
GET/ext/carsforsaleAPI keyList dealer stock listings
GET/ext/carsforsale/countsAPI keyAggregate listing counts by group
GET/ext/carsforsale/tribeAPI keyList listings scoped to an editorial tribe

Behaviour notes

  • All three routes require an API key and call the drive-carsforsale GraphQL API.
  • /ext/carsforsale requires page, size, and type; size is capped at 1000 and listings require at least five images.
  • /ext/carsforsale/counts requires group and type; group is mapped to the GraphQL field and reverse-mapped in the response.
  • /ext/carsforsale/tribe requires page, size, and tribe; type defaults to new, used, and demo.

Source map

  • services/cfs/serverless.yml
  • services/cfs/functions/carsForSaleRest.ts
  • services/cfs/functions/carsForSaleCountsRest.ts
  • services/cfs/functions/carsForSaleByTribe.ts
  • services/cfs/config/tribesConfig.ts
Esc