{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/menpo/landmarkerio-server/pulls/13","id":28028675,"html_url":"https://github.com/menpo/landmarkerio-server/pull/13","diff_url":"https://github.com/menpo/landmarkerio-server/pull/13.diff","patch_url":"https://github.com/menpo/landmarkerio-server/pull/13.patch","issue_url":"https://api.github.com/repos/menpo/landmarkerio-server/issues/13","number":13,"state":"open","locked":false,"title":"move to API v2 (WIP)","user":{"login":"jabooth","id":1312873,"avatar_url":"https://avatars.githubusercontent.com/u/1312873?v=3","gravatar_id":"","url":"https://api.github.com/users/jabooth","html_url":"https://github.com/jabooth","followers_url":"https://api.github.com/users/jabooth/followers","following_url":"https://api.github.com/users/jabooth/following{/other_user}","gists_url":"https://api.github.com/users/jabooth/gists{/gist_id}","starred_url":"https://api.github.com/users/jabooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabooth/subscriptions","organizations_url":"https://api.github.com/users/jabooth/orgs","repos_url":"https://api.github.com/users/jabooth/repos","events_url":"https://api.github.com/users/jabooth/events{/privacy}","received_events_url":"https://api.github.com/users/jabooth/received_events","type":"User","site_admin":false},"body":"This PR bumps the landmarker server to use v2 of the API. The changes to the LJSON format are documented [here](https://github.com/menpo/landmarker.io/wiki/API:-Moving-from-v1-to-v2). A brief rundown of what's changed\r\n\r\n- The LJSON format has been updated to match Menpo's landmark model (a single collection of points with optional connectivity information grouped into potentially overlapping subsets called 'labels'). This is a necessary step towards being able to build the landmarker.io widget for Menpo.\r\n- A conversion utility `lmioconvert` is provided. This tool recursively searches a provided path for LJSON files and updates them to the new format.\r\n- The endpoint of the api has changed from /api/v1/ to /api/v2/ to accommodate the changes. Once this PR is merged and a new release of landmarkerio-server made, landmarker.io will be updated to look for the new API by default. If no new API is found but a v1 API is, the landmarker will launch a legacy page that will still work with the old API and will provide information for moving to v2.\r\n\r\n\r\nTODO:\r\n- [ ] Merge https://github.com/menpo/menpo/pull/540 to add LJSON v2 support to Menpo\r\n- [ ] Release a new version of menpo and menpo3d\r\n- [ ] Bump the dependencies on landmarkerio-server to match the new releases of menpo and menpo3d\r\n- [ ] Merge https://github.com/menpo/landmarker.io/pull/82 and make a new landmarker.io release\r\n- [ ] Merge this PR, release new landmarkerio-server","created_at":"2015-01-26T14:11:19Z","updated_at":"2015-01-26T14:11:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/menpo/landmarkerio-server/pulls/13/commits","review_comments_url":"https://api.github.com/repos/menpo/landmarkerio-server/pulls/13/comments","review_comment_url":"https://api.github.com/repos/menpo/landmarkerio-server/pulls/comments/{number}","comments_url":"https://api.github.com/repos/menpo/landmarkerio-server/issues/13/comments","statuses_url":"https://api.github.com/repos/menpo/landmarkerio-server/statuses/1d047020397b53e406c400303e502286f567160c","head":{"label":"menpo:v2","ref":"v2","sha":"1d047020397b53e406c400303e502286f567160c","user":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"repo":{"id":19081278,"name":"landmarkerio-server","full_name":"menpo/landmarkerio-server","owner":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/menpo/landmarkerio-server","description":"The Menpo landmarker.io Server","fork":false,"url":"https://api.github.com/repos/menpo/landmarkerio-server","forks_url":"https://api.github.com/repos/menpo/landmarkerio-server/forks","keys_url":"https://api.github.com/repos/menpo/landmarkerio-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/menpo/landmarkerio-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/menpo/landmarkerio-server/teams","hooks_url":"https://api.github.com/repos/menpo/landmarkerio-server/hooks","issue_events_url":"https://api.github.com/repos/menpo/landmarkerio-server/issues/events{/number}","events_url":"https://api.github.com/repos/menpo/landmarkerio-server/events","assignees_url":"https://api.github.com/repos/menpo/landmarkerio-server/assignees{/user}","branches_url":"https://api.github.com/repos/menpo/landmarkerio-server/branches{/branch}","tags_url":"https://api.github.com/repos/menpo/landmarkerio-server/tags","blobs_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/menpo/landmarkerio-server/statuses/{sha}","languages_url":"https://api.github.com/repos/menpo/landmarkerio-server/languages","stargazers_url":"https://api.github.com/repos/menpo/landmarkerio-server/stargazers","contributors_url":"https://api.github.com/repos/menpo/landmarkerio-server/contributors","subscribers_url":"https://api.github.com/repos/menpo/landmarkerio-server/subscribers","subscription_url":"https://api.github.com/repos/menpo/landmarkerio-server/subscription","commits_url":"https://api.github.com/repos/menpo/landmarkerio-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/menpo/landmarkerio-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/menpo/landmarkerio-server/issues/comments/{number}","contents_url":"https://api.github.com/repos/menpo/landmarkerio-server/contents/{+path}","compare_url":"https://api.github.com/repos/menpo/landmarkerio-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/menpo/landmarkerio-server/merges","archive_url":"https://api.github.com/repos/menpo/landmarkerio-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/menpo/landmarkerio-server/downloads","issues_url":"https://api.github.com/repos/menpo/landmarkerio-server/issues{/number}","pulls_url":"https://api.github.com/repos/menpo/landmarkerio-server/pulls{/number}","milestones_url":"https://api.github.com/repos/menpo/landmarkerio-server/milestones{/number}","notifications_url":"https://api.github.com/repos/menpo/landmarkerio-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/menpo/landmarkerio-server/labels{/name}","releases_url":"https://api.github.com/repos/menpo/landmarkerio-server/releases{/id}","created_at":"2014-04-23T18:39:54Z","updated_at":"2015-01-21T21:38:48Z","pushed_at":"2015-01-26T14:02:06Z","git_url":"git://github.com/menpo/landmarkerio-server.git","ssh_url":"git@github.com:menpo/landmarkerio-server.git","clone_url":"https://github.com/menpo/landmarkerio-server.git","svn_url":"https://github.com/menpo/landmarkerio-server","homepage":"","size":732,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"menpo:master","ref":"master","sha":"45d7bf5f53ccb1107ec2c5a5b58e237f92372484","user":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"repo":{"id":19081278,"name":"landmarkerio-server","full_name":"menpo/landmarkerio-server","owner":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/menpo/landmarkerio-server","description":"The Menpo landmarker.io Server","fork":false,"url":"https://api.github.com/repos/menpo/landmarkerio-server","forks_url":"https://api.github.com/repos/menpo/landmarkerio-server/forks","keys_url":"https://api.github.com/repos/menpo/landmarkerio-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/menpo/landmarkerio-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/menpo/landmarkerio-server/teams","hooks_url":"https://api.github.com/repos/menpo/landmarkerio-server/hooks","issue_events_url":"https://api.github.com/repos/menpo/landmarkerio-server/issues/events{/number}","events_url":"https://api.github.com/repos/menpo/landmarkerio-server/events","assignees_url":"https://api.github.com/repos/menpo/landmarkerio-server/assignees{/user}","branches_url":"https://api.github.com/repos/menpo/landmarkerio-server/branches{/branch}","tags_url":"https://api.github.com/repos/menpo/landmarkerio-server/tags","blobs_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/menpo/landmarkerio-server/statuses/{sha}","languages_url":"https://api.github.com/repos/menpo/landmarkerio-server/languages","stargazers_url":"https://api.github.com/repos/menpo/landmarkerio-server/stargazers","contributors_url":"https://api.github.com/repos/menpo/landmarkerio-server/contributors","subscribers_url":"https://api.github.com/repos/menpo/landmarkerio-server/subscribers","subscription_url":"https://api.github.com/repos/menpo/landmarkerio-server/subscription","commits_url":"https://api.github.com/repos/menpo/landmarkerio-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/menpo/landmarkerio-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/menpo/landmarkerio-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/menpo/landmarkerio-server/issues/comments/{number}","contents_url":"https://api.github.com/repos/menpo/landmarkerio-server/contents/{+path}","compare_url":"https://api.github.com/repos/menpo/landmarkerio-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/menpo/landmarkerio-server/merges","archive_url":"https://api.github.com/repos/menpo/landmarkerio-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/menpo/landmarkerio-server/downloads","issues_url":"https://api.github.com/repos/menpo/landmarkerio-server/issues{/number}","pulls_url":"https://api.github.com/repos/menpo/landmarkerio-server/pulls{/number}","milestones_url":"https://api.github.com/repos/menpo/landmarkerio-server/milestones{/number}","notifications_url":"https://api.github.com/repos/menpo/landmarkerio-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/menpo/landmarkerio-server/labels{/name}","releases_url":"https://api.github.com/repos/menpo/landmarkerio-server/releases{/id}","created_at":"2014-04-23T18:39:54Z","updated_at":"2015-01-21T21:38:48Z","pushed_at":"2015-01-26T14:02:06Z","git_url":"git://github.com/menpo/landmarkerio-server.git","ssh_url":"git@github.com:menpo/landmarkerio-server.git","clone_url":"https://github.com/menpo/landmarkerio-server.git","svn_url":"https://github.com/menpo/landmarkerio-server","homepage":"","size":732,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/menpo/landmarkerio-server/pulls/13"},"html":{"href":"https://github.com/menpo/landmarkerio-server/pull/13"},"issue":{"href":"https://api.github.com/repos/menpo/landmarkerio-server/issues/13"},"comments":{"href":"https://api.github.com/repos/menpo/landmarkerio-server/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/menpo/landmarkerio-server/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/menpo/landmarkerio-server/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/menpo/landmarkerio-server/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/menpo/landmarkerio-server/statuses/1d047020397b53e406c400303e502286f567160c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":48,"deletions":8,"changed_files":4}}