{"action":"created","comment":{"url":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/comments/169830391","pull_request_review_id":98420896,"id":169830391,"diff_hunk":"@@ -0,0 +1,214 @@\n+{  \n+   \"swagger\":\"2.0\",\n+   \"info\":{  \n+      \"version\":\"1\",\n+      \"title\":\"SubscriptionCreationClient\",\n+      \"description\":\"Subscription creation client provides an interface to create, modify and retrieve azure subscriptions programmatically.\"\n+   },\n+   \"schemes\":[  \n+      \"https\"\n+   ],\n+   \"host\":\"management.azure.com\",\n+   \"consumes\":[  \n+      \"application/json\"\n+   ],\n+   \"produces\":[  \n+      \"application/json\"\n+   ],\n+   \"paths\":{  \n+      \"/providers/Microsoft.Subscription/subscriptionOperations/{operationId}\":{  \n+         \"get\":{\n+            \"description\":\"Retrieves the status of the subscription definition POST operation. The URI of this API is returned in the Location field of the response header.\",\n+            \"operationId\":\"getSubscriptionOperation\",\n+            \"responses\":{  \n+               \"202\":{  \n+                  \"description\":\"Accepted. Subscription update is in progress.\",\n+                  \"headers\":{  \n+                     \"Location\":{  \n+                        \"description\":\"The URL where the status of the asynchronous operation can be checked.\",\n+                        \"type\":\"string\"\n+                     },\n+                     \"Retry-After\":{  \n+                        \"description\":\"The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.\",\n+                        \"type\":\"string\"\n+                     }\n+                  }\n+               },\n+               \"200\":{  \n+                  \"description\":\"Successful completion of the asynchronous operation\",\n+                  \"schema\":{  \n+                     \"$ref\":\"#/definitions/SubscriptionCreationResult\"\n+                  }\n+               }\n+            },\n+            \"parameters\":[  \n+               {  \n+                  \"$ref\":\"#/parameters/apiVersionParameter\"\n+               },\n+               {  \n+                  \"name\":\"operationId\",\n+                  \"in\":\"path\",\n+                  \"description\":\"The operation ID, which can be found from the Location field in the generate recommendation response header.\",\n+                  \"required\":true,\n+                  \"type\":\"string\",\n+                  \"format\":\"uuid\"\n+               }\n+            ]\n+         }\n+      },\n+      \"/providers/Microsoft.Subscription/subscriptionOperations\":{  \n+         \"get\":{  \n+            \"description\":\"Lists all of the available pending Microsoft.Subscription API operations.\",\n+            \"operationId\":\"getAllSubscriptionOperations\",\n+            \"responses\":{  \n+               \"200\":{  \n+                  \"description\":\"OK. The request has succeeded.\",\n+                  \"schema\":{  \n+                     \"$ref\":\"#/definitions/OperationListResult\"\n+                  }\n+               }\n+            },\n+            \"parameters\":[  \n+               {  \n+                  \"$ref\":\"#/parameters/apiVersionParameter\"\n+               }\n+            ]\n+         }\n+      },\n+      \"/{scope}/providers/Microsoft.Subscription/createSubscription\":{  \n+         \"post\":{  \n+            \"description\":\"Creates an Azure subscription\",\n+            \"operationId\":\"createAzureSubscription\",\n+            \"x-ms-long-running-operation\": true,\n+            \"responses\":{  \n+               \"200\":{  \n+                  \"description\":\"Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.\",\n+                  \"schema\":{  \n+                     \"$ref\":\"#/definitions/SubscriptionCreationResult\"\n+                  }\n+               },\n+               \"202\":{  \n+                  \"description\":\"Accepted. Subscription creation is in progress.\",\n+                  \"headers\":{  \n+                     \"Location\":{  \n+                        \"description\":\"GET this URL to retrieve the status of the asynchronous operation.\",\n+                        \"type\":\"string\"\n+                     },\n+                     \"Retry-After\":{  \n+                        \"description\":\"The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.\",\n+                        \"type\":\"string\"\n+                     }\n+                  }\n+               }\n+            },\n+            \"parameters\":[  \n+               {  \n+                  \"name\":\"scope\",\n+                  \"in\":\"path\",\n+                  \"description\":\"Uri path corresponding to commercial subscription or legacy subscription\",","path":"specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-02-21-preview/Subscription.json","position":108,"original_position":108,"commit_id":"3bdf84797d7713d5dae3e98ab1055a995112d438","original_commit_id":"3bdf84797d7713d5dae3e98ab1055a995112d438","user":{"login":"wilcobmsft","id":31971584,"avatar_url":"https://avatars3.githubusercontent.com/u/31971584?v=4","gravatar_id":"","url":"https://api.github.com/users/wilcobmsft","html_url":"https://github.com/wilcobmsft","followers_url":"https://api.github.com/users/wilcobmsft/followers","following_url":"https://api.github.com/users/wilcobmsft/following{/other_user}","gists_url":"https://api.github.com/users/wilcobmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/wilcobmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilcobmsft/subscriptions","organizations_url":"https://api.github.com/users/wilcobmsft/orgs","repos_url":"https://api.github.com/users/wilcobmsft/repos","events_url":"https://api.github.com/users/wilcobmsft/events{/privacy}","received_events_url":"https://api.github.com/users/wilcobmsft/received_events","type":"User","site_admin":false},"body":"\"The scope of the subscription creation. Valid scopes include: providers/Microsoft.Billing/billingAccounts/{accountId}\"\r\n\r\nFor now, let's not mention projects yet until AIP has defined that API and created a swagger for it.","created_at":"2018-02-22T01:17:34Z","updated_at":"2018-02-22T01:17:34Z","html_url":"https://github.com/amagams/azure-rest-api-specs/pull/1#discussion_r169830391","pull_request_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/comments/169830391"},"html":{"href":"https://github.com/amagams/azure-rest-api-specs/pull/1#discussion_r169830391"},"pull_request":{"href":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/1","id":170631784,"html_url":"https://github.com/amagams/azure-rest-api-specs/pull/1","diff_url":"https://github.com/amagams/azure-rest-api-specs/pull/1.diff","patch_url":"https://github.com/amagams/azure-rest-api-specs/pull/1.patch","issue_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues/1","number":1,"state":"open","locked":false,"title":"Initial version of SubscriptionCreation Swagger","user":{"login":"amagams","id":18583796,"avatar_url":"https://avatars3.githubusercontent.com/u/18583796?v=4","gravatar_id":"","url":"https://api.github.com/users/amagams","html_url":"https://github.com/amagams","followers_url":"https://api.github.com/users/amagams/followers","following_url":"https://api.github.com/users/amagams/following{/other_user}","gists_url":"https://api.github.com/users/amagams/gists{/gist_id}","starred_url":"https://api.github.com/users/amagams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amagams/subscriptions","organizations_url":"https://api.github.com/users/amagams/orgs","repos_url":"https://api.github.com/users/amagams/repos","events_url":"https://api.github.com/users/amagams/events{/privacy}","received_events_url":"https://api.github.com/users/amagams/received_events","type":"User","site_admin":false},"body":"This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process. \r\n\r\n### PR information\r\n- [ ] The title of the PR is clear and informative.\r\n- [ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, [see this page](https://github.com/Azure/azure-powershell/blob/dev/documentation/cleaning-up-commits.md).\r\n- [ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.\r\n- [ ] If applicable, the PR references the bug/issue that it fixes.\r\n- [ ] Swagger files are correctly named (e.g. the `api-version` in the path should match the `api-version` in the spec).\r\n\r\n### Quality of Swagger\r\n- [ ] I have read the [contribution guidelines](https://github.com/Azure/azure-rest-api-specs/blob/master/.github/CONTRIBUTING.md).\r\n- [ ] My spec meets the review criteria:\r\n  - [ ] The spec conforms to the [Swagger 2.0 specification](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md).\r\n  - [ ] The spec follows the guidelines described in the [Swagger checklist](../documentation/swagger-checklist.md) document.\r\n  - [ ] [Validation tools](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/swagger-checklist.md#validation-tools-for-swagger-checklist) were run on swagger spec(s) and have all been fixed in this PR. \r\n","created_at":"2018-02-22T01:05:26Z","updated_at":"2018-02-22T01:17:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1658dde9096f9839892f2defea621a67a06acc07","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/1/commits","review_comments_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/1/comments","review_comment_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues/1/comments","statuses_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/statuses/3bdf84797d7713d5dae3e98ab1055a995112d438","head":{"label":"amagams:SubscriptionCreation","ref":"SubscriptionCreation","sha":"3bdf84797d7713d5dae3e98ab1055a995112d438","user":{"login":"amagams","id":18583796,"avatar_url":"https://avatars3.githubusercontent.com/u/18583796?v=4","gravatar_id":"","url":"https://api.github.com/users/amagams","html_url":"https://github.com/amagams","followers_url":"https://api.github.com/users/amagams/followers","following_url":"https://api.github.com/users/amagams/following{/other_user}","gists_url":"https://api.github.com/users/amagams/gists{/gist_id}","starred_url":"https://api.github.com/users/amagams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amagams/subscriptions","organizations_url":"https://api.github.com/users/amagams/orgs","repos_url":"https://api.github.com/users/amagams/repos","events_url":"https://api.github.com/users/amagams/events{/privacy}","received_events_url":"https://api.github.com/users/amagams/received_events","type":"User","site_admin":false},"repo":{"id":121823814,"name":"azure-rest-api-specs","full_name":"amagams/azure-rest-api-specs","owner":{"login":"amagams","id":18583796,"avatar_url":"https://avatars3.githubusercontent.com/u/18583796?v=4","gravatar_id":"","url":"https://api.github.com/users/amagams","html_url":"https://github.com/amagams","followers_url":"https://api.github.com/users/amagams/followers","following_url":"https://api.github.com/users/amagams/following{/other_user}","gists_url":"https://api.github.com/users/amagams/gists{/gist_id}","starred_url":"https://api.github.com/users/amagams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amagams/subscriptions","organizations_url":"https://api.github.com/users/amagams/orgs","repos_url":"https://api.github.com/users/amagams/repos","events_url":"https://api.github.com/users/amagams/events{/privacy}","received_events_url":"https://api.github.com/users/amagams/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amagams/azure-rest-api-specs","description":"The source for REST API specifications for Microsoft Azure.","fork":true,"url":"https://api.github.com/repos/amagams/azure-rest-api-specs","forks_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/forks","keys_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/teams","hooks_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/hooks","issue_events_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues/events{/number}","events_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/events","assignees_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/assignees{/user}","branches_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/branches{/branch}","tags_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/tags","blobs_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/statuses/{sha}","languages_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/languages","stargazers_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/stargazers","contributors_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/contributors","subscribers_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/subscribers","subscription_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/subscription","commits_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/contents/{+path}","compare_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/merges","archive_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/downloads","issues_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues{/number}","pulls_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls{/number}","milestones_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/milestones{/number}","notifications_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/labels{/name}","releases_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/releases{/id}","deployments_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/deployments","created_at":"2018-02-17T03:17:32Z","updated_at":"2018-02-17T03:17:45Z","pushed_at":"2018-02-22T01:05:27Z","git_url":"git://github.com/amagams/azure-rest-api-specs.git","ssh_url":"git@github.com:amagams/azure-rest-api-specs.git","clone_url":"https://github.com/amagams/azure-rest-api-specs.git","svn_url":"https://github.com/amagams/azure-rest-api-specs","homepage":"","size":15124,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"amagams:master","ref":"master","sha":"b225620afcd196152175bfbfd6ae3c7b66f795c2","user":{"login":"amagams","id":18583796,"avatar_url":"https://avatars3.githubusercontent.com/u/18583796?v=4","gravatar_id":"","url":"https://api.github.com/users/amagams","html_url":"https://github.com/amagams","followers_url":"https://api.github.com/users/amagams/followers","following_url":"https://api.github.com/users/amagams/following{/other_user}","gists_url":"https://api.github.com/users/amagams/gists{/gist_id}","starred_url":"https://api.github.com/users/amagams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amagams/subscriptions","organizations_url":"https://api.github.com/users/amagams/orgs","repos_url":"https://api.github.com/users/amagams/repos","events_url":"https://api.github.com/users/amagams/events{/privacy}","received_events_url":"https://api.github.com/users/amagams/received_events","type":"User","site_admin":false},"repo":{"id":121823814,"name":"azure-rest-api-specs","full_name":"amagams/azure-rest-api-specs","owner":{"login":"amagams","id":18583796,"avatar_url":"https://avatars3.githubusercontent.com/u/18583796?v=4","gravatar_id":"","url":"https://api.github.com/users/amagams","html_url":"https://github.com/amagams","followers_url":"https://api.github.com/users/amagams/followers","following_url":"https://api.github.com/users/amagams/following{/other_user}","gists_url":"https://api.github.com/users/amagams/gists{/gist_id}","starred_url":"https://api.github.com/users/amagams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amagams/subscriptions","organizations_url":"https://api.github.com/users/amagams/orgs","repos_url":"https://api.github.com/users/amagams/repos","events_url":"https://api.github.com/users/amagams/events{/privacy}","received_events_url":"https://api.github.com/users/amagams/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amagams/azure-rest-api-specs","description":"The source for REST API specifications for Microsoft Azure.","fork":true,"url":"https://api.github.com/repos/amagams/azure-rest-api-specs","forks_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/forks","keys_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/teams","hooks_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/hooks","issue_events_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues/events{/number}","events_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/events","assignees_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/assignees{/user}","branches_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/branches{/branch}","tags_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/tags","blobs_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/statuses/{sha}","languages_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/languages","stargazers_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/stargazers","contributors_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/contributors","subscribers_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/subscribers","subscription_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/subscription","commits_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/contents/{+path}","compare_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/merges","archive_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/downloads","issues_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues{/number}","pulls_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls{/number}","milestones_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/milestones{/number}","notifications_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/labels{/name}","releases_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/releases{/id}","deployments_url":"https://api.github.com/repos/amagams/azure-rest-api-specs/deployments","created_at":"2018-02-17T03:17:32Z","updated_at":"2018-02-17T03:17:45Z","pushed_at":"2018-02-22T01:05:27Z","git_url":"git://github.com/amagams/azure-rest-api-specs.git","ssh_url":"git@github.com:amagams/azure-rest-api-specs.git","clone_url":"https://github.com/amagams/azure-rest-api-specs.git","svn_url":"https://github.com/amagams/azure-rest-api-specs","homepage":"","size":15124,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/1"},"html":{"href":"https://github.com/amagams/azure-rest-api-specs/pull/1"},"issue":{"href":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues/1"},"comments":{"href":"https://api.github.com/repos/amagams/azure-rest-api-specs/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amagams/azure-rest-api-specs/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/amagams/azure-rest-api-specs/statuses/3bdf84797d7713d5dae3e98ab1055a995112d438"}},"author_association":"OWNER"}}
{"actor":{"display_login":"wilcobmsft"}}