Core has support to hook into an event (see https://www.drupal.org/node/3079797) to change resource visibility and field names. This API should be used by extra's. I've been waiting for #3105318: Add a public API for aliasing resource type names to land in order to change this, but is has been too long imo, since slowly people are starting to use this API for other things, see for example #3112799: Ability to hide display_name from user-resource JSON .
Issue fork jsonapi_extras-3218643
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bbralaComment #4
e0ipsoThis looks great!
Comment #5
bbralaComment #7
bbralaWill be released in 3.19