{"action":"created","comment":{"url":"https://api.github.com/repos/OData/WebApi/pulls/comments/33217742","id":33217742,"diff_hunk":"@@ -0,0 +1,272 @@\n+﻿// Copyright (c) Microsoft Corporation.  All rights reserved.\n+// Licensed under the MIT License.  See License.txt in the project root for license information.\n+\n+using System.Collections.Generic;\n+using System.Collections.ObjectModel;\n+using System.Diagnostics.Contracts;\n+using System.Linq;\n+using System.Web.Http;\n+using Microsoft.OData.Edm;\n+using Microsoft.OData.Edm.Csdl;\n+using Microsoft.OData.Edm.Expressions;\n+using Microsoft.OData.Edm.Library;\n+using Microsoft.OData.Edm.Library.Annotations;\n+using Microsoft.OData.Edm.Library.Expressions;\n+using Microsoft.OData.Edm.Library.Values;\n+\n+namespace System.Web.OData.Builder\n+{\n+    /// <summary>\n+    /// Contains extension methods for <see cref=\"EdmModel\"/> to set the query capabilities vocabulary.\n+    /// </summary>\n+    public static class CapabilitiesVocabularyExtensionMethods\n+    {","path":"OData/src/System.Web.OData/OData/Builder/CapabilitiesVocabularyExtensionMethods.cs","position":23,"original_position":23,"commit_id":"99ff45aa0e301a3eeb2242cc441c895a41dd0f97","original_commit_id":"99ff45aa0e301a3eeb2242cc441c895a41dd0f97","user":{"login":"karataliu","id":10071498,"avatar_url":"https://avatars.githubusercontent.com/u/10071498?v=3","gravatar_id":"","url":"https://api.github.com/users/karataliu","html_url":"https://github.com/karataliu","followers_url":"https://api.github.com/users/karataliu/followers","following_url":"https://api.github.com/users/karataliu/following{/other_user}","gists_url":"https://api.github.com/users/karataliu/gists{/gist_id}","starred_url":"https://api.github.com/users/karataliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karataliu/subscriptions","organizations_url":"https://api.github.com/users/karataliu/orgs","repos_url":"https://api.github.com/users/karataliu/repos","events_url":"https://api.github.com/users/karataliu/events{/privacy}","received_events_url":"https://api.github.com/users/karataliu/received_events","type":"User","site_admin":false},"body":"make internal?","created_at":"2015-06-25T02:43:44Z","updated_at":"2015-06-25T02:43:44Z","html_url":"https://github.com/OData/WebApi/pull/405#discussion_r33217742","pull_request_url":"https://api.github.com/repos/OData/WebApi/pulls/405","_links":{"self":{"href":"https://api.github.com/repos/OData/WebApi/pulls/comments/33217742"},"html":{"href":"https://github.com/OData/WebApi/pull/405#discussion_r33217742"},"pull_request":{"href":"https://api.github.com/repos/OData/WebApi/pulls/405"}}},"pull_request":{"url":"https://api.github.com/repos/OData/WebApi/pulls/405","id":37867156,"html_url":"https://github.com/OData/WebApi/pull/405","diff_url":"https://github.com/OData/WebApi/pull/405.diff","patch_url":"https://github.com/OData/WebApi/pull/405.patch","issue_url":"https://api.github.com/repos/OData/WebApi/issues/405","number":405,"state":"open","locked":false,"title":"Add capabilities vocabulary annotation support.","user":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"body":"To support the following capabilities vocabulary annotation:\r\n\r\n•\tNonFilterable / NotFilterable -- $filter\r\n•\tNotCountable -- $count\r\n•\tNotExpandable  -- $expand\r\n•\tNotNavigable   -- $select\r\n•\tNotSortable / Unsortable -- $orderby\r\n","created_at":"2015-06-17T05:35:19Z","updated_at":"2015-06-25T02:43:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5e3e567f32ca8b1c937217291e383cb0f95156f","assignee":{"login":"karataliu","id":10071498,"avatar_url":"https://avatars.githubusercontent.com/u/10071498?v=3","gravatar_id":"","url":"https://api.github.com/users/karataliu","html_url":"https://github.com/karataliu","followers_url":"https://api.github.com/users/karataliu/followers","following_url":"https://api.github.com/users/karataliu/following{/other_user}","gists_url":"https://api.github.com/users/karataliu/gists{/gist_id}","starred_url":"https://api.github.com/users/karataliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karataliu/subscriptions","organizations_url":"https://api.github.com/users/karataliu/orgs","repos_url":"https://api.github.com/users/karataliu/repos","events_url":"https://api.github.com/users/karataliu/events{/privacy}","received_events_url":"https://api.github.com/users/karataliu/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OData/WebApi/milestones/8","html_url":"https://github.com/OData/WebApi/milestones/v5.7","labels_url":"https://api.github.com/repos/OData/WebApi/milestones/8/labels","id":932690,"number":8,"title":"v5.7","description":"","creator":{"login":"LianwMS","id":9375712,"avatar_url":"https://avatars.githubusercontent.com/u/9375712?v=3","gravatar_id":"","url":"https://api.github.com/users/LianwMS","html_url":"https://github.com/LianwMS","followers_url":"https://api.github.com/users/LianwMS/followers","following_url":"https://api.github.com/users/LianwMS/following{/other_user}","gists_url":"https://api.github.com/users/LianwMS/gists{/gist_id}","starred_url":"https://api.github.com/users/LianwMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LianwMS/subscriptions","organizations_url":"https://api.github.com/users/LianwMS/orgs","repos_url":"https://api.github.com/users/LianwMS/repos","events_url":"https://api.github.com/users/LianwMS/events{/privacy}","received_events_url":"https://api.github.com/users/LianwMS/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":14,"state":"open","created_at":"2015-01-13T01:18:43Z","updated_at":"2015-06-24T07:38:42Z","due_on":"2015-07-09T16:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/OData/WebApi/pulls/405/commits","review_comments_url":"https://api.github.com/repos/OData/WebApi/pulls/405/comments","review_comment_url":"https://api.github.com/repos/OData/WebApi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OData/WebApi/issues/405/comments","statuses_url":"https://api.github.com/repos/OData/WebApi/statuses/99ff45aa0e301a3eeb2242cc441c895a41dd0f97","head":{"label":"xuzhg:VocabularySupport","ref":"VocabularySupport","sha":"99ff45aa0e301a3eeb2242cc441c895a41dd0f97","user":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"repo":{"id":32921856,"name":"WebApi","full_name":"xuzhg/WebApi","owner":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xuzhg/WebApi","description":"OData Web API: A server library built upon ODataLib and WebApi","fork":true,"url":"https://api.github.com/repos/xuzhg/WebApi","forks_url":"https://api.github.com/repos/xuzhg/WebApi/forks","keys_url":"https://api.github.com/repos/xuzhg/WebApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xuzhg/WebApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xuzhg/WebApi/teams","hooks_url":"https://api.github.com/repos/xuzhg/WebApi/hooks","issue_events_url":"https://api.github.com/repos/xuzhg/WebApi/issues/events{/number}","events_url":"https://api.github.com/repos/xuzhg/WebApi/events","assignees_url":"https://api.github.com/repos/xuzhg/WebApi/assignees{/user}","branches_url":"https://api.github.com/repos/xuzhg/WebApi/branches{/branch}","tags_url":"https://api.github.com/repos/xuzhg/WebApi/tags","blobs_url":"https://api.github.com/repos/xuzhg/WebApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xuzhg/WebApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xuzhg/WebApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/xuzhg/WebApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xuzhg/WebApi/statuses/{sha}","languages_url":"https://api.github.com/repos/xuzhg/WebApi/languages","stargazers_url":"https://api.github.com/repos/xuzhg/WebApi/stargazers","contributors_url":"https://api.github.com/repos/xuzhg/WebApi/contributors","subscribers_url":"https://api.github.com/repos/xuzhg/WebApi/subscribers","subscription_url":"https://api.github.com/repos/xuzhg/WebApi/subscription","commits_url":"https://api.github.com/repos/xuzhg/WebApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/xuzhg/WebApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/xuzhg/WebApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/xuzhg/WebApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/xuzhg/WebApi/contents/{+path}","compare_url":"https://api.github.com/repos/xuzhg/WebApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xuzhg/WebApi/merges","archive_url":"https://api.github.com/repos/xuzhg/WebApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xuzhg/WebApi/downloads","issues_url":"https://api.github.com/repos/xuzhg/WebApi/issues{/number}","pulls_url":"https://api.github.com/repos/xuzhg/WebApi/pulls{/number}","milestones_url":"https://api.github.com/repos/xuzhg/WebApi/milestones{/number}","notifications_url":"https://api.github.com/repos/xuzhg/WebApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xuzhg/WebApi/labels{/name}","releases_url":"https://api.github.com/repos/xuzhg/WebApi/releases{/id}","created_at":"2015-03-26T10:49:38Z","updated_at":"2015-04-22T05:39:20Z","pushed_at":"2015-06-25T01:59:37Z","git_url":"git://github.com/xuzhg/WebApi.git","ssh_url":"git@github.com:xuzhg/WebApi.git","clone_url":"https://github.com/xuzhg/WebApi.git","svn_url":"https://github.com/xuzhg/WebApi","homepage":"","size":12347,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OData:master","ref":"master","sha":"88376cfea69b68d3a043c6c55fe7d0db41537d3f","user":{"login":"OData","id":916520,"avatar_url":"https://avatars.githubusercontent.com/u/916520?v=3","gravatar_id":"","url":"https://api.github.com/users/OData","html_url":"https://github.com/OData","followers_url":"https://api.github.com/users/OData/followers","following_url":"https://api.github.com/users/OData/following{/other_user}","gists_url":"https://api.github.com/users/OData/gists{/gist_id}","starred_url":"https://api.github.com/users/OData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OData/subscriptions","organizations_url":"https://api.github.com/users/OData/orgs","repos_url":"https://api.github.com/users/OData/repos","events_url":"https://api.github.com/users/OData/events{/privacy}","received_events_url":"https://api.github.com/users/OData/received_events","type":"Organization","site_admin":false},"repo":{"id":28804670,"name":"WebApi","full_name":"OData/WebApi","owner":{"login":"OData","id":916520,"avatar_url":"https://avatars.githubusercontent.com/u/916520?v=3","gravatar_id":"","url":"https://api.github.com/users/OData","html_url":"https://github.com/OData","followers_url":"https://api.github.com/users/OData/followers","following_url":"https://api.github.com/users/OData/following{/other_user}","gists_url":"https://api.github.com/users/OData/gists{/gist_id}","starred_url":"https://api.github.com/users/OData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OData/subscriptions","organizations_url":"https://api.github.com/users/OData/orgs","repos_url":"https://api.github.com/users/OData/repos","events_url":"https://api.github.com/users/OData/events{/privacy}","received_events_url":"https://api.github.com/users/OData/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OData/WebApi","description":"OData Web API: A server library built upon ODataLib and WebApi","fork":false,"url":"https://api.github.com/repos/OData/WebApi","forks_url":"https://api.github.com/repos/OData/WebApi/forks","keys_url":"https://api.github.com/repos/OData/WebApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OData/WebApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OData/WebApi/teams","hooks_url":"https://api.github.com/repos/OData/WebApi/hooks","issue_events_url":"https://api.github.com/repos/OData/WebApi/issues/events{/number}","events_url":"https://api.github.com/repos/OData/WebApi/events","assignees_url":"https://api.github.com/repos/OData/WebApi/assignees{/user}","branches_url":"https://api.github.com/repos/OData/WebApi/branches{/branch}","tags_url":"https://api.github.com/repos/OData/WebApi/tags","blobs_url":"https://api.github.com/repos/OData/WebApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OData/WebApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OData/WebApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/OData/WebApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OData/WebApi/statuses/{sha}","languages_url":"https://api.github.com/repos/OData/WebApi/languages","stargazers_url":"https://api.github.com/repos/OData/WebApi/stargazers","contributors_url":"https://api.github.com/repos/OData/WebApi/contributors","subscribers_url":"https://api.github.com/repos/OData/WebApi/subscribers","subscription_url":"https://api.github.com/repos/OData/WebApi/subscription","commits_url":"https://api.github.com/repos/OData/WebApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/OData/WebApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/OData/WebApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/OData/WebApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/OData/WebApi/contents/{+path}","compare_url":"https://api.github.com/repos/OData/WebApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OData/WebApi/merges","archive_url":"https://api.github.com/repos/OData/WebApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OData/WebApi/downloads","issues_url":"https://api.github.com/repos/OData/WebApi/issues{/number}","pulls_url":"https://api.github.com/repos/OData/WebApi/pulls{/number}","milestones_url":"https://api.github.com/repos/OData/WebApi/milestones{/number}","notifications_url":"https://api.github.com/repos/OData/WebApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OData/WebApi/labels{/name}","releases_url":"https://api.github.com/repos/OData/WebApi/releases{/id}","created_at":"2015-01-05T08:50:51Z","updated_at":"2015-06-25T01:18:50Z","pushed_at":"2015-06-25T01:59:37Z","git_url":"git://github.com/OData/WebApi.git","ssh_url":"git@github.com:OData/WebApi.git","clone_url":"https://github.com/OData/WebApi.git","svn_url":"https://github.com/OData/WebApi","homepage":"http://odata.github.io/WebApi","size":26045,"stargazers_count":92,"watchers_count":92,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":57,"mirror_url":null,"open_issues_count":246,"forks":57,"open_issues":246,"watchers":92,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OData/WebApi/pulls/405"},"html":{"href":"https://github.com/OData/WebApi/pull/405"},"issue":{"href":"https://api.github.com/repos/OData/WebApi/issues/405"},"comments":{"href":"https://api.github.com/repos/OData/WebApi/issues/405/comments"},"review_comments":{"href":"https://api.github.com/repos/OData/WebApi/pulls/405/comments"},"review_comment":{"href":"https://api.github.com/repos/OData/WebApi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OData/WebApi/pulls/405/commits"},"statuses":{"href":"https://api.github.com/repos/OData/WebApi/statuses/99ff45aa0e301a3eeb2242cc441c895a41dd0f97"}}}}