{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/comments/73314564","id":73314564,"diff_hunk":"@@ -2,6 +2,18 @@\n \n Records breaking changes from major version bumps\n \n+## 6.0.0\n+\n+PR: [#31](https://github.com/alphagov/digitalmarketplace-apiclient/pull/31)\n+\n+### What changed\n+\n+Removed `update_brief_status` method.\n+\n+This functionality has been removed and calls to publish a brief (i.e. change it's status from\n+'draft' to 'live') should now use the `publish_brief` method. There should no other current\n+uses of the `update_brief_status` in our apps that set a status to something other than 'live'.\n+","path":"CHANGELOG.md","position":15,"original_position":15,"commit_id":"45dbfa9d9a297e2d1ad811734cf5ad9af0de6b58","original_commit_id":"9a5a99aa2855c9022da8d42db042d5ef88f8ad35","user":{"login":"idavidmcdonald","id":7228605,"avatar_url":"https://avatars.githubusercontent.com/u/7228605?v=3","gravatar_id":"","url":"https://api.github.com/users/idavidmcdonald","html_url":"https://github.com/idavidmcdonald","followers_url":"https://api.github.com/users/idavidmcdonald/followers","following_url":"https://api.github.com/users/idavidmcdonald/following{/other_user}","gists_url":"https://api.github.com/users/idavidmcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/idavidmcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idavidmcdonald/subscriptions","organizations_url":"https://api.github.com/users/idavidmcdonald/orgs","repos_url":"https://api.github.com/users/idavidmcdonald/repos","events_url":"https://api.github.com/users/idavidmcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/idavidmcdonald/received_events","type":"User","site_admin":false},"body":"Thanks, have added.","created_at":"2016-08-03T10:24:01Z","updated_at":"2016-08-03T10:24:01Z","html_url":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/31#discussion_r73314564","pull_request_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/comments/73314564"},"html":{"href":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/31#discussion_r73314564"},"pull_request":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/31","id":79375309,"html_url":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/31","diff_url":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/31.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/31.patch","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/31","number":31,"state":"open","locked":false,"title":"Remove `update_brief_status' method and add `publish_brief` method","user":{"login":"idavidmcdonald","id":7228605,"avatar_url":"https://avatars.githubusercontent.com/u/7228605?v=3","gravatar_id":"","url":"https://api.github.com/users/idavidmcdonald","html_url":"https://github.com/idavidmcdonald","followers_url":"https://api.github.com/users/idavidmcdonald/followers","following_url":"https://api.github.com/users/idavidmcdonald/following{/other_user}","gists_url":"https://api.github.com/users/idavidmcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/idavidmcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idavidmcdonald/subscriptions","organizations_url":"https://api.github.com/users/idavidmcdonald/orgs","repos_url":"https://api.github.com/users/idavidmcdonald/repos","events_url":"https://api.github.com/users/idavidmcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/idavidmcdonald/received_events","type":"User","site_admin":false},"body":"- Relies on [the API pull request](url) to be merged first.\r\n\r\n- Breaking change, bumps version to 6.0.0\r\n\r\n- Functionality to update a brief's status to a requested value has been deprecated in the API. A `publish` route has been added to the API, which updates the brief's status from 'draft' to 'live', that should be used instead. We have therefore removed the clients `update_brief_status` method and added a `publish_brief` method to enable this transition.\r\n\r\n- Note, whilst a `withdraw` route has also been added to the API, we are not yet adding that to the client as this route should not be used in any of our front end apps. Withdrawing functionality is not yet being given to users and instead developers will directly curl the API to withdraw an opportunity.","created_at":"2016-07-29T15:10:43Z","updated_at":"2016-08-03T10:24:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2f3da7a1bf73282a2ce054a7da1c3d81dca453c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/31/commits","review_comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/31/comments","review_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/31/comments","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/statuses/45dbfa9d9a297e2d1ad811734cf5ad9af0de6b58","head":{"label":"alphagov:dm-publish-brief","ref":"dm-publish-brief","sha":"45dbfa9d9a297e2d1ad811734cf5ad9af0de6b58","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":48757766,"name":"digitalmarketplace-apiclient","full_name":"alphagov/digitalmarketplace-apiclient","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-apiclient","description":"Digital Marketplace Data and Search API clients","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/deployments","created_at":"2015-12-29T16:58:38Z","updated_at":"2016-01-19T18:43:37Z","pushed_at":"2016-08-01T16:10:59Z","git_url":"git://github.com/alphagov/digitalmarketplace-apiclient.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-apiclient.git","clone_url":"https://github.com/alphagov/digitalmarketplace-apiclient.git","svn_url":"https://github.com/alphagov/digitalmarketplace-apiclient","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"329d67a9dd512012e466d0d7a2ced8c4e8d3eb2d","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":48757766,"name":"digitalmarketplace-apiclient","full_name":"alphagov/digitalmarketplace-apiclient","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-apiclient","description":"Digital Marketplace Data and Search API clients","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/deployments","created_at":"2015-12-29T16:58:38Z","updated_at":"2016-01-19T18:43:37Z","pushed_at":"2016-08-01T16:10:59Z","git_url":"git://github.com/alphagov/digitalmarketplace-apiclient.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-apiclient.git","clone_url":"https://github.com/alphagov/digitalmarketplace-apiclient.git","svn_url":"https://github.com/alphagov/digitalmarketplace-apiclient","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/31"},"html":{"href":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/31"},"issue":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/31"},"comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/statuses/45dbfa9d9a297e2d1ad811734cf5ad9af0de6b58"}}}}
{"actor":{"display_login":"idavidmcdonald"}}