{"action":"created","comment":{"url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/comments/175330369","pull_request_review_id":104839513,"id":175330369,"diff_hunk":"@@ -0,0 +1,82 @@\n+# Create agreement\n+\n+> **Important:** APIs under the /beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.\n+\n+Create a new [agreement](../resources/agreement.md) object.\n+## Permissions\n+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](../../../concepts/permissions_reference.md).\n+\n+|Permission type                        | Permissions (from least to most privileged)              |\n+|:--------------------------------------|:---------------------------------------------------------|\n+|Delegated (work or school account)     | Agreement.ReadWrite.All |\n+|Delegated (personal Microsoft account) | Not supported. |\n+|Application                            | Not supported. |\n+\n+## HTTP request\n+<!-- { \"blockType\": \"ignored\" } -->\n+```http\n+POST /agreements\n+```\n+## Request headers\n+| Name         | Type        | Description |\n+|:-------------|:------------|:------------|\n+| Authorization | string | Bearer \\{token\\}. Required. |\n+\n+## Request body","path":"api-reference/beta/api/agreement_post_agreements.md","position":25,"original_position":25,"commit_id":"ff48f5ab9b6989077b22862f5592f1b383863a2f","original_commit_id":"9ab23cd81dd12f50ee4c365ef66f9edad81c83fb","user":{"login":"ntonyho","id":8078741,"avatar_url":"https://avatars2.githubusercontent.com/u/8078741?v=4","gravatar_id":"","url":"https://api.github.com/users/ntonyho","html_url":"https://github.com/ntonyho","followers_url":"https://api.github.com/users/ntonyho/followers","following_url":"https://api.github.com/users/ntonyho/following{/other_user}","gists_url":"https://api.github.com/users/ntonyho/gists{/gist_id}","starred_url":"https://api.github.com/users/ntonyho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntonyho/subscriptions","organizations_url":"https://api.github.com/users/ntonyho/orgs","repos_url":"https://api.github.com/users/ntonyho/repos","events_url":"https://api.github.com/users/ntonyho/events{/privacy}","received_events_url":"https://api.github.com/users/ntonyho/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-03-19T04:34:43Z","updated_at":"2018-03-19T04:34:43Z","html_url":"https://github.com/microsoftgraph/microsoft-graph-docs/pull/2327#discussion_r175330369","pull_request_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/2327","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/comments/175330369"},"html":{"href":"https://github.com/microsoftgraph/microsoft-graph-docs/pull/2327#discussion_r175330369"},"pull_request":{"href":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/2327"}},"in_reply_to_id":175307787},"pull_request":{"url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/2327","id":175431977,"html_url":"https://github.com/microsoftgraph/microsoft-graph-docs/pull/2327","diff_url":"https://github.com/microsoftgraph/microsoft-graph-docs/pull/2327.diff","patch_url":"https://github.com/microsoftgraph/microsoft-graph-docs/pull/2327.patch","issue_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/issues/2327","number":2327,"state":"open","locked":false,"title":"Add documentation for Terms of Use","user":{"login":"ntonyho","id":8078741,"avatar_url":"https://avatars2.githubusercontent.com/u/8078741?v=4","gravatar_id":"","url":"https://api.github.com/users/ntonyho","html_url":"https://github.com/ntonyho","followers_url":"https://api.github.com/users/ntonyho/followers","following_url":"https://api.github.com/users/ntonyho/following{/other_user}","gists_url":"https://api.github.com/users/ntonyho/gists{/gist_id}","starred_url":"https://api.github.com/users/ntonyho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntonyho/subscriptions","organizations_url":"https://api.github.com/users/ntonyho/orgs","repos_url":"https://api.github.com/users/ntonyho/repos","events_url":"https://api.github.com/users/ntonyho/events{/privacy}","received_events_url":"https://api.github.com/users/ntonyho/received_events","type":"User","site_admin":false},"body":"Add documentation for Terms of Use","created_at":"2018-03-16T03:28:12Z","updated_at":"2018-03-19T04:34:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59e4075d753378495a2561af2da066208329ce2b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/2327/commits","review_comments_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/2327/comments","review_comment_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/issues/2327/comments","statuses_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/statuses/ff48f5ab9b6989077b22862f5592f1b383863a2f","head":{"label":"ntonyho:Staging","ref":"Staging","sha":"ff48f5ab9b6989077b22862f5592f1b383863a2f","user":{"login":"ntonyho","id":8078741,"avatar_url":"https://avatars2.githubusercontent.com/u/8078741?v=4","gravatar_id":"","url":"https://api.github.com/users/ntonyho","html_url":"https://github.com/ntonyho","followers_url":"https://api.github.com/users/ntonyho/followers","following_url":"https://api.github.com/users/ntonyho/following{/other_user}","gists_url":"https://api.github.com/users/ntonyho/gists{/gist_id}","starred_url":"https://api.github.com/users/ntonyho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntonyho/subscriptions","organizations_url":"https://api.github.com/users/ntonyho/orgs","repos_url":"https://api.github.com/users/ntonyho/repos","events_url":"https://api.github.com/users/ntonyho/events{/privacy}","received_events_url":"https://api.github.com/users/ntonyho/received_events","type":"User","site_admin":false},"repo":{"id":125347281,"name":"microsoft-graph-docs","full_name":"ntonyho/microsoft-graph-docs","owner":{"login":"ntonyho","id":8078741,"avatar_url":"https://avatars2.githubusercontent.com/u/8078741?v=4","gravatar_id":"","url":"https://api.github.com/users/ntonyho","html_url":"https://github.com/ntonyho","followers_url":"https://api.github.com/users/ntonyho/followers","following_url":"https://api.github.com/users/ntonyho/following{/other_user}","gists_url":"https://api.github.com/users/ntonyho/gists{/gist_id}","starred_url":"https://api.github.com/users/ntonyho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntonyho/subscriptions","organizations_url":"https://api.github.com/users/ntonyho/orgs","repos_url":"https://api.github.com/users/ntonyho/repos","events_url":"https://api.github.com/users/ntonyho/events{/privacy}","received_events_url":"https://api.github.com/users/ntonyho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ntonyho/microsoft-graph-docs","description":"Documentation for the Microsoft Graph REST API","fork":true,"url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs","forks_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/forks","keys_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/teams","hooks_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/hooks","issue_events_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/issues/events{/number}","events_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/events","assignees_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/assignees{/user}","branches_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/branches{/branch}","tags_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/tags","blobs_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/languages","stargazers_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/stargazers","contributors_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/contributors","subscribers_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/subscribers","subscription_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/subscription","commits_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/contents/{+path}","compare_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/merges","archive_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/downloads","issues_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/issues{/number}","pulls_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/labels{/name}","releases_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/releases{/id}","deployments_url":"https://api.github.com/repos/ntonyho/microsoft-graph-docs/deployments","created_at":"2018-03-15T09:59:36Z","updated_at":"2018-03-15T09:59:51Z","pushed_at":"2018-03-19T04:28:33Z","git_url":"git://github.com/ntonyho/microsoft-graph-docs.git","ssh_url":"git@github.com:ntonyho/microsoft-graph-docs.git","clone_url":"https://github.com/ntonyho/microsoft-graph-docs.git","svn_url":"https://github.com/ntonyho/microsoft-graph-docs","homepage":null,"size":42406,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","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":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"microsoftgraph:Staging","ref":"Staging","sha":"6868f76b05ff99153714fd54eb48692d2348c204","user":{"login":"microsoftgraph","id":17304259,"avatar_url":"https://avatars2.githubusercontent.com/u/17304259?v=4","gravatar_id":"","url":"https://api.github.com/users/microsoftgraph","html_url":"https://github.com/microsoftgraph","followers_url":"https://api.github.com/users/microsoftgraph/followers","following_url":"https://api.github.com/users/microsoftgraph/following{/other_user}","gists_url":"https://api.github.com/users/microsoftgraph/gists{/gist_id}","starred_url":"https://api.github.com/users/microsoftgraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microsoftgraph/subscriptions","organizations_url":"https://api.github.com/users/microsoftgraph/orgs","repos_url":"https://api.github.com/users/microsoftgraph/repos","events_url":"https://api.github.com/users/microsoftgraph/events{/privacy}","received_events_url":"https://api.github.com/users/microsoftgraph/received_events","type":"Organization","site_admin":false},"repo":{"id":45865171,"name":"microsoft-graph-docs","full_name":"microsoftgraph/microsoft-graph-docs","owner":{"login":"microsoftgraph","id":17304259,"avatar_url":"https://avatars2.githubusercontent.com/u/17304259?v=4","gravatar_id":"","url":"https://api.github.com/users/microsoftgraph","html_url":"https://github.com/microsoftgraph","followers_url":"https://api.github.com/users/microsoftgraph/followers","following_url":"https://api.github.com/users/microsoftgraph/following{/other_user}","gists_url":"https://api.github.com/users/microsoftgraph/gists{/gist_id}","starred_url":"https://api.github.com/users/microsoftgraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microsoftgraph/subscriptions","organizations_url":"https://api.github.com/users/microsoftgraph/orgs","repos_url":"https://api.github.com/users/microsoftgraph/repos","events_url":"https://api.github.com/users/microsoftgraph/events{/privacy}","received_events_url":"https://api.github.com/users/microsoftgraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/microsoftgraph/microsoft-graph-docs","description":"Documentation for the Microsoft Graph REST API","fork":false,"url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs","forks_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/forks","keys_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/teams","hooks_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/hooks","issue_events_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/issues/events{/number}","events_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/events","assignees_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/assignees{/user}","branches_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/branches{/branch}","tags_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/tags","blobs_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/languages","stargazers_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/stargazers","contributors_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/contributors","subscribers_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/subscribers","subscription_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/subscription","commits_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/contents/{+path}","compare_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/merges","archive_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/downloads","issues_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/issues{/number}","pulls_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/labels{/name}","releases_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/releases{/id}","deployments_url":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/deployments","created_at":"2015-11-09T20:35:39Z","updated_at":"2018-03-18T23:54:31Z","pushed_at":"2018-03-19T04:28:35Z","git_url":"git://github.com/microsoftgraph/microsoft-graph-docs.git","ssh_url":"git@github.com:microsoftgraph/microsoft-graph-docs.git","clone_url":"https://github.com/microsoftgraph/microsoft-graph-docs.git","svn_url":"https://github.com/microsoftgraph/microsoft-graph-docs","homepage":null,"size":41878,"stargazers_count":214,"watchers_count":214,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":343,"mirror_url":null,"archived":false,"open_issues_count":253,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":343,"open_issues":253,"watchers":214,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/2327"},"html":{"href":"https://github.com/microsoftgraph/microsoft-graph-docs/pull/2327"},"issue":{"href":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/issues/2327"},"comments":{"href":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/issues/2327/comments"},"review_comments":{"href":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/2327/comments"},"review_comment":{"href":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/pulls/2327/commits"},"statuses":{"href":"https://api.github.com/repos/microsoftgraph/microsoft-graph-docs/statuses/ff48f5ab9b6989077b22862f5592f1b383863a2f"}},"author_association":"NONE"}}
{"actor":{"display_login":"ntonyho"}}