{"action":"closed","issue":{"url":"https://api.github.com/repos/instedd/aida/issues/161","repository_url":"https://api.github.com/repos/instedd/aida","labels_url":"https://api.github.com/repos/instedd/aida/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/instedd/aida/issues/161/comments","events_url":"https://api.github.com/repos/instedd/aida/issues/161/events","html_url":"https://github.com/instedd/aida/issues/161","id":316943823,"node_id":"MDU6SXNzdWUzMTY5NDM4MjM=","number":161,"title":"Store skill variables in \"assets\"","user":{"login":"nekron","id":957103,"node_id":"MDQ6VXNlcjk1NzEwMw==","avatar_url":"https://avatars3.githubusercontent.com/u/957103?v=4","gravatar_id":"","url":"https://api.github.com/users/nekron","html_url":"https://github.com/nekron","followers_url":"https://api.github.com/users/nekron/followers","following_url":"https://api.github.com/users/nekron/following{/other_user}","gists_url":"https://api.github.com/users/nekron/gists{/gist_id}","starred_url":"https://api.github.com/users/nekron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekron/subscriptions","organizations_url":"https://api.github.com/users/nekron/orgs","repos_url":"https://api.github.com/users/nekron/repos","events_url":"https://api.github.com/users/nekron/events{/privacy}","received_events_url":"https://api.github.com/users/nekron/received_events","type":"User","site_admin":false},"labels":[{"id":742549488,"node_id":"MDU6TGFiZWw3NDI1NDk0ODg=","url":"https://api.github.com/repos/instedd/aida/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"nekron","id":957103,"node_id":"MDQ6VXNlcjk1NzEwMw==","avatar_url":"https://avatars3.githubusercontent.com/u/957103?v=4","gravatar_id":"","url":"https://api.github.com/users/nekron","html_url":"https://github.com/nekron","followers_url":"https://api.github.com/users/nekron/followers","following_url":"https://api.github.com/users/nekron/following{/other_user}","gists_url":"https://api.github.com/users/nekron/gists{/gist_id}","starred_url":"https://api.github.com/users/nekron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekron/subscriptions","organizations_url":"https://api.github.com/users/nekron/orgs","repos_url":"https://api.github.com/users/nekron/repos","events_url":"https://api.github.com/users/nekron/events{/privacy}","received_events_url":"https://api.github.com/users/nekron/received_events","type":"User","site_admin":false},"assignees":[{"login":"nekron","id":957103,"node_id":"MDQ6VXNlcjk1NzEwMw==","avatar_url":"https://avatars3.githubusercontent.com/u/957103?v=4","gravatar_id":"","url":"https://api.github.com/users/nekron","html_url":"https://github.com/nekron","followers_url":"https://api.github.com/users/nekron/followers","following_url":"https://api.github.com/users/nekron/following{/other_user}","gists_url":"https://api.github.com/users/nekron/gists{/gist_id}","starred_url":"https://api.github.com/users/nekron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekron/subscriptions","organizations_url":"https://api.github.com/users/nekron/orgs","repos_url":"https://api.github.com/users/nekron/repos","events_url":"https://api.github.com/users/nekron/events{/privacy}","received_events_url":"https://api.github.com/users/nekron/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/instedd/aida/milestones/9","html_url":"https://github.com/instedd/aida/milestone/9","labels_url":"https://api.github.com/repos/instedd/aida/milestones/9/labels","id":3256221,"node_id":"MDk6TWlsZXN0b25lMzI1NjIyMQ==","number":9,"title":"1.1","description":"","creator":{"login":"nditada","id":1359189,"node_id":"MDQ6VXNlcjEzNTkxODk=","avatar_url":"https://avatars0.githubusercontent.com/u/1359189?v=4","gravatar_id":"","url":"https://api.github.com/users/nditada","html_url":"https://github.com/nditada","followers_url":"https://api.github.com/users/nditada/followers","following_url":"https://api.github.com/users/nditada/following{/other_user}","gists_url":"https://api.github.com/users/nditada/gists{/gist_id}","starred_url":"https://api.github.com/users/nditada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nditada/subscriptions","organizations_url":"https://api.github.com/users/nditada/orgs","repos_url":"https://api.github.com/users/nditada/repos","events_url":"https://api.github.com/users/nditada/events{/privacy}","received_events_url":"https://api.github.com/users/nditada/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":17,"state":"open","created_at":"2018-04-10T15:16:37Z","updated_at":"2018-07-17T19:35:56Z","due_on":"2018-07-20T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-04-23T19:06:02Z","updated_at":"2018-07-17T19:35:56Z","closed_at":"2018-07-17T19:35:56Z","author_association":"COLLABORATOR","body":"- [ ] Create a new entity called Asset, in which a skill will store its generated data every time it's executed.\n\nThe asset will contain:\n- session_id\n- skill_id\n- data (a flat key-value store)\n\nA survey skill will have a different asset every time it runs.\n\n- [ ] When querying for the value of that variable, look for it in the session first and then in all the assets. Mind to use only the latest instance of that value if more than one is present.\n\n- [ ] Add an additional API route to get all the accumulated data. Allow filters for a given bot, skill, session, and date since and to.\n\n- [ ] Answer with the latest asset data in the session data json and csv download, so this change doesn't breaks backwards compatibility with existing api's."}}
{"actor":{"display_login":"nekron"}}