stacky / trunk / source / Stacky / StackyClient / NetworkMethods.cs

Diff from to

trunk/source/Stacky/StackyClient/NetworkMethods.cs

         /// <summary>
         /// See: http://api.stackexchange.com/docs/read-access-tokens
         /// </summary>
-        public IPagedList<AccessToken> ReadAccessTokens(IEnumerable<string> tokens, int? page = null, int? pageSize = null, string filter = null)
+        public IPagedList<AccessToken> GetAccessTokens(IEnumerable<string> tokens, int? page = null, int? pageSize = null, string filter = null)
         {
-            var response = MakeRequest<AccessToken>("access-tokens", new string[] { tokens.Vectorize(), "read" }, new
+            var response = MakeRequest<AccessToken>("access-tokens", new string[] { tokens.Vectorize() }, new
             {
                 page = page,
                 pagesize = pageSize,
         /// <summary>
         /// See: http://api.stackexchange.com/docs/read-access-tokens
         /// </summary>
-        public AccessToken ReadAccessToken(string token, int? page = null, int? pageSize = null, string filter = null)
+        public AccessToken GetAccessToken(string token, int? page = null, int? pageSize = null, string filter = null)
         {
-            return ReadAccessTokens(new string[] { token }, page, pageSize, filter).FirstOrDefault();
+            return GetAccessTokens(new string[] { token }, page, pageSize, filter).FirstOrDefault();
         }
 
         /// <summary>
         /// </summary>
         public Filter CreateFilter(IEnumerable<string> include, IEnumerable<string> exclude, string baseFilter = null, bool? isUnsafe = null)
         {
-            var response = MakeRequest<Filter>("similar", null, new
+            var response = MakeRequest<Filter>("filters/create", null, new
             {
                 include = TryVectorize(include),
                 exclude = TryVectorize(exclude),
         /// </summary>
         public IEnumerable<Filter> GetFilters(IEnumerable<string> filters, string filter = null)
         {
-            var response = MakeRequest<Filter>("similar", new string[] { filters.Vectorize() }, new
+            var response = MakeRequest<Filter>("filter", new string[] { filters.Vectorize() }, new
             {
                 filter = filter
             });
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.