{"action":"created","comment":{"url":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/comments/31793276","id":31793276,"diff_hunk":"@@ -0,0 +1,185 @@\n+﻿// Copyright (c) .NET Foundation. All rights reserved.\n+// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n+\n+using System;\n+using System.Collections.Generic;\n+using System.Diagnostics;\n+using System.Globalization;\n+using System.Text.RegularExpressions;\n+using System.Threading.Tasks;\n+using Microsoft.WindowsAzure.Storage;\n+using NuGet.Jobs.Common;\n+using Stats.CollectAzureCdnLogs.Blob;\n+using Stats.CollectAzureCdnLogs.Ftp;\n+\n+namespace Stats.CollectAzureCdnLogs\n+{\n+    public class Job\n+         : JobBase\n+    {\n+        private Uri _ftpServerUri;\n+        private string _ftpUsername;\n+        private string _ftpPassword;\n+        private string _azureCdnAccountNumber;\n+        private AzureCdnPlatform _azureCdnPlatform;\n+        private CloudStorageAccount _cloudStorageAccount;\n+        private string _cloudStorageContainerName;\n+\n+        public Job()\n+            : base(JobEventSource.Log)\n+        {\n+        }\n+\n+        public override bool Init(IDictionary<string, string> jobArgsDictionary)\n+        {\n+            try\n+            {\n+                var ftpLogFolder = JobConfigManager.GetArgument(jobArgsDictionary, JobArgumentNames.FtpSourceUri);\n+                var azureCdnPlatform = JobConfigManager.GetArgument(jobArgsDictionary, JobArgumentNames.AzureCdnPlatform);\n+                var cloudStorageAccount = JobConfigManager.GetArgument(jobArgsDictionary, JobArgumentNames.AzureCdnCloudStorageAccount);\n+                _cloudStorageContainerName = JobConfigManager.GetArgument(jobArgsDictionary, JobArgumentNames.AzureCdnCloudStorageContainerName);\n+                _azureCdnAccountNumber = JobConfigManager.GetArgument(jobArgsDictionary, JobArgumentNames.AzureCdnAccountNumber);\n+                _ftpUsername = JobConfigManager.GetArgument(jobArgsDictionary, JobArgumentNames.FtpSourceUsername);\n+                _ftpPassword = JobConfigManager.GetArgument(jobArgsDictionary, JobArgumentNames.FtpSourcePassword);\n+\n+                _ftpServerUri = ValidateFtpUri(ftpLogFolder);\n+                _azureCdnPlatform = ValidateAzureCdnPlatform(azureCdnPlatform);\n+                _cloudStorageAccount = ValidateAzureCloudStorageAccount(cloudStorageAccount);\n+\n+                return true;\n+            }\n+            catch (Exception ex)\n+            {\n+                Trace.TraceError(ex.ToString());\n+            }\n+            return false;\n+        }\n+\n+        private static CloudStorageAccount ValidateAzureCloudStorageAccount(string cloudStorageAccount)\n+        {\n+            if (string.IsNullOrEmpty(cloudStorageAccount))\n+            {\n+                throw new ArgumentException(\"Job parameter for Azure CDN Cloud Storage Account is not defined.\");\n+            }\n+\n+            CloudStorageAccount account;\n+            if (CloudStorageAccount.TryParse(cloudStorageAccount, out account))\n+            {\n+                return account;\n+            }\n+            throw new ArgumentException(\"Job parameter for Azure CDN Cloud Storage Account is invalid.\");\n+        }\n+\n+        private static AzureCdnPlatform ValidateAzureCdnPlatform(string azureCdnPlatform)\n+        {\n+            if (string.IsNullOrEmpty(azureCdnPlatform))\n+            {\n+                throw new ArgumentException(\"Job parameter for Azure CDN Platform is not defined.\");\n+            }\n+\n+            AzureCdnPlatform value;\n+            if (Enum.TryParse(azureCdnPlatform, true, out value))\n+            {\n+                return value;\n+            }\n+            throw new ArgumentException(\"Job parameter for Azure CDN Platform is invalid. Allowed values are: HttpLargeObject, HttpSmallObject, ApplicationDeliveryNetwork, FlashMediaStreaming.\");\n+\n+        }\n+\n+        private static Uri ValidateFtpUri(string serverUrl)\n+        {\n+            string trimmedServerUrl = (serverUrl ?? string.Empty).Trim();\n+\n+            if (string.IsNullOrEmpty(trimmedServerUrl))\n+            {\n+                throw new ArgumentException(\"FTP Server Uri is null or empty.\", \"serverUrl\");\n+            }\n+\n+            // if no protocol was specified assume ftp\n+            Regex schemeRegex = new Regex(@\"^[a-zA-Z]+://\");\n+            if (!schemeRegex.IsMatch(trimmedServerUrl))\n+            {\n+                trimmedServerUrl = String.Concat(@\"ftp://\", trimmedServerUrl);\n+            }\n+\n+            Uri uri = new Uri(trimmedServerUrl);\n+\n+            if (!uri.IsAbsoluteUri)\n+            {\n+                throw new UriFormatException(String.Format(CultureInfo.CurrentCulture, \"FTP Server Uri must be an absolute URI. Value: '{0}'.\", trimmedServerUrl));\n+            }\n+\n+            // only ftp is supported but we could support others\n+            if (!uri.Scheme.Equals(\"ftp\", StringComparison.OrdinalIgnoreCase))\n+            {\n+                throw new UriFormatException(String.Format(CultureInfo.CurrentCulture, \"FTP Server Uri must use the 'ftp://' scheme. Value: '{0}'.\", trimmedServerUrl));\n+            }\n+\n+            return uri;\n+        }\n+\n+        public override async Task<bool> Run()\n+        {\n+            try\n+            {\n+                var ftpClient = new FtpRawLogClient(JobEventSource.Log, _ftpUsername, _ftpPassword);\n+                var azureClient = new CloudBlobRawLogClient(JobEventSource.Log, _cloudStorageAccount);\n+\n+                // collect directory listing\n+                IEnumerable<RawLogFileInfo> rawLogFiles = await ftpClient.GetRawLogFiles(_ftpServerUri);\n+\n+                // prepare cloud storage blob container\n+                var cloudBlobContainer = await azureClient.CreateContainerIfNotExistsAsync(_cloudStorageContainerName);\n+\n+                foreach (var rawLogFile in rawLogFiles)\n+                {\n+                    try\n+                    {\n+                        // only process the raw log files matching the target CDN platform and account number\n+                        if (_azureCdnPlatform == rawLogFile.AzureCdnPlatform && _azureCdnAccountNumber.Equals(rawLogFile.AzureCdnAccountNumber, StringComparison.InvariantCultureIgnoreCase))\n+                        {\n+                            // 1. Rename the file on the origin to ensure we're not locking a file that still can be written to.\n+                            Uri rawLogUri = await ftpClient.RenameAsync(rawLogFile, rawLogFile.FileName + FileExtensions.Download);\n+\n+                            if (rawLogUri == null)\n+                            {\n+                                // Failed to rename the file. Leave it and try again later.\n+                                continue;","path":"src/Stats.CollectAzureCdnLogs/Job.cs","position":147,"original_position":147,"commit_id":"fcf97f794d300d7e4ae932b74ef5ab634a1372c6","original_commit_id":"fcf97f794d300d7e4ae932b74ef5ab634a1372c6","user":{"login":"maartenba","id":485230,"avatar_url":"https://avatars.githubusercontent.com/u/485230?v=3","gravatar_id":"","url":"https://api.github.com/users/maartenba","html_url":"https://github.com/maartenba","followers_url":"https://api.github.com/users/maartenba/followers","following_url":"https://api.github.com/users/maartenba/following{/other_user}","gists_url":"https://api.github.com/users/maartenba/gists{/gist_id}","starred_url":"https://api.github.com/users/maartenba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maartenba/subscriptions","organizations_url":"https://api.github.com/users/maartenba/orgs","repos_url":"https://api.github.com/users/maartenba/repos","events_url":"https://api.github.com/users/maartenba/events{/privacy}","received_events_url":"https://api.github.com/users/maartenba/received_events","type":"User","site_admin":false},"body":"What if this keeps happening? Can we add some logic to see if a file is older than X hours/days (which means unprocessed for quite a while) and notify the team?","created_at":"2015-06-05T07:47:58Z","updated_at":"2015-06-05T07:47:58Z","html_url":"https://github.com/NuGet/NuGet.Jobs/pull/24#discussion_r31793276","pull_request_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/comments/31793276"},"html":{"href":"https://github.com/NuGet/NuGet.Jobs/pull/24#discussion_r31793276"},"pull_request":{"href":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/24","id":36864189,"html_url":"https://github.com/NuGet/NuGet.Jobs/pull/24","diff_url":"https://github.com/NuGet/NuGet.Jobs/pull/24.diff","patch_url":"https://github.com/NuGet/NuGet.Jobs/pull/24.patch","issue_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues/24","number":24,"state":"open","locked":false,"title":"created Stats.CollectAzureCdnLogs job","user":{"login":"xavierdecoster","id":880728,"avatar_url":"https://avatars.githubusercontent.com/u/880728?v=3","gravatar_id":"","url":"https://api.github.com/users/xavierdecoster","html_url":"https://github.com/xavierdecoster","followers_url":"https://api.github.com/users/xavierdecoster/followers","following_url":"https://api.github.com/users/xavierdecoster/following{/other_user}","gists_url":"https://api.github.com/users/xavierdecoster/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierdecoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierdecoster/subscriptions","organizations_url":"https://api.github.com/users/xavierdecoster/orgs","repos_url":"https://api.github.com/users/xavierdecoster/repos","events_url":"https://api.github.com/users/xavierdecoster/events{/privacy}","received_events_url":"https://api.github.com/users/xavierdecoster/received_events","type":"User","site_admin":false},"body":"Added a job that is collecting the raw Azure CDN logs:\r\n* it renames files on the FTP server before downloading them\r\n* it uploads the downloaded files to Azure blob storage\r\n* it then deletes the renamed files from the FTP server\r\n* it supports resuming pending downloads (these files got renamed already on the FTP server) - useful when the job crashes after a rename before completing the download/upload steps","created_at":"2015-06-03T18:44:16Z","updated_at":"2015-06-05T07:47:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41e686dc09b68b2f06a739aef343f8c52fb4328c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/24/commits","review_comments_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/24/comments","review_comment_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues/24/comments","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/statuses/fcf97f794d300d7e4ae932b74ef5ab634a1372c6","head":{"label":"NuGet:xadeco/azure-cdn-logs","ref":"xadeco/azure-cdn-logs","sha":"fcf97f794d300d7e4ae932b74ef5ab634a1372c6","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":23330255,"name":"NuGet.Jobs","full_name":"NuGet/NuGet.Jobs","owner":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuGet/NuGet.Jobs","description":"","fork":false,"url":"https://api.github.com/repos/NuGet/NuGet.Jobs","forks_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/forks","keys_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/events","assignees_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/merges","archive_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/releases{/id}","created_at":"2014-08-25T22:01:47Z","updated_at":"2015-05-25T10:40:15Z","pushed_at":"2015-06-04T07:32:00Z","git_url":"git://github.com/NuGet/NuGet.Jobs.git","ssh_url":"git@github.com:NuGet/NuGet.Jobs.git","clone_url":"https://github.com/NuGet/NuGet.Jobs.git","svn_url":"https://github.com/NuGet/NuGet.Jobs","homepage":null,"size":920,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"NuGet:master","ref":"master","sha":"1667c05a30d087ee6f0fbecd52badc653c149187","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":23330255,"name":"NuGet.Jobs","full_name":"NuGet/NuGet.Jobs","owner":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuGet/NuGet.Jobs","description":"","fork":false,"url":"https://api.github.com/repos/NuGet/NuGet.Jobs","forks_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/forks","keys_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/events","assignees_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/merges","archive_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGet.Jobs/releases{/id}","created_at":"2014-08-25T22:01:47Z","updated_at":"2015-05-25T10:40:15Z","pushed_at":"2015-06-04T07:32:00Z","git_url":"git://github.com/NuGet/NuGet.Jobs.git","ssh_url":"git@github.com:NuGet/NuGet.Jobs.git","clone_url":"https://github.com/NuGet/NuGet.Jobs.git","svn_url":"https://github.com/NuGet/NuGet.Jobs","homepage":null,"size":920,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/24"},"html":{"href":"https://github.com/NuGet/NuGet.Jobs/pull/24"},"issue":{"href":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues/24"},"comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Jobs/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NuGet/NuGet.Jobs/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/NuGet/NuGet.Jobs/statuses/fcf97f794d300d7e4ae932b74ef5ab634a1372c6"}}}}