Define the API configuration per Stream. For now, this is best done using middleware of one's own design.