{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/comments/219669834","pull_request_review_id":157908195,"id":219669834,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTY2OTgzNA==","diff_hunk":"@@ -0,0 +1,60 @@\n+---\n+layout: page\n+title: \"GitLab-CI Sensor\"\n+description: \"How to integrate GitLab-CI Job status within Home Assistant.\"\n+date: 2018-09-10 19:00\n+sidebar: true\n+comments: false\n+sharing: true\n+footer: true\n+logo: gitlab.png\n+ha_category: Sensor\n+ha_release: 0.79\n+ha_iot_class: \"Cloud Polling\"\n+\n+---\n+\n+The GitLab_CI sensor integrates results reported by CI/CD Pipeline Jobs in [GitLab](https://gitlab.com/).\n+\n+## {% linkable_title Setup %}\n+\n+You will need a GitLab repository ID. On the \"Details\" page for your GitLab repo, just below the project name is \"Project ID:\"\n+Alternatively, you can use \"{GitLab_Username}/{GitLab_RepositoryName}\", ex: \"MyCoolUsername/MyCoolRepository\"\n+\n+You will also need a GitLab API token with at least API permissions. To get a token, they are generated here: [GitLab API Token](https://gitlab.com/profile/personal_access_tokens)","path":"source/_components/sensor.gitlab_ci.markdown","position":null,"original_position":24,"commit_id":"e0d69d0647ff765d64aca35f1f28df8d934ee3df","original_commit_id":"a2a3bcf0778b2013fa31e8e4818143e786d3276b","user":{"login":"DanielWinks","id":5339479,"node_id":"MDQ6VXNlcjUzMzk0Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/5339479?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielWinks","html_url":"https://github.com/DanielWinks","followers_url":"https://api.github.com/users/DanielWinks/followers","following_url":"https://api.github.com/users/DanielWinks/following{/other_user}","gists_url":"https://api.github.com/users/DanielWinks/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielWinks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielWinks/subscriptions","organizations_url":"https://api.github.com/users/DanielWinks/orgs","repos_url":"https://api.github.com/users/DanielWinks/repos","events_url":"https://api.github.com/users/DanielWinks/events{/privacy}","received_events_url":"https://api.github.com/users/DanielWinks/received_events","type":"User","site_admin":false},"body":"Your rewording looks better, changed.","created_at":"2018-09-22T12:10:42Z","updated_at":"2018-09-22T12:10:42Z","html_url":"https://github.com/home-assistant/home-assistant.io/pull/6255#discussion_r219669834","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/6255","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/comments/219669834"},"html":{"href":"https://github.com/home-assistant/home-assistant.io/pull/6255#discussion_r219669834"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/6255"}},"in_reply_to_id":219668346},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/6255","id":214650863,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NjUwODYz","html_url":"https://github.com/home-assistant/home-assistant.io/pull/6255","diff_url":"https://github.com/home-assistant/home-assistant.io/pull/6255.diff","patch_url":"https://github.com/home-assistant/home-assistant.io/pull/6255.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant.io/issues/6255","number":6255,"state":"open","locked":false,"title":"Added GitLab_CI sensor.","user":{"login":"DanielWinks","id":5339479,"node_id":"MDQ6VXNlcjUzMzk0Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/5339479?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielWinks","html_url":"https://github.com/DanielWinks","followers_url":"https://api.github.com/users/DanielWinks/followers","following_url":"https://api.github.com/users/DanielWinks/following{/other_user}","gists_url":"https://api.github.com/users/DanielWinks/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielWinks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielWinks/subscriptions","organizations_url":"https://api.github.com/users/DanielWinks/orgs","repos_url":"https://api.github.com/users/DanielWinks/repos","events_url":"https://api.github.com/users/DanielWinks/events{/privacy}","received_events_url":"https://api.github.com/users/DanielWinks/received_events","type":"User","site_admin":false},"body":"**Description:**\r\nDocumentation for a GitLab_CI sensor added in a pull request\r\n\r\n**Pull request in [home-assistant](https://github.com/home-assistant/home-assistant) (if applicable):** home-assistant/home-assistant#16561\r\n\r\n## Checklist:\r\n\r\n- [X] Branch: `next` is for changes and new documentation that will go public with the next [home-assistant](https://github.com/home-assistant/home-assistant) release. Fixes, changes and adjustments for the current release should be created against `current`.\r\n- [X] The documentation follow the [standards][standards].\r\n\r\n[standards]: https://home-assistant.io/developers/documentation/standards/\r\n","created_at":"2018-09-11T14:23:34Z","updated_at":"2018-09-22T12:10:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e4036050616dbcf18385578e258250e76d853af","assignee":{"login":"DanielWinks","id":5339479,"node_id":"MDQ6VXNlcjUzMzk0Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/5339479?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielWinks","html_url":"https://github.com/DanielWinks","followers_url":"https://api.github.com/users/DanielWinks/followers","following_url":"https://api.github.com/users/DanielWinks/following{/other_user}","gists_url":"https://api.github.com/users/DanielWinks/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielWinks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielWinks/subscriptions","organizations_url":"https://api.github.com/users/DanielWinks/orgs","repos_url":"https://api.github.com/users/DanielWinks/repos","events_url":"https://api.github.com/users/DanielWinks/events{/privacy}","received_events_url":"https://api.github.com/users/DanielWinks/received_events","type":"User","site_admin":false},"assignees":[{"login":"DanielWinks","id":5339479,"node_id":"MDQ6VXNlcjUzMzk0Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/5339479?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielWinks","html_url":"https://github.com/DanielWinks","followers_url":"https://api.github.com/users/DanielWinks/followers","following_url":"https://api.github.com/users/DanielWinks/following{/other_user}","gists_url":"https://api.github.com/users/DanielWinks/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielWinks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielWinks/subscriptions","organizations_url":"https://api.github.com/users/DanielWinks/orgs","repos_url":"https://api.github.com/users/DanielWinks/repos","events_url":"https://api.github.com/users/DanielWinks/events{/privacy}","received_events_url":"https://api.github.com/users/DanielWinks/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":978446869,"node_id":"MDU6TGFiZWw5Nzg0NDY4Njk=","url":"https://api.github.com/repos/home-assistant/home-assistant.io/labels/has-parent","name":"has-parent","color":"0ab7d6","default":false},{"id":978444554,"node_id":"MDU6TGFiZWw5Nzg0NDQ1NTQ=","url":"https://api.github.com/repos/home-assistant/home-assistant.io/labels/in-progress","name":"in-progress","color":"f2ec98","default":false},{"id":467102131,"node_id":"MDU6TGFiZWw0NjcxMDIxMzE=","url":"https://api.github.com/repos/home-assistant/home-assistant.io/labels/new-component","name":"new-component","color":"5319e7","default":false},{"id":978446546,"node_id":"MDU6TGFiZWw5Nzg0NDY1NDY=","url":"https://api.github.com/repos/home-assistant/home-assistant.io/labels/next","name":"next","color":"dffc9c","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/6255/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/6255/comments","review_comment_url":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant.io/issues/6255/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant.io/statuses/e0d69d0647ff765d64aca35f1f28df8d934ee3df","head":{"label":"DanielWinks:next","ref":"next","sha":"e0d69d0647ff765d64aca35f1f28df8d934ee3df","user":{"login":"DanielWinks","id":5339479,"node_id":"MDQ6VXNlcjUzMzk0Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/5339479?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielWinks","html_url":"https://github.com/DanielWinks","followers_url":"https://api.github.com/users/DanielWinks/followers","following_url":"https://api.github.com/users/DanielWinks/following{/other_user}","gists_url":"https://api.github.com/users/DanielWinks/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielWinks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielWinks/subscriptions","organizations_url":"https://api.github.com/users/DanielWinks/orgs","repos_url":"https://api.github.com/users/DanielWinks/repos","events_url":"https://api.github.com/users/DanielWinks/events{/privacy}","received_events_url":"https://api.github.com/users/DanielWinks/received_events","type":"User","site_admin":false},"repo":{"id":148206593,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgyMDY1OTM=","name":"home-assistant.io","full_name":"DanielWinks/home-assistant.io","private":false,"owner":{"login":"DanielWinks","id":5339479,"node_id":"MDQ6VXNlcjUzMzk0Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/5339479?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielWinks","html_url":"https://github.com/DanielWinks","followers_url":"https://api.github.com/users/DanielWinks/followers","following_url":"https://api.github.com/users/DanielWinks/following{/other_user}","gists_url":"https://api.github.com/users/DanielWinks/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielWinks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielWinks/subscriptions","organizations_url":"https://api.github.com/users/DanielWinks/orgs","repos_url":"https://api.github.com/users/DanielWinks/repos","events_url":"https://api.github.com/users/DanielWinks/events{/privacy}","received_events_url":"https://api.github.com/users/DanielWinks/received_events","type":"User","site_admin":false},"html_url":"https://github.com/DanielWinks/home-assistant.io","description":":blue_book: Home Assistant User documentation","fork":true,"url":"https://api.github.com/repos/DanielWinks/home-assistant.io","forks_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/forks","keys_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/teams","hooks_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/hooks","issue_events_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/issues/events{/number}","events_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/events","assignees_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/assignees{/user}","branches_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/branches{/branch}","tags_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/tags","blobs_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/languages","stargazers_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/stargazers","contributors_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/contributors","subscribers_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/subscribers","subscription_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/subscription","commits_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/contents/{+path}","compare_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/merges","archive_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/downloads","issues_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/issues{/number}","pulls_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/labels{/name}","releases_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/releases{/id}","deployments_url":"https://api.github.com/repos/DanielWinks/home-assistant.io/deployments","created_at":"2018-09-10T19:17:03Z","updated_at":"2018-09-22T12:09:33Z","pushed_at":"2018-09-22T12:09:31Z","git_url":"git://github.com/DanielWinks/home-assistant.io.git","ssh_url":"git@github.com:DanielWinks/home-assistant.io.git","clone_url":"https://github.com/DanielWinks/home-assistant.io.git","svn_url":"https://github.com/DanielWinks/home-assistant.io","homepage":"https://www.home-assistant.io","size":305785,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"next"}},"base":{"label":"home-assistant:next","ref":"next","sha":"4051e3a483531aa9f00b7938690c37724bd2b0eb","user":{"login":"home-assistant","id":13844975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQ0OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/13844975?v=4","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"repo":{"id":28312955,"node_id":"MDEwOlJlcG9zaXRvcnkyODMxMjk1NQ==","name":"home-assistant.io","full_name":"home-assistant/home-assistant.io","private":false,"owner":{"login":"home-assistant","id":13844975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQ0OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/13844975?v=4","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/home-assistant/home-assistant.io","description":":blue_book: Home Assistant User documentation","fork":false,"url":"https://api.github.com/repos/home-assistant/home-assistant.io","forks_url":"https://api.github.com/repos/home-assistant/home-assistant.io/forks","keys_url":"https://api.github.com/repos/home-assistant/home-assistant.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/home-assistant/home-assistant.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/home-assistant/home-assistant.io/teams","hooks_url":"https://api.github.com/repos/home-assistant/home-assistant.io/hooks","issue_events_url":"https://api.github.com/repos/home-assistant/home-assistant.io/issues/events{/number}","events_url":"https://api.github.com/repos/home-assistant/home-assistant.io/events","assignees_url":"https://api.github.com/repos/home-assistant/home-assistant.io/assignees{/user}","branches_url":"https://api.github.com/repos/home-assistant/home-assistant.io/branches{/branch}","tags_url":"https://api.github.com/repos/home-assistant/home-assistant.io/tags","blobs_url":"https://api.github.com/repos/home-assistant/home-assistant.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/home-assistant/home-assistant.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/home-assistant/home-assistant.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/home-assistant/home-assistant.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant.io/statuses/{sha}","languages_url":"https://api.github.com/repos/home-assistant/home-assistant.io/languages","stargazers_url":"https://api.github.com/repos/home-assistant/home-assistant.io/stargazers","contributors_url":"https://api.github.com/repos/home-assistant/home-assistant.io/contributors","subscribers_url":"https://api.github.com/repos/home-assistant/home-assistant.io/subscribers","subscription_url":"https://api.github.com/repos/home-assistant/home-assistant.io/subscription","commits_url":"https://api.github.com/repos/home-assistant/home-assistant.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/home-assistant/home-assistant.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/home-assistant/home-assistant.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/home-assistant/home-assistant.io/contents/{+path}","compare_url":"https://api.github.com/repos/home-assistant/home-assistant.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/home-assistant/home-assistant.io/merges","archive_url":"https://api.github.com/repos/home-assistant/home-assistant.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/home-assistant/home-assistant.io/downloads","issues_url":"https://api.github.com/repos/home-assistant/home-assistant.io/issues{/number}","pulls_url":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls{/number}","milestones_url":"https://api.github.com/repos/home-assistant/home-assistant.io/milestones{/number}","notifications_url":"https://api.github.com/repos/home-assistant/home-assistant.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/home-assistant/home-assistant.io/labels{/name}","releases_url":"https://api.github.com/repos/home-assistant/home-assistant.io/releases{/id}","deployments_url":"https://api.github.com/repos/home-assistant/home-assistant.io/deployments","created_at":"2014-12-21T20:59:21Z","updated_at":"2018-09-22T06:40:31Z","pushed_at":"2018-09-22T12:09:33Z","git_url":"git://github.com/home-assistant/home-assistant.io.git","ssh_url":"git@github.com:home-assistant/home-assistant.io.git","clone_url":"https://github.com/home-assistant/home-assistant.io.git","svn_url":"https://github.com/home-assistant/home-assistant.io","homepage":"https://www.home-assistant.io","size":306217,"stargazers_count":438,"watchers_count":438,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2257,"mirror_url":null,"archived":false,"open_issues_count":66,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2257,"open_issues":66,"watchers":438,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/6255"},"html":{"href":"https://github.com/home-assistant/home-assistant.io/pull/6255"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant.io/issues/6255"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant.io/issues/6255/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/6255/comments"},"review_comment":{"href":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/home-assistant/home-assistant.io/pulls/6255/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant.io/statuses/e0d69d0647ff765d64aca35f1f28df8d934ee3df"}},"author_association":"NONE"}}
{"actor":{"display_login":"DanielWinks"}}