L'API WPrest supprime le contenu de la réponse

function devotees_rest_prepare_post($data, $post, $request)
{
    unset( $data->data['content']);
    return $data;
}

add_filter('rest_prepare_post', 'devotees_rest_prepare_post', 1, 3);
KostasX