{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/244","repository_url":"https://api.github.com/repos/ipfs/interface-ipfs-core","labels_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/244/comments","events_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/244/events","html_url":"https://github.com/ipfs/interface-ipfs-core/issues/244","id":307863418,"node_id":"MDU6SXNzdWUzMDc4NjM0MTg=","number":244,"title":"Short and concise example","user":{"login":"musicsmithnz","id":7548447,"node_id":"MDQ6VXNlcjc1NDg0NDc=","avatar_url":"https://avatars0.githubusercontent.com/u/7548447?v=4","gravatar_id":"","url":"https://api.github.com/users/musicsmithnz","html_url":"https://github.com/musicsmithnz","followers_url":"https://api.github.com/users/musicsmithnz/followers","following_url":"https://api.github.com/users/musicsmithnz/following{/other_user}","gists_url":"https://api.github.com/users/musicsmithnz/gists{/gist_id}","starred_url":"https://api.github.com/users/musicsmithnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musicsmithnz/subscriptions","organizations_url":"https://api.github.com/users/musicsmithnz/orgs","repos_url":"https://api.github.com/users/musicsmithnz/repos","events_url":"https://api.github.com/users/musicsmithnz/events{/privacy}","received_events_url":"https://api.github.com/users/musicsmithnz/received_events","type":"User","site_admin":false},"labels":[{"id":717953381,"node_id":"MDU6TGFiZWw3MTc5NTMzODE=","url":"https://api.github.com/repos/ipfs/interface-ipfs-core/labels/P3%20-%20Low","name":"P3 - Low","color":"f9d0c4","default":false},{"id":435757803,"node_id":"MDU6TGFiZWw0MzU3NTc4MDM=","url":"https://api.github.com/repos/ipfs/interface-ipfs-core/labels/difficulty:easy","name":"difficulty:easy","color":"bfe5bf","default":false},{"id":374345449,"node_id":"MDU6TGFiZWwzNzQzNDU0NDk=","url":"https://api.github.com/repos/ipfs/interface-ipfs-core/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":491319674,"node_id":"MDU6TGFiZWw0OTEzMTk2NzQ=","url":"https://api.github.com/repos/ipfs/interface-ipfs-core/labels/ready","name":"ready","color":"e6e6e6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-23T00:47:09Z","updated_at":"2018-06-09T08:09:19Z","closed_at":null,"author_association":"NONE","body":"feel free to close this off, but why are the examples around 1000lines long? it seems to me that any example that requires sifting through that much code is no longer helpful.\r\n\r\ni am looking to do two things, set up a ipfs node to serve an api, and a client to make requests. i haven't found any examples that connect these two together. \r\n\r\nthis example led me to interface-ipfs-core/ repo. but it adds the file to a local instance, not a remote api. i'm having trouble finding an answer.\r\nhttps://github.com/ipfs/js-ipfs/tree/master/examples/ipfs-101"},"comment":{"url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/comments/395950064","html_url":"https://github.com/ipfs/interface-ipfs-core/issues/244#issuecomment-395950064","issue_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/244","id":395950064,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk1MDA2NA==","user":{"login":"alchmy","id":38594975,"node_id":"MDQ6VXNlcjM4NTk0OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/38594975?v=4","gravatar_id":"","url":"https://api.github.com/users/alchmy","html_url":"https://github.com/alchmy","followers_url":"https://api.github.com/users/alchmy/followers","following_url":"https://api.github.com/users/alchmy/following{/other_user}","gists_url":"https://api.github.com/users/alchmy/gists{/gist_id}","starred_url":"https://api.github.com/users/alchmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alchmy/subscriptions","organizations_url":"https://api.github.com/users/alchmy/orgs","repos_url":"https://api.github.com/users/alchmy/repos","events_url":"https://api.github.com/users/alchmy/events{/privacy}","received_events_url":"https://api.github.com/users/alchmy/received_events","type":"User","site_admin":false},"created_at":"2018-06-09T08:09:19Z","updated_at":"2018-06-09T08:09:19Z","author_association":"NONE","body":"So I have been playing around with the API, and it works great on single files, but i dont know if there is anyway of using recursive directories with this API, i know it works in JS, and locally on the command line, but I'm not sure how this would work with Curl. I have tried several other things in addition to below(single file), such as using -T or --create-dirs.\r\n\r\ncurl -F file=@my_file 'http://123.29.19.154:4108/api/v0/add?recursive=true&wrap-with-directory=true'"}}
{"actor":{"display_login":"alchmy"}}