{"action":"created","comment":{"url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/comments/89774483","pull_request_review_id":10308913,"id":89774483,"diff_hunk":"@@ -46,6 +46,17 @@ public ProviderController(ProviderOrchestrator providerOrchestrator)\n             return Ok(commitment);\n         }\n \n+        [Route(\"{accountId}/apprenticeships\")]\n+        [Authorize(Roles = \"Role1\")]\n+        public async Task<IHttpActionResult> GetApprenticeships(long accountId)","path":"src/SFA.DAS.Commitments.Api/Controllers/ProviderController.cs","position":6,"original_position":6,"commit_id":"e6c201243760f10be96a2746e434255a3fc762ab","original_commit_id":"e6c201243760f10be96a2746e434255a3fc762ab","user":{"login":"leewadhams","id":634695,"avatar_url":"https://avatars.githubusercontent.com/u/634695?v=3","gravatar_id":"","url":"https://api.github.com/users/leewadhams","html_url":"https://github.com/leewadhams","followers_url":"https://api.github.com/users/leewadhams/followers","following_url":"https://api.github.com/users/leewadhams/following{/other_user}","gists_url":"https://api.github.com/users/leewadhams/gists{/gist_id}","starred_url":"https://api.github.com/users/leewadhams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leewadhams/subscriptions","organizations_url":"https://api.github.com/users/leewadhams/orgs","repos_url":"https://api.github.com/users/leewadhams/repos","events_url":"https://api.github.com/users/leewadhams/events{/privacy}","received_events_url":"https://api.github.com/users/leewadhams/received_events","type":"User","site_admin":false},"body":"should be providerId\r\n","created_at":"2016-11-28T12:51:03Z","updated_at":"2016-11-28T12:55:58Z","html_url":"https://github.com/SkillsFundingAgency/das-commitments/pull/74#discussion_r89774483","pull_request_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/comments/89774483"},"html":{"href":"https://github.com/SkillsFundingAgency/das-commitments/pull/74#discussion_r89774483"},"pull_request":{"href":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/74","id":95486762,"html_url":"https://github.com/SkillsFundingAgency/das-commitments/pull/74","diff_url":"https://github.com/SkillsFundingAgency/das-commitments/pull/74.diff","patch_url":"https://github.com/SkillsFundingAgency/das-commitments/pull/74.patch","issue_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues/74","number":74,"state":"open","locked":false,"title":"added endpoints to retrieve all apprenticeships for employer or provider","user":{"login":"mgwilliam","id":3403753,"avatar_url":"https://avatars.githubusercontent.com/u/3403753?v=3","gravatar_id":"","url":"https://api.github.com/users/mgwilliam","html_url":"https://github.com/mgwilliam","followers_url":"https://api.github.com/users/mgwilliam/followers","following_url":"https://api.github.com/users/mgwilliam/following{/other_user}","gists_url":"https://api.github.com/users/mgwilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/mgwilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgwilliam/subscriptions","organizations_url":"https://api.github.com/users/mgwilliam/orgs","repos_url":"https://api.github.com/users/mgwilliam/repos","events_url":"https://api.github.com/users/mgwilliam/events{/privacy}","received_events_url":"https://api.github.com/users/mgwilliam/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-11-28T12:06:27Z","updated_at":"2016-11-28T12:55:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3244b4ace23a21e9392e0d02ff921d4426076273","assignee":{"login":"leewadhams","id":634695,"avatar_url":"https://avatars.githubusercontent.com/u/634695?v=3","gravatar_id":"","url":"https://api.github.com/users/leewadhams","html_url":"https://github.com/leewadhams","followers_url":"https://api.github.com/users/leewadhams/followers","following_url":"https://api.github.com/users/leewadhams/following{/other_user}","gists_url":"https://api.github.com/users/leewadhams/gists{/gist_id}","starred_url":"https://api.github.com/users/leewadhams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leewadhams/subscriptions","organizations_url":"https://api.github.com/users/leewadhams/orgs","repos_url":"https://api.github.com/users/leewadhams/repos","events_url":"https://api.github.com/users/leewadhams/events{/privacy}","received_events_url":"https://api.github.com/users/leewadhams/received_events","type":"User","site_admin":false},"assignees":[{"login":"leewadhams","id":634695,"avatar_url":"https://avatars.githubusercontent.com/u/634695?v=3","gravatar_id":"","url":"https://api.github.com/users/leewadhams","html_url":"https://github.com/leewadhams","followers_url":"https://api.github.com/users/leewadhams/followers","following_url":"https://api.github.com/users/leewadhams/following{/other_user}","gists_url":"https://api.github.com/users/leewadhams/gists{/gist_id}","starred_url":"https://api.github.com/users/leewadhams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leewadhams/subscriptions","organizations_url":"https://api.github.com/users/leewadhams/orgs","repos_url":"https://api.github.com/users/leewadhams/repos","events_url":"https://api.github.com/users/leewadhams/events{/privacy}","received_events_url":"https://api.github.com/users/leewadhams/received_events","type":"User","site_admin":false},{"login":"froberg","id":2270609,"avatar_url":"https://avatars.githubusercontent.com/u/2270609?v=3","gravatar_id":"","url":"https://api.github.com/users/froberg","html_url":"https://github.com/froberg","followers_url":"https://api.github.com/users/froberg/followers","following_url":"https://api.github.com/users/froberg/following{/other_user}","gists_url":"https://api.github.com/users/froberg/gists{/gist_id}","starred_url":"https://api.github.com/users/froberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/froberg/subscriptions","organizations_url":"https://api.github.com/users/froberg/orgs","repos_url":"https://api.github.com/users/froberg/repos","events_url":"https://api.github.com/users/froberg/events{/privacy}","received_events_url":"https://api.github.com/users/froberg/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/74/commits","review_comments_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/74/comments","review_comment_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues/74/comments","statuses_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/statuses/e6c201243760f10be96a2746e434255a3fc762ab","head":{"label":"SkillsFundingAgency:retrieve-all-apprenticeships","ref":"retrieve-all-apprenticeships","sha":"e6c201243760f10be96a2746e434255a3fc762ab","user":{"login":"SkillsFundingAgency","id":9841374,"avatar_url":"https://avatars.githubusercontent.com/u/9841374?v=3","gravatar_id":"","url":"https://api.github.com/users/SkillsFundingAgency","html_url":"https://github.com/SkillsFundingAgency","followers_url":"https://api.github.com/users/SkillsFundingAgency/followers","following_url":"https://api.github.com/users/SkillsFundingAgency/following{/other_user}","gists_url":"https://api.github.com/users/SkillsFundingAgency/gists{/gist_id}","starred_url":"https://api.github.com/users/SkillsFundingAgency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkillsFundingAgency/subscriptions","organizations_url":"https://api.github.com/users/SkillsFundingAgency/orgs","repos_url":"https://api.github.com/users/SkillsFundingAgency/repos","events_url":"https://api.github.com/users/SkillsFundingAgency/events{/privacy}","received_events_url":"https://api.github.com/users/SkillsFundingAgency/received_events","type":"Organization","site_admin":false},"repo":{"id":66072449,"name":"das-commitments","full_name":"SkillsFundingAgency/das-commitments","owner":{"login":"SkillsFundingAgency","id":9841374,"avatar_url":"https://avatars.githubusercontent.com/u/9841374?v=3","gravatar_id":"","url":"https://api.github.com/users/SkillsFundingAgency","html_url":"https://github.com/SkillsFundingAgency","followers_url":"https://api.github.com/users/SkillsFundingAgency/followers","following_url":"https://api.github.com/users/SkillsFundingAgency/following{/other_user}","gists_url":"https://api.github.com/users/SkillsFundingAgency/gists{/gist_id}","starred_url":"https://api.github.com/users/SkillsFundingAgency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkillsFundingAgency/subscriptions","organizations_url":"https://api.github.com/users/SkillsFundingAgency/orgs","repos_url":"https://api.github.com/users/SkillsFundingAgency/repos","events_url":"https://api.github.com/users/SkillsFundingAgency/events{/privacy}","received_events_url":"https://api.github.com/users/SkillsFundingAgency/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SkillsFundingAgency/das-commitments","description":"Commitments API for the Digital Apprenticeship Service","fork":false,"url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments","forks_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/forks","keys_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/teams","hooks_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/hooks","issue_events_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues/events{/number}","events_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/events","assignees_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/assignees{/user}","branches_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/branches{/branch}","tags_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/tags","blobs_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/refs{/sha}","trees_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/statuses/{sha}","languages_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/languages","stargazers_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/stargazers","contributors_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/contributors","subscribers_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/subscribers","subscription_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/subscription","commits_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/commits{/sha}","git_commits_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/commits{/sha}","comments_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/comments{/number}","issue_comment_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues/comments{/number}","contents_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/contents/{+path}","compare_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/merges","archive_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/downloads","issues_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues{/number}","pulls_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls{/number}","milestones_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/milestones{/number}","notifications_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/labels{/name}","releases_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/releases{/id}","deployments_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/deployments","created_at":"2016-08-19T09:53:33Z","updated_at":"2016-10-25T08:25:25Z","pushed_at":"2016-11-28T12:52:17Z","git_url":"git://github.com/SkillsFundingAgency/das-commitments.git","ssh_url":"git@github.com:SkillsFundingAgency/das-commitments.git","clone_url":"https://github.com/SkillsFundingAgency/das-commitments.git","svn_url":"https://github.com/SkillsFundingAgency/das-commitments","homepage":"","size":5157,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"SkillsFundingAgency:master","ref":"master","sha":"44870430bb3a949bab8fec81e7810e45b462df9a","user":{"login":"SkillsFundingAgency","id":9841374,"avatar_url":"https://avatars.githubusercontent.com/u/9841374?v=3","gravatar_id":"","url":"https://api.github.com/users/SkillsFundingAgency","html_url":"https://github.com/SkillsFundingAgency","followers_url":"https://api.github.com/users/SkillsFundingAgency/followers","following_url":"https://api.github.com/users/SkillsFundingAgency/following{/other_user}","gists_url":"https://api.github.com/users/SkillsFundingAgency/gists{/gist_id}","starred_url":"https://api.github.com/users/SkillsFundingAgency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkillsFundingAgency/subscriptions","organizations_url":"https://api.github.com/users/SkillsFundingAgency/orgs","repos_url":"https://api.github.com/users/SkillsFundingAgency/repos","events_url":"https://api.github.com/users/SkillsFundingAgency/events{/privacy}","received_events_url":"https://api.github.com/users/SkillsFundingAgency/received_events","type":"Organization","site_admin":false},"repo":{"id":66072449,"name":"das-commitments","full_name":"SkillsFundingAgency/das-commitments","owner":{"login":"SkillsFundingAgency","id":9841374,"avatar_url":"https://avatars.githubusercontent.com/u/9841374?v=3","gravatar_id":"","url":"https://api.github.com/users/SkillsFundingAgency","html_url":"https://github.com/SkillsFundingAgency","followers_url":"https://api.github.com/users/SkillsFundingAgency/followers","following_url":"https://api.github.com/users/SkillsFundingAgency/following{/other_user}","gists_url":"https://api.github.com/users/SkillsFundingAgency/gists{/gist_id}","starred_url":"https://api.github.com/users/SkillsFundingAgency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkillsFundingAgency/subscriptions","organizations_url":"https://api.github.com/users/SkillsFundingAgency/orgs","repos_url":"https://api.github.com/users/SkillsFundingAgency/repos","events_url":"https://api.github.com/users/SkillsFundingAgency/events{/privacy}","received_events_url":"https://api.github.com/users/SkillsFundingAgency/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SkillsFundingAgency/das-commitments","description":"Commitments API for the Digital Apprenticeship Service","fork":false,"url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments","forks_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/forks","keys_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/teams","hooks_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/hooks","issue_events_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues/events{/number}","events_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/events","assignees_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/assignees{/user}","branches_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/branches{/branch}","tags_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/tags","blobs_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/refs{/sha}","trees_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/statuses/{sha}","languages_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/languages","stargazers_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/stargazers","contributors_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/contributors","subscribers_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/subscribers","subscription_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/subscription","commits_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/commits{/sha}","git_commits_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/git/commits{/sha}","comments_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/comments{/number}","issue_comment_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues/comments{/number}","contents_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/contents/{+path}","compare_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/merges","archive_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/downloads","issues_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues{/number}","pulls_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls{/number}","milestones_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/milestones{/number}","notifications_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/labels{/name}","releases_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/releases{/id}","deployments_url":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/deployments","created_at":"2016-08-19T09:53:33Z","updated_at":"2016-10-25T08:25:25Z","pushed_at":"2016-11-28T12:52:17Z","git_url":"git://github.com/SkillsFundingAgency/das-commitments.git","ssh_url":"git@github.com:SkillsFundingAgency/das-commitments.git","clone_url":"https://github.com/SkillsFundingAgency/das-commitments.git","svn_url":"https://github.com/SkillsFundingAgency/das-commitments","homepage":"","size":5157,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/74"},"html":{"href":"https://github.com/SkillsFundingAgency/das-commitments/pull/74"},"issue":{"href":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues/74"},"comments":{"href":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/SkillsFundingAgency/das-commitments/statuses/e6c201243760f10be96a2746e434255a3fc762ab"}}}}
{"actor":{"display_login":"leewadhams"}}