I think you have to add
'rest_controller_class' => 'WP_REST_Posts_Controller',
Instead of
'rest_controller_class' => 'WP_REST_Terms_Controller',
WP_REST_Terms_Controller is for custom taxonimies according to this documentation.
I think you have to add
'rest_controller_class' => 'WP_REST_Posts_Controller',
Instead of
'rest_controller_class' => 'WP_REST_Terms_Controller',
WP_REST_Terms_Controller is for custom taxonimies according to this documentation.