Project config
V1 media and API limits should come from project config.
The planned file is config/project.config.json. Implementation may load it differently per environment, but the values must stay config-driven rather than hardcoded in endpoint handlers.
Config categories
Section titled “Config categories”- API base URL.
- Allowed image MIME types.
- Allowed video MIME types.
- Multipart byte limits.
- Metadata JSON byte limits.
- Click zone count limit.
- Cloudflare Images variants.
- Cloudflare Stream upload expiration.
- Supabase bucket names.
- Default approval policy.