{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls/11","id":234657643,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NjU3NjQz","html_url":"https://github.com/Cimpress/cimpress-fulfillment-location/pull/11","diff_url":"https://github.com/Cimpress/cimpress-fulfillment-location/pull/11.diff","patch_url":"https://github.com/Cimpress/cimpress-fulfillment-location/pull/11.patch","issue_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues/11","number":11,"state":"closed","locked":false,"title":"Add skip Cache and reformat parameters","user":{"login":"victorcuena","id":8748977,"node_id":"MDQ6VXNlcjg3NDg5Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/8748977?v=4","gravatar_id":"","url":"https://api.github.com/users/victorcuena","html_url":"https://github.com/victorcuena","followers_url":"https://api.github.com/users/victorcuena/followers","following_url":"https://api.github.com/users/victorcuena/following{/other_user}","gists_url":"https://api.github.com/users/victorcuena/gists{/gist_id}","starred_url":"https://api.github.com/users/victorcuena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorcuena/subscriptions","organizations_url":"https://api.github.com/users/victorcuena/orgs","repos_url":"https://api.github.com/users/victorcuena/repos","events_url":"https://api.github.com/users/victorcuena/events{/privacy}","received_events_url":"https://api.github.com/users/victorcuena/received_events","type":"User","site_admin":false},"body":"Added the posibility of skiping the cache of CloudFront and the Browser adding the headers `Cache-Control: no-cache` and `X-Cache-Id: Math.random()` if the parameter skipCache is provided with the value `true`, \r\n\r\nThe way we were adding parameters to the functions will become unreadable if we keep adding them.\r\n\r\nAdding an object it's much more intuitive. See:\r\n```\r\nfl.getLocations('TOKEN',true,true)\r\n```\r\n```\r\nfl.getLocations({\r\n   authorization: \"TOKEN\",\r\n   skipCache: true,\r\n   showArchived: true\r\n})\r\n```","created_at":"2018-11-29T14:28:09Z","updated_at":"2018-11-30T09:33:28Z","closed_at":"2018-11-30T09:33:28Z","merged_at":"2018-11-30T09:33:28Z","merge_commit_sha":"03e1a469d13182ccf2933aad1b37c14d6760e185","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls/11/commits","review_comments_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls/11/comments","review_comment_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues/11/comments","statuses_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/statuses/71021c6ee72c74c15cefbd8ea5eda712b51bba8b","head":{"label":"Cimpress:skip-cache","ref":"skip-cache","sha":"71021c6ee72c74c15cefbd8ea5eda712b51bba8b","user":{"login":"Cimpress","id":30873508,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODczNTA4","avatar_url":"https://avatars0.githubusercontent.com/u/30873508?v=4","gravatar_id":"","url":"https://api.github.com/users/Cimpress","html_url":"https://github.com/Cimpress","followers_url":"https://api.github.com/users/Cimpress/followers","following_url":"https://api.github.com/users/Cimpress/following{/other_user}","gists_url":"https://api.github.com/users/Cimpress/gists{/gist_id}","starred_url":"https://api.github.com/users/Cimpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cimpress/subscriptions","organizations_url":"https://api.github.com/users/Cimpress/orgs","repos_url":"https://api.github.com/users/Cimpress/repos","events_url":"https://api.github.com/users/Cimpress/events{/privacy}","received_events_url":"https://api.github.com/users/Cimpress/received_events","type":"Organization","site_admin":false},"repo":{"id":112785157,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI3ODUxNTc=","name":"cimpress-fulfillment-location","full_name":"Cimpress/cimpress-fulfillment-location","private":false,"owner":{"login":"Cimpress","id":30873508,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODczNTA4","avatar_url":"https://avatars0.githubusercontent.com/u/30873508?v=4","gravatar_id":"","url":"https://api.github.com/users/Cimpress","html_url":"https://github.com/Cimpress","followers_url":"https://api.github.com/users/Cimpress/followers","following_url":"https://api.github.com/users/Cimpress/following{/other_user}","gists_url":"https://api.github.com/users/Cimpress/gists{/gist_id}","starred_url":"https://api.github.com/users/Cimpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cimpress/subscriptions","organizations_url":"https://api.github.com/users/Cimpress/orgs","repos_url":"https://api.github.com/users/Cimpress/repos","events_url":"https://api.github.com/users/Cimpress/events{/privacy}","received_events_url":"https://api.github.com/users/Cimpress/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Cimpress/cimpress-fulfillment-location","description":"Client for the fulfillment location service","fork":false,"url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location","forks_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/forks","keys_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/teams","hooks_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/hooks","issue_events_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues/events{/number}","events_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/events","assignees_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/assignees{/user}","branches_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/branches{/branch}","tags_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/tags","blobs_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/statuses/{sha}","languages_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/languages","stargazers_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/stargazers","contributors_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/contributors","subscribers_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/subscribers","subscription_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/subscription","commits_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/contents/{+path}","compare_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/merges","archive_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/downloads","issues_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues{/number}","pulls_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls{/number}","milestones_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/milestones{/number}","notifications_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/labels{/name}","releases_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/releases{/id}","deployments_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/deployments","created_at":"2017-12-01T20:46:11Z","updated_at":"2018-11-28T14:17:47Z","pushed_at":"2018-11-30T09:33:28Z","git_url":"git://github.com/Cimpress/cimpress-fulfillment-location.git","ssh_url":"git@github.com:Cimpress/cimpress-fulfillment-location.git","clone_url":"https://github.com/Cimpress/cimpress-fulfillment-location.git","svn_url":"https://github.com/Cimpress/cimpress-fulfillment-location","homepage":null,"size":94,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":5,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"Cimpress:master","ref":"master","sha":"2dcfe9bd5ba31cdc8cadadd3ea21a97150b92440","user":{"login":"Cimpress","id":30873508,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODczNTA4","avatar_url":"https://avatars0.githubusercontent.com/u/30873508?v=4","gravatar_id":"","url":"https://api.github.com/users/Cimpress","html_url":"https://github.com/Cimpress","followers_url":"https://api.github.com/users/Cimpress/followers","following_url":"https://api.github.com/users/Cimpress/following{/other_user}","gists_url":"https://api.github.com/users/Cimpress/gists{/gist_id}","starred_url":"https://api.github.com/users/Cimpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cimpress/subscriptions","organizations_url":"https://api.github.com/users/Cimpress/orgs","repos_url":"https://api.github.com/users/Cimpress/repos","events_url":"https://api.github.com/users/Cimpress/events{/privacy}","received_events_url":"https://api.github.com/users/Cimpress/received_events","type":"Organization","site_admin":false},"repo":{"id":112785157,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI3ODUxNTc=","name":"cimpress-fulfillment-location","full_name":"Cimpress/cimpress-fulfillment-location","private":false,"owner":{"login":"Cimpress","id":30873508,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODczNTA4","avatar_url":"https://avatars0.githubusercontent.com/u/30873508?v=4","gravatar_id":"","url":"https://api.github.com/users/Cimpress","html_url":"https://github.com/Cimpress","followers_url":"https://api.github.com/users/Cimpress/followers","following_url":"https://api.github.com/users/Cimpress/following{/other_user}","gists_url":"https://api.github.com/users/Cimpress/gists{/gist_id}","starred_url":"https://api.github.com/users/Cimpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cimpress/subscriptions","organizations_url":"https://api.github.com/users/Cimpress/orgs","repos_url":"https://api.github.com/users/Cimpress/repos","events_url":"https://api.github.com/users/Cimpress/events{/privacy}","received_events_url":"https://api.github.com/users/Cimpress/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Cimpress/cimpress-fulfillment-location","description":"Client for the fulfillment location service","fork":false,"url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location","forks_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/forks","keys_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/teams","hooks_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/hooks","issue_events_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues/events{/number}","events_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/events","assignees_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/assignees{/user}","branches_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/branches{/branch}","tags_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/tags","blobs_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/statuses/{sha}","languages_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/languages","stargazers_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/stargazers","contributors_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/contributors","subscribers_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/subscribers","subscription_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/subscription","commits_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/contents/{+path}","compare_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/merges","archive_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/downloads","issues_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues{/number}","pulls_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls{/number}","milestones_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/milestones{/number}","notifications_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/labels{/name}","releases_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/releases{/id}","deployments_url":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/deployments","created_at":"2017-12-01T20:46:11Z","updated_at":"2018-11-28T14:17:47Z","pushed_at":"2018-11-30T09:33:28Z","git_url":"git://github.com/Cimpress/cimpress-fulfillment-location.git","ssh_url":"git@github.com:Cimpress/cimpress-fulfillment-location.git","clone_url":"https://github.com/Cimpress/cimpress-fulfillment-location.git","svn_url":"https://github.com/Cimpress/cimpress-fulfillment-location","homepage":null,"size":94,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":5,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls/11"},"html":{"href":"https://github.com/Cimpress/cimpress-fulfillment-location/pull/11"},"issue":{"href":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues/11"},"comments":{"href":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/Cimpress/cimpress-fulfillment-location/statuses/71021c6ee72c74c15cefbd8ea5eda712b51bba8b"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"victorcuena","id":8748977,"node_id":"MDQ6VXNlcjg3NDg5Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/8748977?v=4","gravatar_id":"","url":"https://api.github.com/users/victorcuena","html_url":"https://github.com/victorcuena","followers_url":"https://api.github.com/users/victorcuena/followers","following_url":"https://api.github.com/users/victorcuena/following{/other_user}","gists_url":"https://api.github.com/users/victorcuena/gists{/gist_id}","starred_url":"https://api.github.com/users/victorcuena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorcuena/subscriptions","organizations_url":"https://api.github.com/users/victorcuena/orgs","repos_url":"https://api.github.com/users/victorcuena/repos","events_url":"https://api.github.com/users/victorcuena/events{/privacy}","received_events_url":"https://api.github.com/users/victorcuena/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"maintainer_can_modify":false,"commits":5,"additions":196,"deletions":71,"changed_files":8}}
{"actor":{"display_login":"victorcuena"}}