I'm creating some custom endpoints with register_rest_route for a custom post type.
I would like to add all the metabox fields to each post in that endpoint.
is it possible? What would be the best approach? and, would it be possible if I am working with metabox custom table?
I searched a bit around but did not find a mention to this.