Skip to content

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.

  • 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.

Schema: /specs/schemas/project-config.v1.schema.json.