root
Root API service for robots.txt.
| Field | Value |
|---|
| Serverless service | drive-api-root |
| Runtime | nodejs22.x, arm64 |
| Region | ap-southeast-2 |
| Deployed HTTP operations | 1 |
| Local worker harnesses | 0 |
| OpenAPI | /openapi/root.yaml · interactive |
Deployed routes
| Method | Path | Auth | Summary |
|---|
| GET | /robots.txt | Public | Serve 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