{"action":"created","comment":{"url":"https://api.github.com/repos/openfaas/faas-cli/pulls/comments/216304522","pull_request_review_id":153752082,"id":216304522,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjMwNDUyMg==","diff_hunk":"@@ -0,0 +1,106 @@\n+// Copyright (c) OpenFaaS Author(s) 2018. All rights reserved.\n+// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n+\n+package commands\n+\n+import (\n+\t\"fmt\"\n+\t\"os\"\n+\t\"strings\"\n+\n+\t\"github.com/openfaas/faas-cli/proxy\"\n+\t\"github.com/openfaas/faas-cli/stack\"\n+\n+\t\"github.com/spf13/cobra\"\n+)\n+\n+func init() {\n+\tdescribeCmd.Flags().StringVar(&functionName, \"name\", \"\", \"Name of the function\")\n+\tdescribeCmd.Flags().StringVarP(&gateway, \"gateway\", \"g\", defaultGateway, \"Gateway URL starting with http(s)://\")\n+\tdescribeCmd.Flags().BoolVar(&tlsInsecure, \"tls-no-verify\", false, \"Disable TLS validation\")\n+\tfaasCmd.AddCommand(describeCmd)\n+}\n+\n+var describeCmd = &cobra.Command{\n+\tUse:   \"describe FUNCTION_NAME [--gateway GATEWAY_URL]\",\n+\tShort: \"Describe an OpenFaaS function\",\n+\tLong:  `Display details of an OpenFaaS function`,\n+\tExample: `faas-cli describe figlet \n+faas-cli describe env --gateway http://127.0.0.1:8080\n+faas-cli describe echo -g http://127.0.0.1.8080`,\n+\tPreRunE: preRunDescribe,\n+\tRunE:    runDescribe,\n+}\n+\n+func preRunDescribe(cmd *cobra.Command, args []string) error {\n+\treturn nil\n+}\n+\n+func runDescribe(cmd *cobra.Command, args []string) error {\n+\tif len(args) < 1 {\n+\t\treturn fmt.Errorf(\"please provide a name for the function\")\n+\t}\n+\tvar yamlGateway string\n+\tvar services stack.Services\n+\tfunctionName = args[0]\n+\n+\tif len(yamlFile) > 0 {\n+\t\tparsedServices, err := stack.ParseYAMLFile(yamlFile, regex, filter)\n+\t\tif err != nil {\n+\t\t\treturn err\n+\t\t}\n+\n+\t\tif parsedServices != nil {\n+\t\t\tservices = *parsedServices\n+\t\t\tyamlGateway = services.Provider.GatewayURL\n+\t\t}\n+\t}\n+\tgatewayAddress := getGatewayURL(gateway, defaultGateway, yamlGateway, os.Getenv(openFaaSURLEnvironment))\n+\n+\tfunction, err := proxy.GetFunctionInfo(gatewayAddress, functionName, tlsInsecure)\n+\tif err != nil {\n+\t\treturn err\n+\t}\n+\n+\t//To get correct value for invocation count from /system/functions endpoint\n+\tfunctionList, err := proxy.ListFunctions(gatewayAddress, tlsInsecure)\n+\tif err != nil {\n+\t\treturn err\n+\t}\n+\n+\tvar invocationCount float64\n+\tfor _, fn := range functionList {\n+\t\tif fn.Name == function.Name {\n+\t\t\tinvocationCount = fn.InvocationCount\n+\t\t}\n+\t}\n+\n+\tvar status string\n+\tif function.AvailableReplicas > 0 {\n+\t\tstatus = \"Ready\"\n+\t} else {\n+\t\tstatus = \"Not Ready\"\n+\t}","path":"commands/describe.go","position":83,"original_position":83,"commit_id":"1fe7ecc51fb5e45610c1ef7375187b0b754c1d11","original_commit_id":"1fe7ecc51fb5e45610c1ef7375187b0b754c1d11","user":{"login":"alexellis","id":6358735,"node_id":"MDQ6VXNlcjYzNTg3MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/6358735?v=4","gravatar_id":"","url":"https://api.github.com/users/alexellis","html_url":"https://github.com/alexellis","followers_url":"https://api.github.com/users/alexellis/followers","following_url":"https://api.github.com/users/alexellis/following{/other_user}","gists_url":"https://api.github.com/users/alexellis/gists{/gist_id}","starred_url":"https://api.github.com/users/alexellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexellis/subscriptions","organizations_url":"https://api.github.com/users/alexellis/orgs","repos_url":"https://api.github.com/users/alexellis/repos","events_url":"https://api.github.com/users/alexellis/events{/privacy}","received_events_url":"https://api.github.com/users/alexellis/received_events","type":"User","site_admin":false},"body":"Please amend as per above","created_at":"2018-09-10T12:38:19Z","updated_at":"2018-09-10T12:38:19Z","html_url":"https://github.com/openfaas/faas-cli/pull/514#discussion_r216304522","pull_request_url":"https://api.github.com/repos/openfaas/faas-cli/pulls/514","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openfaas/faas-cli/pulls/comments/216304522"},"html":{"href":"https://github.com/openfaas/faas-cli/pull/514#discussion_r216304522"},"pull_request":{"href":"https://api.github.com/repos/openfaas/faas-cli/pulls/514"}},"in_reply_to_id":214738352},"pull_request":{"url":"https://api.github.com/repos/openfaas/faas-cli/pulls/514","id":210916972,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwOTE2OTcy","html_url":"https://github.com/openfaas/faas-cli/pull/514","diff_url":"https://github.com/openfaas/faas-cli/pull/514.diff","patch_url":"https://github.com/openfaas/faas-cli/pull/514.patch","issue_url":"https://api.github.com/repos/openfaas/faas-cli/issues/514","number":514,"state":"open","locked":false,"title":"Add describe verb for a function","user":{"login":"viveksyngh","id":3869193,"node_id":"MDQ6VXNlcjM4NjkxOTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3869193?v=4","gravatar_id":"","url":"https://api.github.com/users/viveksyngh","html_url":"https://github.com/viveksyngh","followers_url":"https://api.github.com/users/viveksyngh/followers","following_url":"https://api.github.com/users/viveksyngh/following{/other_user}","gists_url":"https://api.github.com/users/viveksyngh/gists{/gist_id}","starred_url":"https://api.github.com/users/viveksyngh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viveksyngh/subscriptions","organizations_url":"https://api.github.com/users/viveksyngh/orgs","repos_url":"https://api.github.com/users/viveksyngh/repos","events_url":"https://api.github.com/users/viveksyngh/events{/privacy}","received_events_url":"https://api.github.com/users/viveksyngh/received_events","type":"User","site_admin":false},"body":"This commit adds a new verb `describe` to display information of an\r\nOpenFaaS function.\r\n\r\nFixes: #446\r\n\r\nSigned-off-by: Vivek Singh <vivekkmr45@yahoo.in>\r\n\r\n<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\n\r\n## Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\n- [x] I have raised an issue to propose this change ([required]\r\n(https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md))\r\n\r\nissue #446 \r\n\r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\n\r\nThis has been tested on my local system. \r\n\r\n```\r\n./faas-cli describe haveibeenpwned\r\nName:\t\t\thaveibeenpwned\r\nStatus:\t\t\tNot Ready\r\nReplicas:\t\t1\r\nAvailable replicas:\t0\r\nInvocations:\t\t0\r\nImage:\t\t\tfunctions/haveibeenpwned:0.1\r\nFunction process:\r\nURL:\t\t\thttp://127.0.0.1:8080/function/haveibeenpwned\r\nAsync URL:\t\thttp://127.0.0.1:8080/async-function/haveibeenpwned\r\n➜  faas-cli git:(describe_verb) ✗ ./faas-cli describe env\r\nName:\t\t\tenv\r\nStatus:\t\t\tReady\r\nReplicas:\t\t1\r\nAvailable replicas:\t1\r\nInvocations:\t\t0\r\nImage:\t\t\tfunctions/alpine:latest\r\nFunction process:\tenv\r\nURL:\t\t\thttp://127.0.0.1:8080/function/env\r\nAsync URL:\t\thttp://127.0.0.1:8080/async-function/env\r\n\r\n./faas-cli describe figlet\r\nServer returned unexpected status code: 404 -\r\n\r\n```\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [x] I've read the [CONTRIBUTION](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md) guide\r\n- [x] I have signed-off my commits with `git commit -s`\r\n- [x] I have added tests to cover my changes.\r\n- [ ] All new and existing tests passed.\r\n","created_at":"2018-08-25T19:11:02Z","updated_at":"2018-09-10T12:38:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e93223d79e2326a808c1c2259c1c32dad47a088","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openfaas/faas-cli/pulls/514/commits","review_comments_url":"https://api.github.com/repos/openfaas/faas-cli/pulls/514/comments","review_comment_url":"https://api.github.com/repos/openfaas/faas-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfaas/faas-cli/issues/514/comments","statuses_url":"https://api.github.com/repos/openfaas/faas-cli/statuses/1fe7ecc51fb5e45610c1ef7375187b0b754c1d11","head":{"label":"viveksyngh:describe_verb","ref":"describe_verb","sha":"1fe7ecc51fb5e45610c1ef7375187b0b754c1d11","user":{"login":"viveksyngh","id":3869193,"node_id":"MDQ6VXNlcjM4NjkxOTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3869193?v=4","gravatar_id":"","url":"https://api.github.com/users/viveksyngh","html_url":"https://github.com/viveksyngh","followers_url":"https://api.github.com/users/viveksyngh/followers","following_url":"https://api.github.com/users/viveksyngh/following{/other_user}","gists_url":"https://api.github.com/users/viveksyngh/gists{/gist_id}","starred_url":"https://api.github.com/users/viveksyngh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viveksyngh/subscriptions","organizations_url":"https://api.github.com/users/viveksyngh/orgs","repos_url":"https://api.github.com/users/viveksyngh/repos","events_url":"https://api.github.com/users/viveksyngh/events{/privacy}","received_events_url":"https://api.github.com/users/viveksyngh/received_events","type":"User","site_admin":false},"repo":{"id":105567311,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU1NjczMTE=","name":"faas-cli","full_name":"viveksyngh/faas-cli","owner":{"login":"viveksyngh","id":3869193,"node_id":"MDQ6VXNlcjM4NjkxOTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3869193?v=4","gravatar_id":"","url":"https://api.github.com/users/viveksyngh","html_url":"https://github.com/viveksyngh","followers_url":"https://api.github.com/users/viveksyngh/followers","following_url":"https://api.github.com/users/viveksyngh/following{/other_user}","gists_url":"https://api.github.com/users/viveksyngh/gists{/gist_id}","starred_url":"https://api.github.com/users/viveksyngh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viveksyngh/subscriptions","organizations_url":"https://api.github.com/users/viveksyngh/orgs","repos_url":"https://api.github.com/users/viveksyngh/repos","events_url":"https://api.github.com/users/viveksyngh/events{/privacy}","received_events_url":"https://api.github.com/users/viveksyngh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/viveksyngh/faas-cli","description":"Official CLI for the OpenFaaS Serverless framework","fork":true,"url":"https://api.github.com/repos/viveksyngh/faas-cli","forks_url":"https://api.github.com/repos/viveksyngh/faas-cli/forks","keys_url":"https://api.github.com/repos/viveksyngh/faas-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/viveksyngh/faas-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/viveksyngh/faas-cli/teams","hooks_url":"https://api.github.com/repos/viveksyngh/faas-cli/hooks","issue_events_url":"https://api.github.com/repos/viveksyngh/faas-cli/issues/events{/number}","events_url":"https://api.github.com/repos/viveksyngh/faas-cli/events","assignees_url":"https://api.github.com/repos/viveksyngh/faas-cli/assignees{/user}","branches_url":"https://api.github.com/repos/viveksyngh/faas-cli/branches{/branch}","tags_url":"https://api.github.com/repos/viveksyngh/faas-cli/tags","blobs_url":"https://api.github.com/repos/viveksyngh/faas-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/viveksyngh/faas-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/viveksyngh/faas-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/viveksyngh/faas-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/viveksyngh/faas-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/viveksyngh/faas-cli/languages","stargazers_url":"https://api.github.com/repos/viveksyngh/faas-cli/stargazers","contributors_url":"https://api.github.com/repos/viveksyngh/faas-cli/contributors","subscribers_url":"https://api.github.com/repos/viveksyngh/faas-cli/subscribers","subscription_url":"https://api.github.com/repos/viveksyngh/faas-cli/subscription","commits_url":"https://api.github.com/repos/viveksyngh/faas-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/viveksyngh/faas-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/viveksyngh/faas-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/viveksyngh/faas-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/viveksyngh/faas-cli/contents/{+path}","compare_url":"https://api.github.com/repos/viveksyngh/faas-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/viveksyngh/faas-cli/merges","archive_url":"https://api.github.com/repos/viveksyngh/faas-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/viveksyngh/faas-cli/downloads","issues_url":"https://api.github.com/repos/viveksyngh/faas-cli/issues{/number}","pulls_url":"https://api.github.com/repos/viveksyngh/faas-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/viveksyngh/faas-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/viveksyngh/faas-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/viveksyngh/faas-cli/labels{/name}","releases_url":"https://api.github.com/repos/viveksyngh/faas-cli/releases{/id}","deployments_url":"https://api.github.com/repos/viveksyngh/faas-cli/deployments","created_at":"2017-10-02T18:07:06Z","updated_at":"2018-09-07T13:06:11Z","pushed_at":"2018-09-07T13:06:09Z","git_url":"git://github.com/viveksyngh/faas-cli.git","ssh_url":"git@github.com:viveksyngh/faas-cli.git","clone_url":"https://github.com/viveksyngh/faas-cli.git","svn_url":"https://github.com/viveksyngh/faas-cli","homepage":"https://github.com/openfaas/faas","size":17386,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openfaas:master","ref":"master","sha":"e8b7ea1fdbfdc1102a38781344ea4172ac9b47a2","user":{"login":"openfaas","id":27013154,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3MDEzMTU0","avatar_url":"https://avatars3.githubusercontent.com/u/27013154?v=4","gravatar_id":"","url":"https://api.github.com/users/openfaas","html_url":"https://github.com/openfaas","followers_url":"https://api.github.com/users/openfaas/followers","following_url":"https://api.github.com/users/openfaas/following{/other_user}","gists_url":"https://api.github.com/users/openfaas/gists{/gist_id}","starred_url":"https://api.github.com/users/openfaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfaas/subscriptions","organizations_url":"https://api.github.com/users/openfaas/orgs","repos_url":"https://api.github.com/users/openfaas/repos","events_url":"https://api.github.com/users/openfaas/events{/privacy}","received_events_url":"https://api.github.com/users/openfaas/received_events","type":"Organization","site_admin":false},"repo":{"id":87833671,"node_id":"MDEwOlJlcG9zaXRvcnk4NzgzMzY3MQ==","name":"faas-cli","full_name":"openfaas/faas-cli","owner":{"login":"openfaas","id":27013154,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3MDEzMTU0","avatar_url":"https://avatars3.githubusercontent.com/u/27013154?v=4","gravatar_id":"","url":"https://api.github.com/users/openfaas","html_url":"https://github.com/openfaas","followers_url":"https://api.github.com/users/openfaas/followers","following_url":"https://api.github.com/users/openfaas/following{/other_user}","gists_url":"https://api.github.com/users/openfaas/gists{/gist_id}","starred_url":"https://api.github.com/users/openfaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfaas/subscriptions","organizations_url":"https://api.github.com/users/openfaas/orgs","repos_url":"https://api.github.com/users/openfaas/repos","events_url":"https://api.github.com/users/openfaas/events{/privacy}","received_events_url":"https://api.github.com/users/openfaas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfaas/faas-cli","description":"Official CLI for OpenFaaS","fork":false,"url":"https://api.github.com/repos/openfaas/faas-cli","forks_url":"https://api.github.com/repos/openfaas/faas-cli/forks","keys_url":"https://api.github.com/repos/openfaas/faas-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfaas/faas-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfaas/faas-cli/teams","hooks_url":"https://api.github.com/repos/openfaas/faas-cli/hooks","issue_events_url":"https://api.github.com/repos/openfaas/faas-cli/issues/events{/number}","events_url":"https://api.github.com/repos/openfaas/faas-cli/events","assignees_url":"https://api.github.com/repos/openfaas/faas-cli/assignees{/user}","branches_url":"https://api.github.com/repos/openfaas/faas-cli/branches{/branch}","tags_url":"https://api.github.com/repos/openfaas/faas-cli/tags","blobs_url":"https://api.github.com/repos/openfaas/faas-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfaas/faas-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfaas/faas-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfaas/faas-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfaas/faas-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/openfaas/faas-cli/languages","stargazers_url":"https://api.github.com/repos/openfaas/faas-cli/stargazers","contributors_url":"https://api.github.com/repos/openfaas/faas-cli/contributors","subscribers_url":"https://api.github.com/repos/openfaas/faas-cli/subscribers","subscription_url":"https://api.github.com/repos/openfaas/faas-cli/subscription","commits_url":"https://api.github.com/repos/openfaas/faas-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfaas/faas-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfaas/faas-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfaas/faas-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfaas/faas-cli/contents/{+path}","compare_url":"https://api.github.com/repos/openfaas/faas-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfaas/faas-cli/merges","archive_url":"https://api.github.com/repos/openfaas/faas-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfaas/faas-cli/downloads","issues_url":"https://api.github.com/repos/openfaas/faas-cli/issues{/number}","pulls_url":"https://api.github.com/repos/openfaas/faas-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/openfaas/faas-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/openfaas/faas-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfaas/faas-cli/labels{/name}","releases_url":"https://api.github.com/repos/openfaas/faas-cli/releases{/id}","deployments_url":"https://api.github.com/repos/openfaas/faas-cli/deployments","created_at":"2017-04-10T16:33:04Z","updated_at":"2018-09-10T12:37:01Z","pushed_at":"2018-09-10T12:36:59Z","git_url":"git://github.com/openfaas/faas-cli.git","ssh_url":"git@github.com:openfaas/faas-cli.git","clone_url":"https://github.com/openfaas/faas-cli.git","svn_url":"https://github.com/openfaas/faas-cli","homepage":"https://docs.openfaas.com","size":17398,"stargazers_count":292,"watchers_count":292,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":84,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":84,"open_issues":29,"watchers":292,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfaas/faas-cli/pulls/514"},"html":{"href":"https://github.com/openfaas/faas-cli/pull/514"},"issue":{"href":"https://api.github.com/repos/openfaas/faas-cli/issues/514"},"comments":{"href":"https://api.github.com/repos/openfaas/faas-cli/issues/514/comments"},"review_comments":{"href":"https://api.github.com/repos/openfaas/faas-cli/pulls/514/comments"},"review_comment":{"href":"https://api.github.com/repos/openfaas/faas-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfaas/faas-cli/pulls/514/commits"},"statuses":{"href":"https://api.github.com/repos/openfaas/faas-cli/statuses/1fe7ecc51fb5e45610c1ef7375187b0b754c1d11"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"alexellis"}}