Record api reference in the controller.
Fix incorrect Accept header.
v0.16.8 Fix incorrect Accept header.