Existing Export API navigates the graph structure and get all the connected entities as part of export. The API is geared toward exporting of entire database and not parts of the database.
It is possible to specify Export of 1 table. The resulting ZIP however, contains the entire database and all other tables in the database to be exported. Alternately stated, it is not possible to export subset of the graph of which the entity is part of.
This behavior impacts Import, as more entities get imported than needed.
While the existing approach is useful, the user should be allowed to specify the scope of the export operation.
The existing ExportRequest.options could potentially have an option that indicate the scope.
FETCH = FULL | CONNECTED
FETCH = FULL All entities directly and indirectly entities are fetched.
FETCH = CONNECTED All entities directly connected are fetched.