{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/143","repository_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures","labels_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/143/comments","events_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/143/events","html_url":"https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/143","id":176465844,"number":143,"title":"Make file export network friendly","user":{"login":"dhimmel","id":1117703,"avatar_url":"https://avatars.githubusercontent.com/u/1117703?v=3","gravatar_id":"","url":"https://api.github.com/users/dhimmel","html_url":"https://github.com/dhimmel","followers_url":"https://api.github.com/users/dhimmel/followers","following_url":"https://api.github.com/users/dhimmel/following{/other_user}","gists_url":"https://api.github.com/users/dhimmel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhimmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhimmel/subscriptions","organizations_url":"https://api.github.com/users/dhimmel/orgs","repos_url":"https://api.github.com/users/dhimmel/repos","events_url":"https://api.github.com/users/dhimmel/events{/privacy}","received_events_url":"https://api.github.com/users/dhimmel/received_events","type":"User","site_admin":false},"labels":[{"id":331727950,"url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":471160486,"url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/labels/prioritized","name":"prioritized","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-12T19:43:23Z","updated_at":"2016-12-13T16:27:13Z","closed_at":null,"body":"`apoc.export` contains procedures packages for exporting Neo4j (sub)graphs such as `apoc.export.cypher.data` and `apoc.export.graphml.data`. Currently, these procedures take a `file` argument which specifies a path on the Neo4j server's filesystem.\n\nHowever, users that are accessing the Neo4j server over a network connection will often want to export the file relative to their access point rather than on the server. For example, a Neo4j Browser user would want to export the file to either text in their browser or a downloadable file.\n\nNot sure what solutions are feasible, but it seems like these file-export functions have limited functionality if they can't be used over the network. Would a quick fix be exporting the text to a string variable in Cypher (for example `path = false` would mean the procedure returns the text)?\n"},"comment":{"url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/comments/266786239","html_url":"https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/143#issuecomment-266786239","issue_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/143","id":266786239,"user":{"login":"dhimmel","id":1117703,"avatar_url":"https://avatars.githubusercontent.com/u/1117703?v=3","gravatar_id":"","url":"https://api.github.com/users/dhimmel","html_url":"https://github.com/dhimmel","followers_url":"https://api.github.com/users/dhimmel/followers","following_url":"https://api.github.com/users/dhimmel/following{/other_user}","gists_url":"https://api.github.com/users/dhimmel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhimmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhimmel/subscriptions","organizations_url":"https://api.github.com/users/dhimmel/orgs","repos_url":"https://api.github.com/users/dhimmel/repos","events_url":"https://api.github.com/users/dhimmel/events{/privacy}","received_events_url":"https://api.github.com/users/dhimmel/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T16:27:13Z","updated_at":"2016-12-13T16:27:13Z","body":"> do you have a concrete idea on how to return that data?\r\n\r\nNo, but I can think of two possible options:\r\n\r\n1. Returning text that displays in a browser frame.\r\n2. Downloading the text file as if you clicked on a download link in your browser.\r\n\r\n1 is dangerous if the resulting text file is large... so I think 2 is probably a better default. Technically, I'm not sure of the feasibility of either approach."}}
{"actor":{"display_login":"dhimmel"}}