{"action":"created","issue":{"url":"https://api.github.com/repos/matecat/MateCat/issues/370","repository_url":"https://api.github.com/repos/matecat/MateCat","labels_url":"https://api.github.com/repos/matecat/MateCat/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/matecat/MateCat/issues/370/comments","events_url":"https://api.github.com/repos/matecat/MateCat/issues/370/events","html_url":"https://github.com/matecat/MateCat/issues/370","id":173799688,"number":370,"title":"API v2 returns \"This project does not exist\"","user":{"login":"mirko33","id":9310509,"avatar_url":"https://avatars.githubusercontent.com/u/9310509?v=3","gravatar_id":"","url":"https://api.github.com/users/mirko33","html_url":"https://github.com/mirko33","followers_url":"https://api.github.com/users/mirko33/followers","following_url":"https://api.github.com/users/mirko33/following{/other_user}","gists_url":"https://api.github.com/users/mirko33/gists{/gist_id}","starred_url":"https://api.github.com/users/mirko33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirko33/subscriptions","organizations_url":"https://api.github.com/users/mirko33/orgs","repos_url":"https://api.github.com/users/mirko33/repos","events_url":"https://api.github.com/users/mirko33/events{/privacy}","received_events_url":"https://api.github.com/users/mirko33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"freegenie","id":19538,"avatar_url":"https://avatars.githubusercontent.com/u/19538?v=3","gravatar_id":"","url":"https://api.github.com/users/freegenie","html_url":"https://github.com/freegenie","followers_url":"https://api.github.com/users/freegenie/followers","following_url":"https://api.github.com/users/freegenie/following{/other_user}","gists_url":"https://api.github.com/users/freegenie/gists{/gist_id}","starred_url":"https://api.github.com/users/freegenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freegenie/subscriptions","organizations_url":"https://api.github.com/users/freegenie/orgs","repos_url":"https://api.github.com/users/freegenie/repos","events_url":"https://api.github.com/users/freegenie/events{/privacy}","received_events_url":"https://api.github.com/users/freegenie/received_events","type":"User","site_admin":false},"assignees":[{"login":"freegenie","id":19538,"avatar_url":"https://avatars.githubusercontent.com/u/19538?v=3","gravatar_id":"","url":"https://api.github.com/users/freegenie","html_url":"https://github.com/freegenie","followers_url":"https://api.github.com/users/freegenie/followers","following_url":"https://api.github.com/users/freegenie/following{/other_user}","gists_url":"https://api.github.com/users/freegenie/gists{/gist_id}","starred_url":"https://api.github.com/users/freegenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freegenie/subscriptions","organizations_url":"https://api.github.com/users/freegenie/orgs","repos_url":"https://api.github.com/users/freegenie/repos","events_url":"https://api.github.com/users/freegenie/events{/privacy}","received_events_url":"https://api.github.com/users/freegenie/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-29T15:19:59Z","updated_at":"2016-08-30T08:05:06Z","closed_at":null,"body":"Our MateCat install responds as expected to the v1 API calls, not however v2. project-completion-status returns \"This project does not exist\" when called with something like http://<hostname>/api/v2/project-completion-status/10\r\nAre there some additional steps needed to configure that API?"},"comment":{"url":"https://api.github.com/repos/matecat/MateCat/issues/comments/243363885","html_url":"https://github.com/matecat/MateCat/issues/370#issuecomment-243363885","issue_url":"https://api.github.com/repos/matecat/MateCat/issues/370","id":243363885,"user":{"login":"freegenie","id":19538,"avatar_url":"https://avatars.githubusercontent.com/u/19538?v=3","gravatar_id":"","url":"https://api.github.com/users/freegenie","html_url":"https://github.com/freegenie","followers_url":"https://api.github.com/users/freegenie/followers","following_url":"https://api.github.com/users/freegenie/following{/other_user}","gists_url":"https://api.github.com/users/freegenie/gists{/gist_id}","starred_url":"https://api.github.com/users/freegenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freegenie/subscriptions","organizations_url":"https://api.github.com/users/freegenie/orgs","repos_url":"https://api.github.com/users/freegenie/repos","events_url":"https://api.github.com/users/freegenie/events{/privacy}","received_events_url":"https://api.github.com/users/freegenie/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T08:05:06Z","updated_at":"2016-08-30T08:05:06Z","body":"Hi Mirko, project-completion-status API should be used in conjunction with the project_completion feature that you can enable per user in MateCat. There are some utilities in `support_script/tasks` folder that help in the setup: \r\n\r\n1. generate_api_keys.php \r\n1. owner_features.php \r\n\r\nwhich you may already be discovered by your own. \r\n\r\nSteps are the following: \r\n\r\n1. create a user record by logging in with Google\r\n1. add API keys to that user \r\n1. enable `project_completion` feature on that user\r\n1. create projects taking care to let MateCat know who are you (by uploading files in the UI or by making an API call with your API keys in the header ).\r\n\r\nLet me know if you need further help. \r\n\r\n "}}
{"actor":{"display_login":"freegenie"}}