v2.4.2

root

Root API service for robots.txt.

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

Deployed routes

MethodPathAuthSummary
GET/robots.txtPublicServe robots.txt for the API domain

Behaviour notes

  • GET /robots.txt is public and always returns a fixed text/plain body.
  • The policy allows most paths and only disallows selected API paths such as /purge/, /leads/, /marketplace/, and /ads/.
  • AdsBot-Google is explicitly allowed for /ads/.
  • Response includes an ETag based on the body.

Source map

  • services/root/serverless.yml
  • services/root/functions/robotsTxt.ts
Esc