{"action":"created","issue":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Server/issues/411","repository_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Server","labels_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Server/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Server/issues/411/comments","events_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Server/issues/411/events","html_url":"https://github.com/OpenBazaar/OpenBazaar-Server/issues/411","id":155958239,"number":411,"title":"Add contract hash or last_modified field","user":{"login":"JustinDrake","id":731743,"avatar_url":"https://avatars.githubusercontent.com/u/731743?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinDrake","html_url":"https://github.com/JustinDrake","followers_url":"https://api.github.com/users/JustinDrake/followers","following_url":"https://api.github.com/users/JustinDrake/following{/other_user}","gists_url":"https://api.github.com/users/JustinDrake/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinDrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinDrake/subscriptions","organizations_url":"https://api.github.com/users/JustinDrake/orgs","repos_url":"https://api.github.com/users/JustinDrake/repos","events_url":"https://api.github.com/users/JustinDrake/events{/privacy}","received_events_url":"https://api.github.com/users/JustinDrake/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"hoffmabc","id":45482,"avatar_url":"https://avatars.githubusercontent.com/u/45482?v=3","gravatar_id":"","url":"https://api.github.com/users/hoffmabc","html_url":"https://github.com/hoffmabc","followers_url":"https://api.github.com/users/hoffmabc/followers","following_url":"https://api.github.com/users/hoffmabc/following{/other_user}","gists_url":"https://api.github.com/users/hoffmabc/gists{/gist_id}","starred_url":"https://api.github.com/users/hoffmabc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoffmabc/subscriptions","organizations_url":"https://api.github.com/users/hoffmabc/orgs","repos_url":"https://api.github.com/users/hoffmabc/repos","events_url":"https://api.github.com/users/hoffmabc/events{/privacy}","received_events_url":"https://api.github.com/users/hoffmabc/received_events","type":"User","site_admin":false},"assignees":[{"login":"hoffmabc","id":45482,"avatar_url":"https://avatars.githubusercontent.com/u/45482?v=3","gravatar_id":"","url":"https://api.github.com/users/hoffmabc","html_url":"https://github.com/hoffmabc","followers_url":"https://api.github.com/users/hoffmabc/followers","following_url":"https://api.github.com/users/hoffmabc/following{/other_user}","gists_url":"https://api.github.com/users/hoffmabc/gists{/gist_id}","starred_url":"https://api.github.com/users/hoffmabc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoffmabc/subscriptions","organizations_url":"https://api.github.com/users/hoffmabc/orgs","repos_url":"https://api.github.com/users/hoffmabc/repos","events_url":"https://api.github.com/users/hoffmabc/events{/privacy}","received_events_url":"https://api.github.com/users/hoffmabc/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-05-20T13:02:52Z","updated_at":"2016-07-03T20:36:31Z","closed_at":"2016-06-27T13:40:51Z","body":"Right now contracts have a `contract_id` which allows for \"listing malleability\". To catch listing modifications, crawlers such as [duosear.ch](https://duosear.ch) have to repeatedly request the full contracts because `contract_id` does not change for all listing modifications. This repeated polling from crawlers can be a burden to vendors (and crawlers!), especially for stores with many listings.\r\n\r\nI see two solutions for this:\r\n\r\n- (ideal) Add a contract hash that covers the full contract\r\n- (ok) Add a `last_modified` field\r\n\r\ncc @hoffmabc @cpacia"},"comment":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Server/issues/comments/230173933","html_url":"https://github.com/OpenBazaar/OpenBazaar-Server/issues/411#issuecomment-230173933","issue_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Server/issues/411","id":230173933,"user":{"login":"JustinDrake","id":731743,"avatar_url":"https://avatars.githubusercontent.com/u/731743?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinDrake","html_url":"https://github.com/JustinDrake","followers_url":"https://api.github.com/users/JustinDrake/followers","following_url":"https://api.github.com/users/JustinDrake/following{/other_user}","gists_url":"https://api.github.com/users/JustinDrake/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinDrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinDrake/subscriptions","organizations_url":"https://api.github.com/users/JustinDrake/orgs","repos_url":"https://api.github.com/users/JustinDrake/repos","events_url":"https://api.github.com/users/JustinDrake/events{/privacy}","received_events_url":"https://api.github.com/users/JustinDrake/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T20:36:31Z","updated_at":"2016-07-03T20:36:31Z","body":"@hoffmabc While it looks like the `last_modified` field has made it to `GET_CONTRACT`, I can't see it on `GET_LISTINGS` responses."}}
{"actor":{"display_login":"JustinDrake"}}