resize api json and inline now supported