{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/comments/340044772","pull_request_review_id":308468062,"id":340044772,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0MDA0NDc3Mg==","diff_hunk":"@@ -0,0 +1,482 @@\n+﻿namespace Cosmos.Samples\n+{\n+    using System;\n+    using System.Collections.Generic;\n+    using System.IO;\n+    using System.Linq;\n+    using System.Net;\n+    using System.Text;\n+    using System.Threading.Tasks;\n+    using Microsoft.Azure.Cosmos;\n+    using Microsoft.Extensions.Configuration;\n+    using Newtonsoft.Json;\n+\n+    // ----------------------------------------------------------------------------------------------------------\n+    // Prerequisites - \n+    // \n+    // 1. An Azure Cosmos account - \n+    //    https://azure.microsoft.com/en-us/itemation/articles/itemdb-create-account/\n+    //\n+    // 2. Microsoft.Azure.Cosmos NuGet package - \n+    //    http://www.nuget.org/packages/Microsoft.Azure.Cosmos/ \n+    // ----------------------------------------------------------------------------------------------------------\n+    // Sample - demonstrates the basic usage of the Batch API that allows atomic CRUD operations against items\n+    // that have the same partition key in a container.\n+    // ----------------------------------------------------------------------------------------------------------\n+\n+    public class Program\n+    {\n+        private const string databaseId = \"samples\";\n+        private const string containerId = \"batchApi\";\n+        private static readonly JsonSerializer Serializer = new JsonSerializer();\n+\n+        private static Database database = null;\n+\n+        // <Main>\n+        public static async Task Main(string[] args)\n+        {\n+            try\n+            {\n+                // Read the Cosmos endpointUrl and authorisationKeys from configuration\n+                // These values are available from the Azure Management Portal on the Cosmos Account Blade under \"Keys\"\n+                // Keep these values in a safe & secure location. Together they provide Administrative access to your Cosmos account\n+                IConfigurationRoot configuration = new ConfigurationBuilder()\n+                    .AddJsonFile(\"appSettings.json\")\n+                    .Build();\n+\n+                string endpoint = configuration[\"EndPointUrl\"];\n+                if (string.IsNullOrEmpty(endpoint))\n+                {\n+                    throw new ArgumentNullException(\"Please specify a valid endpoint in the appSettings.json\");\n+                }\n+\n+                string authKey = configuration[\"AuthorizationKey\"];\n+                if (string.IsNullOrEmpty(authKey) || string.Equals(authKey, \"Super secret key\"))\n+                {\n+                    throw new ArgumentException(\"Please specify a valid AuthorizationKey in the appSettings.json\");\n+                }\n+\n+                // Read the Cosmos endpointUrl and authorization key from configuration\n+                // These values are available from the Azure Management Portal on the Cosmos Account Blade under \"Keys\"\n+                // NB > Keep these values in a safe & secure location. Together they provide Administrative access to your Cosmos account\n+                using (CosmosClient client = new CosmosClient(endpoint, authKey))\n+                {\n+                    await Program.InitializeAsync(client);\n+                    await Program.RunDemoAsync();\n+                    await Program.CleanupAsync();\n+                }\n+            }\n+            catch (CosmosException cre)\n+            {\n+                Console.WriteLine(cre.ToString());\n+            }\n+            catch (Exception e)\n+            {\n+                Exception baseException = e.GetBaseException();\n+                Console.WriteLine(\"Error: {0}, Message: {1}\", e.Message, baseException.Message);\n+            }\n+            finally\n+            {\n+                Console.WriteLine(\"End of demo, press any key to exit.\");\n+                Console.ReadKey();\n+            }\n+        }\n+        // </Main>\n+\n+        private static async Task InitializeAsync(CosmosClient client)\n+        {\n+            Program.database = await client.CreateDatabaseIfNotExistsAsync(Program.databaseId);\n+\n+            // Delete the existing container to prevent create item conflicts\n+            using (await Program.database.GetContainer(containerId).DeleteContainerStreamAsync())\n+            { }\n+\n+            Console.WriteLine(\"The demo will create a 1000 RU/s container, press any key to continue.\");\n+            Console.ReadKey();\n+\n+            // Create a container with a throughput of 1000 RU/s\n+            await Program.database.DefineContainer(containerId, \"/GameId\").CreateAsync(1000);\n+        }\n+\n+        private static async Task RunDemoAsync()\n+        {\n+            Container gamesContainer = Program.database.GetContainer(containerId);\n+\n+            // This code demonstrates interactions by a multi-player game service that hosts games with the database to save game state.\n+            // In this fictional game, players move about the 10x10 map and try to find balls. \n+            // The objective is to collect 2 balls of the same color, or a golden ball if one appears.\n+            // After 5 minutes, if the game is not complete, the player with highest number of balls wins.\n+            int gameId = 420;\n+            int playerCount = 3;\n+            int ballCount = 4;\n+            List<GameBall> balls = new List<GameBall>();\n+            List<GameParticipant> players = new List<GameParticipant>();\n+\n+            Console.WriteLine(\"At the start of the game, the balls are added on the map, and the players are added ...\");\n+\n+            // The below batch request is used to create the game balls and participants in an atomic fashion\n+            BatchResponse gameStartResponse = await gamesContainer.CreateBatch(new PartitionKey(gameId))\n+                .CreateItem<GameBall>(GameBall.Create(gameId, Color.Red, 4, 2))\n+                .CreateItem<GameBall>(GameBall.Create(gameId, Color.Blue, 6, 4))\n+                .CreateItem<GameBall>(GameBall.Create(gameId, Color.Blue, 8, 7))\n+                .CreateItem<GameBall>(GameBall.Create(gameId, Color.Red, 8, 8))\n+                .CreateItem<GameParticipant>(GameParticipant.Create(gameId, \"alice\"))\n+                .CreateItem<GameParticipant>(GameParticipant.Create(gameId, \"bob\"))\n+                .CreateItem<GameParticipant>(GameParticipant.Create(gameId, \"carla\"))\n+                .ExecuteAsync();\n+\n+            GameParticipant alice, bob, carla;\n+            GameBall firstBlueBall, secondRedBall;\n+\n+            using (gameStartResponse)\n+            {\n+                // Batch requests do not throw exceptions on execution failures as long as the request is valid, so we need to check the response status explicitly.\n+                // A HTTP 200 (OK) StatusCode on the BatchResponse indicates that all operations succeeded.\n+                // If one or more operations within the batch have failed, HTTP 207 (Multistatus) status code may be returned (example later).\n+                // Other status codes such as HTTP 429 (Too Many Requests) and HTTP 5xx on server errors may also be returned.\n+                // Given a batch request is atomic, in case any operation within a batch fails, no changes from the batch will be committed.\n+                if (gameStartResponse.StatusCode != HttpStatusCode.OK)\n+                {\n+                    // log exception and handle failure\n+                }\n+\n+                // Refresh in-memory state from response\n+                // The BatchResponse has a list of BatchOperationResult, one for each operation within the batch request in the order of operations.\n+                for (int index = 0; index < ballCount; index++)\n+                {\n+                    // The GetOperationResultAtIndex method returns the result of the batch operation with a Resource deserialized to the provided type.\n+                    BatchOperationResult<GameBall> gameBallResult = gameStartResponse.GetOperationResultAtIndex<GameBall>(index);\n+                    balls.Add(gameBallResult.Resource);\n+                }\n+\n+                firstBlueBall = balls[1];\n+                secondRedBall = balls[3];\n+\n+                for (int index = ballCount; index < gameStartResponse.Count; index++)\n+                {\n+                    players.Add(gameStartResponse.GetOperationResultAtIndex<GameParticipant>(index).Resource);\n+                }\n+\n+                alice = players.Single(p => p.Nickname == \"alice\");\n+                bob = players.Single(p => p.Nickname == \"bob\");\n+                carla = players.Single(p => p.Nickname == \"carla\");\n+            }\n+\n+            PrintState(players, balls);\n+\n+            Console.WriteLine(\"Alice goes to 6, 4 and finds a blue ball ...\");\n+            balls.Remove(firstBlueBall);\n+            alice.BlueCount++;\n+\n+            // Upserts maybe used to replace items or create them if they are not already present.\n+            // An existing item maybe replaced along with concurrency checks the ETag returned in the responses of earlier requests on the item\n+            // or without these checks if they are not required.\n+            // Item deletes may also be a part of batch requests.\n+            BatchResponse aliceFoundBallResponse = await gamesContainer.CreateBatch(new PartitionKey(gameId))\n+                .UpsertItem<ParticipantLastActive>(ParticipantLastActive.Create(gameId, \"alice\"))\n+                .ReplaceItem<GameParticipant>(alice.Nickname, alice, new BatchItemRequestOptions { IfMatchEtag = alice.ETag })\n+                .DeleteItem(firstBlueBall.Id)\n+                .ExecuteAsync();\n+\n+            using (aliceFoundBallResponse)\n+            {\n+                if (aliceFoundBallResponse.StatusCode != HttpStatusCode.OK)\n+                {\n+                    // log exception and handle failure\n+                }\n+\n+                // Refresh in-memory state from response\n+                // We only update the etag as we have the rest of the state we care about here already as needed.\n+                alice.ETag = aliceFoundBallResponse[1].ETag;\n+            }\n+\n+            PrintState(players, balls);\n+\n+            Console.WriteLine(\"Bob goes to 8, 8 and finds a red ball ...\");\n+            balls.Remove(secondRedBall);\n+            bob.RedCount++;\n+\n+            // Stream variants for all batch operations that accept an item are also available for use when the item is available as a Stream.\n+            Stream bobIsActiveStream = ParticipantLastActive.CreateStream(gameId, \"bob\");","path":"Microsoft.Azure.Cosmos.Samples/Usage/Batch/Program.cs","position":200,"original_position":200,"commit_id":"93a32b09dc457c3a3342bc9302eabfae2fedc111","original_commit_id":"93a32b09dc457c3a3342bc9302eabfae2fedc111","user":{"login":"j82w","id":8868107,"node_id":"MDQ6VXNlcjg4NjgxMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/8868107?v=4","gravatar_id":"","url":"https://api.github.com/users/j82w","html_url":"https://github.com/j82w","followers_url":"https://api.github.com/users/j82w/followers","following_url":"https://api.github.com/users/j82w/following{/other_user}","gists_url":"https://api.github.com/users/j82w/gists{/gist_id}","starred_url":"https://api.github.com/users/j82w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j82w/subscriptions","organizations_url":"https://api.github.com/users/j82w/orgs","repos_url":"https://api.github.com/users/j82w/repos","events_url":"https://api.github.com/users/j82w/events{/privacy}","received_events_url":"https://api.github.com/users/j82w/received_events","type":"User","site_admin":false},"body":"We should wrap the stream in a using statement.","created_at":"2019-10-29T12:29:01Z","updated_at":"2019-10-29T12:35:15Z","html_url":"https://github.com/Azure/azure-cosmos-dotnet-v3/pull/941#discussion_r340044772","pull_request_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/941","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/comments/340044772"},"html":{"href":"https://github.com/Azure/azure-cosmos-dotnet-v3/pull/941#discussion_r340044772"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/941"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/941","id":333446267,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMzNDQ2MjY3","html_url":"https://github.com/Azure/azure-cosmos-dotnet-v3/pull/941","diff_url":"https://github.com/Azure/azure-cosmos-dotnet-v3/pull/941.diff","patch_url":"https://github.com/Azure/azure-cosmos-dotnet-v3/pull/941.patch","issue_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues/941","number":941,"state":"open","locked":false,"title":"Samples for Batch API","user":{"login":"abhijitpai","id":17008087,"node_id":"MDQ6VXNlcjE3MDA4MDg3","avatar_url":"https://avatars0.githubusercontent.com/u/17008087?v=4","gravatar_id":"","url":"https://api.github.com/users/abhijitpai","html_url":"https://github.com/abhijitpai","followers_url":"https://api.github.com/users/abhijitpai/followers","following_url":"https://api.github.com/users/abhijitpai/following{/other_user}","gists_url":"https://api.github.com/users/abhijitpai/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitpai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitpai/subscriptions","organizations_url":"https://api.github.com/users/abhijitpai/orgs","repos_url":"https://api.github.com/users/abhijitpai/repos","events_url":"https://api.github.com/users/abhijitpai/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitpai/received_events","type":"User","site_admin":false},"body":"## Description\r\n\r\nAdded samples for the atomic Batch API.\r\n\r\n## Type of change\r\n\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n\r\n## Closing issues\r\n\r\nCloses #805 ","created_at":"2019-10-29T05:55:00Z","updated_at":"2019-10-29T12:35:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4be0f374b3cc960ccf4c23d01b31aa8e995cbbdf","assignee":{"login":"abhijitpai","id":17008087,"node_id":"MDQ6VXNlcjE3MDA4MDg3","avatar_url":"https://avatars0.githubusercontent.com/u/17008087?v=4","gravatar_id":"","url":"https://api.github.com/users/abhijitpai","html_url":"https://github.com/abhijitpai","followers_url":"https://api.github.com/users/abhijitpai/followers","following_url":"https://api.github.com/users/abhijitpai/following{/other_user}","gists_url":"https://api.github.com/users/abhijitpai/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitpai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitpai/subscriptions","organizations_url":"https://api.github.com/users/abhijitpai/orgs","repos_url":"https://api.github.com/users/abhijitpai/repos","events_url":"https://api.github.com/users/abhijitpai/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitpai/received_events","type":"User","site_admin":false},"assignees":[{"login":"abhijitpai","id":17008087,"node_id":"MDQ6VXNlcjE3MDA4MDg3","avatar_url":"https://avatars0.githubusercontent.com/u/17008087?v=4","gravatar_id":"","url":"https://api.github.com/users/abhijitpai","html_url":"https://github.com/abhijitpai","followers_url":"https://api.github.com/users/abhijitpai/followers","following_url":"https://api.github.com/users/abhijitpai/following{/other_user}","gists_url":"https://api.github.com/users/abhijitpai/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitpai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitpai/subscriptions","organizations_url":"https://api.github.com/users/abhijitpai/orgs","repos_url":"https://api.github.com/users/abhijitpai/repos","events_url":"https://api.github.com/users/abhijitpai/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitpai/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ealsur","id":1633401,"node_id":"MDQ6VXNlcjE2MzM0MDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1633401?v=4","gravatar_id":"","url":"https://api.github.com/users/ealsur","html_url":"https://github.com/ealsur","followers_url":"https://api.github.com/users/ealsur/followers","following_url":"https://api.github.com/users/ealsur/following{/other_user}","gists_url":"https://api.github.com/users/ealsur/gists{/gist_id}","starred_url":"https://api.github.com/users/ealsur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ealsur/subscriptions","organizations_url":"https://api.github.com/users/ealsur/orgs","repos_url":"https://api.github.com/users/ealsur/repos","events_url":"https://api.github.com/users/ealsur/events{/privacy}","received_events_url":"https://api.github.com/users/ealsur/received_events","type":"User","site_admin":false},{"login":"kirankumarkolli","id":6880899,"node_id":"MDQ6VXNlcjY4ODA4OTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6880899?v=4","gravatar_id":"","url":"https://api.github.com/users/kirankumarkolli","html_url":"https://github.com/kirankumarkolli","followers_url":"https://api.github.com/users/kirankumarkolli/followers","following_url":"https://api.github.com/users/kirankumarkolli/following{/other_user}","gists_url":"https://api.github.com/users/kirankumarkolli/gists{/gist_id}","starred_url":"https://api.github.com/users/kirankumarkolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirankumarkolli/subscriptions","organizations_url":"https://api.github.com/users/kirankumarkolli/orgs","repos_url":"https://api.github.com/users/kirankumarkolli/repos","events_url":"https://api.github.com/users/kirankumarkolli/events{/privacy}","received_events_url":"https://api.github.com/users/kirankumarkolli/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/941/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/941/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues/941/comments","statuses_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/statuses/93a32b09dc457c3a3342bc9302eabfae2fedc111","head":{"label":"Azure:users/abpai/batchsamples","ref":"users/abpai/batchsamples","sha":"93a32b09dc457c3a3342bc9302eabfae2fedc111","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":156260788,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYyNjA3ODg=","name":"azure-cosmos-dotnet-v3","full_name":"Azure/azure-cosmos-dotnet-v3","private":false,"owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Azure/azure-cosmos-dotnet-v3","description":".NET SDK for Azure Cosmos DB for the core SQL API","fork":false,"url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3","forks_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/forks","keys_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/teams","hooks_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/events","assignees_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/tags","blobs_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/subscription","commits_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/merges","archive_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/downloads","issues_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/deployments","created_at":"2018-11-05T18:03:16Z","updated_at":"2019-10-29T11:44:02Z","pushed_at":"2019-10-29T12:15:10Z","git_url":"git://github.com/Azure/azure-cosmos-dotnet-v3.git","ssh_url":"git@github.com:Azure/azure-cosmos-dotnet-v3.git","clone_url":"https://github.com/Azure/azure-cosmos-dotnet-v3.git","svn_url":"https://github.com/Azure/azure-cosmos-dotnet-v3","homepage":null,"size":136011,"stargazers_count":207,"watchers_count":207,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":129,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":77,"open_issues":129,"watchers":207,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"0eb41935fbe80a4d52ce4a71397d53c3c0f998ed","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":156260788,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYyNjA3ODg=","name":"azure-cosmos-dotnet-v3","full_name":"Azure/azure-cosmos-dotnet-v3","private":false,"owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Azure/azure-cosmos-dotnet-v3","description":".NET SDK for Azure Cosmos DB for the core SQL API","fork":false,"url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3","forks_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/forks","keys_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/teams","hooks_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/events","assignees_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/tags","blobs_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/subscription","commits_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/merges","archive_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/downloads","issues_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/deployments","created_at":"2018-11-05T18:03:16Z","updated_at":"2019-10-29T11:44:02Z","pushed_at":"2019-10-29T12:15:10Z","git_url":"git://github.com/Azure/azure-cosmos-dotnet-v3.git","ssh_url":"git@github.com:Azure/azure-cosmos-dotnet-v3.git","clone_url":"https://github.com/Azure/azure-cosmos-dotnet-v3.git","svn_url":"https://github.com/Azure/azure-cosmos-dotnet-v3","homepage":null,"size":136011,"stargazers_count":207,"watchers_count":207,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":129,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":77,"open_issues":129,"watchers":207,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/941"},"html":{"href":"https://github.com/Azure/azure-cosmos-dotnet-v3/pull/941"},"issue":{"href":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues/941"},"comments":{"href":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/issues/941/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/941/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/pulls/941/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-cosmos-dotnet-v3/statuses/93a32b09dc457c3a3342bc9302eabfae2fedc111"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"j82w"}}