Whitelist api_scheme configuration option, and add specs