{"action":"closed","issue":{"url":"https://api.github.com/repos/m4tthumphrey/php-gitlab-api/issues/105","labels_url":"https://api.github.com/repos/m4tthumphrey/php-gitlab-api/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/m4tthumphrey/php-gitlab-api/issues/105/comments","events_url":"https://api.github.com/repos/m4tthumphrey/php-gitlab-api/issues/105/events","html_url":"https://github.com/m4tthumphrey/php-gitlab-api/issues/105","id":104505721,"number":105,"title":"Create project with namespace_id doesnt work","user":{"login":"wallish","id":5347276,"avatar_url":"https://avatars.githubusercontent.com/u/5347276?v=3","gravatar_id":"","url":"https://api.github.com/users/wallish","html_url":"https://github.com/wallish","followers_url":"https://api.github.com/users/wallish/followers","following_url":"https://api.github.com/users/wallish/following{/other_user}","gists_url":"https://api.github.com/users/wallish/gists{/gist_id}","starred_url":"https://api.github.com/users/wallish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallish/subscriptions","organizations_url":"https://api.github.com/users/wallish/orgs","repos_url":"https://api.github.com/users/wallish/repos","events_url":"https://api.github.com/users/wallish/events{/privacy}","received_events_url":"https://api.github.com/users/wallish/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T15:20:04Z","updated_at":"2015-09-06T08:54:22Z","closed_at":"2015-09-06T08:54:22Z","body":"PHP `5.6.10 `\r\nGitLab `7.12.2`\r\nGitLab `API v3`\r\n\r\n```php\r\n$token = \"xxxxxxx\"\r\n$client = new \\Gitlab\\Client('https://myrepo.foobar.fr/api/v3/');\r\n$client->authenticate($token, \\Gitlab\\Client::AUTH_URL_TOKEN);\r\n\r\n$result = $client->api('namespaces')->all();\r\n// result contents\r\narray(3) { \r\n    [\"id\"]=> int(20) \r\n    [\"path\"]=> string(6) \"mygroup\" \r\n    [\"kind\"]=> string(4) \"group\"\r\n}\r\n\r\n$client->api('projects')->create('test-foobar', [\r\n    'namespace_id' =>  20,\r\n    'description' => 'test'\r\n]);\r\n```\r\n\r\nI get an errror : `\"namespace\" is not valid`.\r\nWithout the 'namespace_id' it work well."}}