{"action":"created","comment":{"url":"https://api.github.com/repos/takipi/api-spec/pulls/comments/228066322","pull_request_review_id":168247215,"id":228066322,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODA2NjMyMg==","diff_hunk":"@@ -1368,6 +1368,71 @@ paths:\n           $ref: \"#/responses/UnauthorizedError\"\n         404:\n           $ref: \"#/responses/NotFoundError\"\n+  /services/{env_id}/settings/publish-metrics:\n+    get:\n+      tags:\n+        - Publish Metrics\n+      summary: \"Fetch Publish Metrics settings\"\n+      description: \"Use this call to fetch data about publish metrics settings, output format and the actual metrics which are currently beeing published\"\n+      parameters:\n+        - in: path\n+          name: env_id\n+          description: Environment to use\n+          type: string\n+          required: true\n+      responses:\n+        200:\n+          description: Current settings for publish metrics\n+          schema:\n+            $ref: \"#/definitions/PublishMetricsSettings\"\n+        401:\n+          $ref: \"#/responses/UnauthorizedError\"\n+        404:\n+          $ref: \"#/responses/NotFoundError\"\n+    post:\n+      tags:\n+        - Publish Metrics\n+      summary: \"Set Publish Metrics\"\n+      description: \"Use this call to set and customize publish metrics\"\n+      parameters:\n+        - in: path\n+          name: env_id\n+          description: Environment to use\n+          type: string\n+          required: true\n+        - in: body\n+          name: settings\n+          desciption: Publish metrics settings\n+          schema:\n+            $ref: \"#/definitions/PublishMetricsSettings\"\n+      responses:\n+        200:\n+          $ref: \"#/responses/OK\"\n+        401:\n+          $ref: \"#/responses/UnauthorizedError\"\n+        404:\n+          $ref: \"#/responses/NotFoundError\"\n+  /services/{env_id}/settings/publish-metrics/available_formats:","path":"services.yaml","position":48,"original_position":48,"commit_id":"aa4a52135b7506f8a7a4d165ce15c8d48b47183c","original_commit_id":"65d59ca8a1c56022d4962fad9cb6b3e3aa888357","user":{"login":"chook","id":3480481,"node_id":"MDQ6VXNlcjM0ODA0ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/3480481?v=4","gravatar_id":"","url":"https://api.github.com/users/chook","html_url":"https://github.com/chook","followers_url":"https://api.github.com/users/chook/followers","following_url":"https://api.github.com/users/chook/following{/other_user}","gists_url":"https://api.github.com/users/chook/gists{/gist_id}","starred_url":"https://api.github.com/users/chook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chook/subscriptions","organizations_url":"https://api.github.com/users/chook/orgs","repos_url":"https://api.github.com/users/chook/repos","events_url":"https://api.github.com/users/chook/events{/privacy}","received_events_url":"https://api.github.com/users/chook/received_events","type":"User","site_admin":false},"body":"if so then fine","created_at":"2018-10-25T07:50:19Z","updated_at":"2018-10-25T07:50:19Z","html_url":"https://github.com/takipi/api-spec/pull/31#discussion_r228066322","pull_request_url":"https://api.github.com/repos/takipi/api-spec/pulls/31","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/takipi/api-spec/pulls/comments/228066322"},"html":{"href":"https://github.com/takipi/api-spec/pull/31#discussion_r228066322"},"pull_request":{"href":"https://api.github.com/repos/takipi/api-spec/pulls/31"}},"in_reply_to_id":227336830},"pull_request":{"url":"https://api.github.com/repos/takipi/api-spec/pulls/31","id":224909187,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0OTA5MTg3","html_url":"https://github.com/takipi/api-spec/pull/31","diff_url":"https://github.com/takipi/api-spec/pull/31.diff","patch_url":"https://github.com/takipi/api-spec/pull/31.patch","issue_url":"https://api.github.com/repos/takipi/api-spec/issues/31","number":31,"state":"open","locked":false,"title":"added spec for publish metrics","user":{"login":"jenjenp","id":26417992,"node_id":"MDQ6VXNlcjI2NDE3OTky","avatar_url":"https://avatars3.githubusercontent.com/u/26417992?v=4","gravatar_id":"","url":"https://api.github.com/users/jenjenp","html_url":"https://github.com/jenjenp","followers_url":"https://api.github.com/users/jenjenp/followers","following_url":"https://api.github.com/users/jenjenp/following{/other_user}","gists_url":"https://api.github.com/users/jenjenp/gists{/gist_id}","starred_url":"https://api.github.com/users/jenjenp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenjenp/subscriptions","organizations_url":"https://api.github.com/users/jenjenp/orgs","repos_url":"https://api.github.com/users/jenjenp/repos","events_url":"https://api.github.com/users/jenjenp/events{/privacy}","received_events_url":"https://api.github.com/users/jenjenp/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-23T06:20:28Z","updated_at":"2018-10-25T07:50:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"603eac1ec918b0eb4705375b19bbde0d952638d6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/takipi/api-spec/pulls/31/commits","review_comments_url":"https://api.github.com/repos/takipi/api-spec/pulls/31/comments","review_comment_url":"https://api.github.com/repos/takipi/api-spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/takipi/api-spec/issues/31/comments","statuses_url":"https://api.github.com/repos/takipi/api-spec/statuses/aa4a52135b7506f8a7a4d165ce15c8d48b47183c","head":{"label":"takipi:publish-metrics","ref":"publish-metrics","sha":"aa4a52135b7506f8a7a4d165ce15c8d48b47183c","user":{"login":"takipi","id":3494378,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0OTQzNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/3494378?v=4","gravatar_id":"","url":"https://api.github.com/users/takipi","html_url":"https://github.com/takipi","followers_url":"https://api.github.com/users/takipi/followers","following_url":"https://api.github.com/users/takipi/following{/other_user}","gists_url":"https://api.github.com/users/takipi/gists{/gist_id}","starred_url":"https://api.github.com/users/takipi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takipi/subscriptions","organizations_url":"https://api.github.com/users/takipi/orgs","repos_url":"https://api.github.com/users/takipi/repos","events_url":"https://api.github.com/users/takipi/events{/privacy}","received_events_url":"https://api.github.com/users/takipi/received_events","type":"Organization","site_admin":false},"repo":{"id":124757552,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ3NTc1NTI=","name":"api-spec","full_name":"takipi/api-spec","private":false,"owner":{"login":"takipi","id":3494378,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0OTQzNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/3494378?v=4","gravatar_id":"","url":"https://api.github.com/users/takipi","html_url":"https://github.com/takipi","followers_url":"https://api.github.com/users/takipi/followers","following_url":"https://api.github.com/users/takipi/following{/other_user}","gists_url":"https://api.github.com/users/takipi/gists{/gist_id}","starred_url":"https://api.github.com/users/takipi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takipi/subscriptions","organizations_url":"https://api.github.com/users/takipi/orgs","repos_url":"https://api.github.com/users/takipi/repos","events_url":"https://api.github.com/users/takipi/events{/privacy}","received_events_url":"https://api.github.com/users/takipi/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/takipi/api-spec","description":"An OpenAPI 2.0 spec of the Takipi server API","fork":false,"url":"https://api.github.com/repos/takipi/api-spec","forks_url":"https://api.github.com/repos/takipi/api-spec/forks","keys_url":"https://api.github.com/repos/takipi/api-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takipi/api-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takipi/api-spec/teams","hooks_url":"https://api.github.com/repos/takipi/api-spec/hooks","issue_events_url":"https://api.github.com/repos/takipi/api-spec/issues/events{/number}","events_url":"https://api.github.com/repos/takipi/api-spec/events","assignees_url":"https://api.github.com/repos/takipi/api-spec/assignees{/user}","branches_url":"https://api.github.com/repos/takipi/api-spec/branches{/branch}","tags_url":"https://api.github.com/repos/takipi/api-spec/tags","blobs_url":"https://api.github.com/repos/takipi/api-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takipi/api-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takipi/api-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/takipi/api-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takipi/api-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/takipi/api-spec/languages","stargazers_url":"https://api.github.com/repos/takipi/api-spec/stargazers","contributors_url":"https://api.github.com/repos/takipi/api-spec/contributors","subscribers_url":"https://api.github.com/repos/takipi/api-spec/subscribers","subscription_url":"https://api.github.com/repos/takipi/api-spec/subscription","commits_url":"https://api.github.com/repos/takipi/api-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/takipi/api-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/takipi/api-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/takipi/api-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/takipi/api-spec/contents/{+path}","compare_url":"https://api.github.com/repos/takipi/api-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takipi/api-spec/merges","archive_url":"https://api.github.com/repos/takipi/api-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takipi/api-spec/downloads","issues_url":"https://api.github.com/repos/takipi/api-spec/issues{/number}","pulls_url":"https://api.github.com/repos/takipi/api-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/takipi/api-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/takipi/api-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takipi/api-spec/labels{/name}","releases_url":"https://api.github.com/repos/takipi/api-spec/releases{/id}","deployments_url":"https://api.github.com/repos/takipi/api-spec/deployments","created_at":"2018-03-11T13:09:00Z","updated_at":"2018-10-11T12:47:48Z","pushed_at":"2018-10-25T07:25:33Z","git_url":"git://github.com/takipi/api-spec.git","ssh_url":"git@github.com:takipi/api-spec.git","clone_url":"https://github.com/takipi/api-spec.git","svn_url":"https://github.com/takipi/api-spec","homepage":null,"size":430,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"takipi:master","ref":"master","sha":"824e7b796bc61bf56a2570a55dd522206eadacd5","user":{"login":"takipi","id":3494378,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0OTQzNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/3494378?v=4","gravatar_id":"","url":"https://api.github.com/users/takipi","html_url":"https://github.com/takipi","followers_url":"https://api.github.com/users/takipi/followers","following_url":"https://api.github.com/users/takipi/following{/other_user}","gists_url":"https://api.github.com/users/takipi/gists{/gist_id}","starred_url":"https://api.github.com/users/takipi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takipi/subscriptions","organizations_url":"https://api.github.com/users/takipi/orgs","repos_url":"https://api.github.com/users/takipi/repos","events_url":"https://api.github.com/users/takipi/events{/privacy}","received_events_url":"https://api.github.com/users/takipi/received_events","type":"Organization","site_admin":false},"repo":{"id":124757552,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ3NTc1NTI=","name":"api-spec","full_name":"takipi/api-spec","private":false,"owner":{"login":"takipi","id":3494378,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0OTQzNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/3494378?v=4","gravatar_id":"","url":"https://api.github.com/users/takipi","html_url":"https://github.com/takipi","followers_url":"https://api.github.com/users/takipi/followers","following_url":"https://api.github.com/users/takipi/following{/other_user}","gists_url":"https://api.github.com/users/takipi/gists{/gist_id}","starred_url":"https://api.github.com/users/takipi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takipi/subscriptions","organizations_url":"https://api.github.com/users/takipi/orgs","repos_url":"https://api.github.com/users/takipi/repos","events_url":"https://api.github.com/users/takipi/events{/privacy}","received_events_url":"https://api.github.com/users/takipi/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/takipi/api-spec","description":"An OpenAPI 2.0 spec of the Takipi server API","fork":false,"url":"https://api.github.com/repos/takipi/api-spec","forks_url":"https://api.github.com/repos/takipi/api-spec/forks","keys_url":"https://api.github.com/repos/takipi/api-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takipi/api-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takipi/api-spec/teams","hooks_url":"https://api.github.com/repos/takipi/api-spec/hooks","issue_events_url":"https://api.github.com/repos/takipi/api-spec/issues/events{/number}","events_url":"https://api.github.com/repos/takipi/api-spec/events","assignees_url":"https://api.github.com/repos/takipi/api-spec/assignees{/user}","branches_url":"https://api.github.com/repos/takipi/api-spec/branches{/branch}","tags_url":"https://api.github.com/repos/takipi/api-spec/tags","blobs_url":"https://api.github.com/repos/takipi/api-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takipi/api-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takipi/api-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/takipi/api-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takipi/api-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/takipi/api-spec/languages","stargazers_url":"https://api.github.com/repos/takipi/api-spec/stargazers","contributors_url":"https://api.github.com/repos/takipi/api-spec/contributors","subscribers_url":"https://api.github.com/repos/takipi/api-spec/subscribers","subscription_url":"https://api.github.com/repos/takipi/api-spec/subscription","commits_url":"https://api.github.com/repos/takipi/api-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/takipi/api-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/takipi/api-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/takipi/api-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/takipi/api-spec/contents/{+path}","compare_url":"https://api.github.com/repos/takipi/api-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takipi/api-spec/merges","archive_url":"https://api.github.com/repos/takipi/api-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takipi/api-spec/downloads","issues_url":"https://api.github.com/repos/takipi/api-spec/issues{/number}","pulls_url":"https://api.github.com/repos/takipi/api-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/takipi/api-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/takipi/api-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takipi/api-spec/labels{/name}","releases_url":"https://api.github.com/repos/takipi/api-spec/releases{/id}","deployments_url":"https://api.github.com/repos/takipi/api-spec/deployments","created_at":"2018-03-11T13:09:00Z","updated_at":"2018-10-11T12:47:48Z","pushed_at":"2018-10-25T07:25:33Z","git_url":"git://github.com/takipi/api-spec.git","ssh_url":"git@github.com:takipi/api-spec.git","clone_url":"https://github.com/takipi/api-spec.git","svn_url":"https://github.com/takipi/api-spec","homepage":null,"size":430,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/takipi/api-spec/pulls/31"},"html":{"href":"https://github.com/takipi/api-spec/pull/31"},"issue":{"href":"https://api.github.com/repos/takipi/api-spec/issues/31"},"comments":{"href":"https://api.github.com/repos/takipi/api-spec/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/takipi/api-spec/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/takipi/api-spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/takipi/api-spec/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/takipi/api-spec/statuses/aa4a52135b7506f8a7a4d165ce15c8d48b47183c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chook"}}