syndication
Search-engine and media-partner syndication endpoints.
| Field | Value |
|---|
| Serverless service | drive-api-syndication |
| Runtime | nodejs22.x, arm64 |
| Region | ap-southeast-2 |
| Deployed HTTP operations | 4 |
| Local worker harnesses | 0 |
| OpenAPI | /openapi/syndication.yaml · interactive |
Deployed routes
| Method | Path | Auth | Summary |
|---|
| POST | /syn/google/index | API key | Queue URLs for Google Indexing API submission |
| POST | /syn/facebook/index | API key | Submit/rescrape a URL via Facebook Graph API |
| GET | /syn/ffx/ | API key | Push drive articles to the Fairfax (FFX) S3 bucket |
| GET | /syn/nine/ | Public | Fetch + short.io-shorten the Nine feed |
Behaviour notes
googleIndexQueue validates and filters URLs, then queues Google indexing work to SQS; googleIndexProcess performs the actual API call.
facebookIndex checks current Facebook scrape status and indexes or rescrapes depending on upstream state.
syndicatePostsFfx is both HTTP and scheduled-event driven outside prod; in prod its HTTP event is excluded and schedule remains.
syndicatePostsNine is public and enriches article make/model URLs with short.io links.
Source map
- services/syndication/serverless.yml
- services/syndication/functions/googleIndexQueue.ts
- services/syndication/functions/googleIndexProcess.ts
- services/syndication/functions/facebookIndex.ts
- services/syndication/functions/syndicatePostsFfx.ts
- services/syndication/functions/syndicatePostsNine.ts