public static Response getReadResponse(App app, ParaObject content) {
		try (final Metrics.Context context = Metrics.time(app == null ? null : app.getAppid(),
				RestUtils.class, "crud", "read")) {
			// app can't modify other apps except itself
			if (app != null && content != null &&
					checkImplicitAppPermissions(app, content) && checkIfUserCanModifyObject(app, content)) {
				return Response.ok(content).build();
			}
			return getStatusResponse(Response.Status.NOT_FOUND);
		}
	}
public static Response getReadResponse ( App app , ParaObject content ) { try ( final Metrics . Context context = Metrics . time ( app == null ? null : app . getAppid ( ) , RestUtils . class , "crud" , "read" ) ) { if ( app != null && content != null && checkImplicitAppPermissions ( app , content ) && checkIfUserCanModifyObject ( app , content ) ) { return Response . ok ( content ) . build ( ) ; } return getStatusResponse ( Response . Status . NOT_FOUND ) ; } }
Read response as JSON.
@param app the app object
@param content the object that was read
@return status code 200 or 404