Problem/Motivation
#3037039: Create a public API for indicating resource types should not be exposed added an API that allows disabling JSON:API resources. Some of core's entity types should probably not be exposed as JSON:API resources.
Proposed resolution
Determine which core entity types should have their resources disabled, and add child issues to implement the API on their behalf.
Note that #3040354: Introduce entity type annotation key for indicating that an entity type is *safe* for HTTP API usage exists as a proposal to add similar functionality to the Entity API itself, but even if that issue goes forward, implementations of the API provided by #3037039: Create a public API for indicating resource types should not be exposed could probably be converted to the annotation key in a non-disruptive way.
Remaining tasks
Review core entity types, determine which should have child issues, and file them.
Un-exposing the resources themselves is a disruptive change for any applications already consuming those resources, so would need to think about how to handle that in a BC way.
Comments
Comment #2
xjmComment #3
xjmComment #4
gabesulliceI think for tracking purposes, this is itself a child of this one ^