{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/comments/206260194","pull_request_review_id":141640803,"id":206260194,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjI2MDE5NA==","diff_hunk":"@@ -20,6 +20,15 @@ def index\n       render_resource :entrypoint, res\n     end\n \n+    def product_info","path":"app/controllers/api/api_controller.rb","position":4,"original_position":4,"commit_id":"e4dc9f6dee2731a927ad24938c2c8ab643bd6943","original_commit_id":"e4dc9f6dee2731a927ad24938c2c8ab643bd6943","user":{"login":"Fryguy","id":52120,"node_id":"MDQ6VXNlcjUyMTIw","avatar_url":"https://avatars3.githubusercontent.com/u/52120?v=4","gravatar_id":"","url":"https://api.github.com/users/Fryguy","html_url":"https://github.com/Fryguy","followers_url":"https://api.github.com/users/Fryguy/followers","following_url":"https://api.github.com/users/Fryguy/following{/other_user}","gists_url":"https://api.github.com/users/Fryguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Fryguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fryguy/subscriptions","organizations_url":"https://api.github.com/users/Fryguy/orgs","repos_url":"https://api.github.com/users/Fryguy/repos","events_url":"https://api.github.com/users/Fryguy/events{/privacy}","received_events_url":"https://api.github.com/users/Fryguy/received_events","type":"User","site_admin":false},"body":"Is this also implying that we already have this endpoint?","created_at":"2018-07-30T17:39:34Z","updated_at":"2018-07-30T17:39:34Z","html_url":"https://github.com/ManageIQ/manageiq-api/pull/438#discussion_r206260194","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/438","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/comments/206260194"},"html":{"href":"https://github.com/ManageIQ/manageiq-api/pull/438#discussion_r206260194"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/438"}},"in_reply_to_id":206255100},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/438","id":204781189,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NzgxMTg5","html_url":"https://github.com/ManageIQ/manageiq-api/pull/438","diff_url":"https://github.com/ManageIQ/manageiq-api/pull/438.diff","patch_url":"https://github.com/ManageIQ/manageiq-api/pull/438.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq-api/issues/438","number":438,"state":"open","locked":false,"title":"[RFE] Add the /api/product_info route with product and branding info","user":{"login":"skateman","id":649130,"node_id":"MDQ6VXNlcjY0OTEzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/649130?v=4","gravatar_id":"","url":"https://api.github.com/users/skateman","html_url":"https://github.com/skateman","followers_url":"https://api.github.com/users/skateman/followers","following_url":"https://api.github.com/users/skateman/following{/other_user}","gists_url":"https://api.github.com/users/skateman/gists{/gist_id}","starred_url":"https://api.github.com/users/skateman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skateman/subscriptions","organizations_url":"https://api.github.com/users/skateman/orgs","repos_url":"https://api.github.com/users/skateman/repos","events_url":"https://api.github.com/users/skateman/events{/privacy}","received_events_url":"https://api.github.com/users/skateman/received_events","type":"User","site_admin":false},"body":"If we want to customize the product name, it's necessary to have a request that returns the product info without authentication. I found out that the OPTIONS requests don't require authentication, but this is maybe not *The Right Way&trade;*. \r\n\r\n@miq-bot add_reviewer @abellotti \r\n\r\nRFE BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1471301","created_at":"2018-07-30T11:59:58Z","updated_at":"2018-07-30T17:39:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e383a2bb187b537697b8d0e1b34eaeff27787b3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/438/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/438/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-api/issues/438/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq-api/statuses/e4dc9f6dee2731a927ad24938c2c8ab643bd6943","head":{"label":"skateman:product-info-api","ref":"product-info-api","sha":"e4dc9f6dee2731a927ad24938c2c8ab643bd6943","user":{"login":"skateman","id":649130,"node_id":"MDQ6VXNlcjY0OTEzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/649130?v=4","gravatar_id":"","url":"https://api.github.com/users/skateman","html_url":"https://github.com/skateman","followers_url":"https://api.github.com/users/skateman/followers","following_url":"https://api.github.com/users/skateman/following{/other_user}","gists_url":"https://api.github.com/users/skateman/gists{/gist_id}","starred_url":"https://api.github.com/users/skateman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skateman/subscriptions","organizations_url":"https://api.github.com/users/skateman/orgs","repos_url":"https://api.github.com/users/skateman/repos","events_url":"https://api.github.com/users/skateman/events{/privacy}","received_events_url":"https://api.github.com/users/skateman/received_events","type":"User","site_admin":false},"repo":{"id":137766123,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3NjYxMjM=","name":"manageiq-api","full_name":"skateman/manageiq-api","owner":{"login":"skateman","id":649130,"node_id":"MDQ6VXNlcjY0OTEzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/649130?v=4","gravatar_id":"","url":"https://api.github.com/users/skateman","html_url":"https://github.com/skateman","followers_url":"https://api.github.com/users/skateman/followers","following_url":"https://api.github.com/users/skateman/following{/other_user}","gists_url":"https://api.github.com/users/skateman/gists{/gist_id}","starred_url":"https://api.github.com/users/skateman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skateman/subscriptions","organizations_url":"https://api.github.com/users/skateman/orgs","repos_url":"https://api.github.com/users/skateman/repos","events_url":"https://api.github.com/users/skateman/events{/privacy}","received_events_url":"https://api.github.com/users/skateman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skateman/manageiq-api","description":"ManageIQ API","fork":true,"url":"https://api.github.com/repos/skateman/manageiq-api","forks_url":"https://api.github.com/repos/skateman/manageiq-api/forks","keys_url":"https://api.github.com/repos/skateman/manageiq-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skateman/manageiq-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skateman/manageiq-api/teams","hooks_url":"https://api.github.com/repos/skateman/manageiq-api/hooks","issue_events_url":"https://api.github.com/repos/skateman/manageiq-api/issues/events{/number}","events_url":"https://api.github.com/repos/skateman/manageiq-api/events","assignees_url":"https://api.github.com/repos/skateman/manageiq-api/assignees{/user}","branches_url":"https://api.github.com/repos/skateman/manageiq-api/branches{/branch}","tags_url":"https://api.github.com/repos/skateman/manageiq-api/tags","blobs_url":"https://api.github.com/repos/skateman/manageiq-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skateman/manageiq-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skateman/manageiq-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/skateman/manageiq-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skateman/manageiq-api/statuses/{sha}","languages_url":"https://api.github.com/repos/skateman/manageiq-api/languages","stargazers_url":"https://api.github.com/repos/skateman/manageiq-api/stargazers","contributors_url":"https://api.github.com/repos/skateman/manageiq-api/contributors","subscribers_url":"https://api.github.com/repos/skateman/manageiq-api/subscribers","subscription_url":"https://api.github.com/repos/skateman/manageiq-api/subscription","commits_url":"https://api.github.com/repos/skateman/manageiq-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/skateman/manageiq-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/skateman/manageiq-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/skateman/manageiq-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/skateman/manageiq-api/contents/{+path}","compare_url":"https://api.github.com/repos/skateman/manageiq-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skateman/manageiq-api/merges","archive_url":"https://api.github.com/repos/skateman/manageiq-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skateman/manageiq-api/downloads","issues_url":"https://api.github.com/repos/skateman/manageiq-api/issues{/number}","pulls_url":"https://api.github.com/repos/skateman/manageiq-api/pulls{/number}","milestones_url":"https://api.github.com/repos/skateman/manageiq-api/milestones{/number}","notifications_url":"https://api.github.com/repos/skateman/manageiq-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skateman/manageiq-api/labels{/name}","releases_url":"https://api.github.com/repos/skateman/manageiq-api/releases{/id}","deployments_url":"https://api.github.com/repos/skateman/manageiq-api/deployments","created_at":"2018-06-18T14:56:08Z","updated_at":"2018-07-30T11:46:11Z","pushed_at":"2018-07-30T16:42:15Z","git_url":"git://github.com/skateman/manageiq-api.git","ssh_url":"git@github.com:skateman/manageiq-api.git","clone_url":"https://github.com/skateman/manageiq-api.git","svn_url":"https://github.com/skateman/manageiq-api","homepage":null,"size":4095,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"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":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"93579b583ee695d6d9861bf746f836ca2fe09e97","user":{"login":"ManageIQ","id":1125575,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjU1NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":99615440,"node_id":"MDEwOlJlcG9zaXRvcnk5OTYxNTQ0MA==","name":"manageiq-api","full_name":"ManageIQ/manageiq-api","owner":{"login":"ManageIQ","id":1125575,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjU1NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1125575?v=4","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq-api","description":"ManageIQ API","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq-api","forks_url":"https://api.github.com/repos/ManageIQ/manageiq-api/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq-api/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq-api/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq-api/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq-api/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq-api/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq-api/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq-api/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq-api/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq-api/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq-api/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq-api/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq-api/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq-api/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq-api/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq-api/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq-api/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq-api/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq-api/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq-api/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq-api/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq-api/deployments","created_at":"2017-08-07T20:05:29Z","updated_at":"2018-07-30T15:44:10Z","pushed_at":"2018-07-30T16:42:17Z","git_url":"git://github.com/ManageIQ/manageiq-api.git","ssh_url":"git@github.com:ManageIQ/manageiq-api.git","clone_url":"https://github.com/ManageIQ/manageiq-api.git","svn_url":"https://github.com/ManageIQ/manageiq-api","homepage":null,"size":4123,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":82,"mirror_url":null,"archived":false,"open_issues_count":39,"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":82,"open_issues":39,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/438"},"html":{"href":"https://github.com/ManageIQ/manageiq-api/pull/438"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq-api/issues/438"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq-api/issues/438/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/438/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq-api/pulls/438/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq-api/statuses/e4dc9f6dee2731a927ad24938c2c8ab643bd6943"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Fryguy"}}