about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-11-17 11:51:02 +0100
committerfranck cuny <franck@lumberjaph.net>2010-11-17 11:51:02 +0100
commitc436e47d2d162dbdee860d20a3b2f34db8bc736e (patch)
tree1f8bfd948c7bb1f138f8916772d93ca47a77ea51
parentGithub: some methods return raw data (diff)
downloadapi-description-c436e47d2d162dbdee860d20a3b2f34db8bc736e.tar.gz
add format
-rw-r--r--services/backtweet.json15
1 files changed, 9 insertions, 6 deletions
diff --git a/services/backtweet.json b/services/backtweet.json
index 4605f0b..55da129 100644
--- a/services/backtweet.json
+++ b/services/backtweet.json
@@ -10,18 +10,20 @@
          ],
          "required_params" : [
             "q",
-            "key"
+            "key",
+            "format"
          ],
          "expected_status" : [
             "200"
          ],
-         "path" : "/tweets/search/links",
+         "path" : "/tweets/search/links.:format",
          "method" : "GET"
       },
       "stats_by_url" : {
          "required_params" : [
             "q",
-            "key"
+            "key",
+            "format"
          ],
          "optional_params" : [
             "batch"
@@ -29,18 +31,19 @@
          "expected_status" : [
             "200"
          ],
-         "path" : "/tweetcount",
+         "path" : "/tweetcount.:format",
          "method" : "GET"
       },
       "good_tweets_by_url" : {
          "required_params" : [
             "q",
-            "key"
+            "key",
+            "format"
          ],
          "expected_status" : [
             "200"
          ],
-         "path" : "/goodtweets",
+         "path" : "/goodtweets.:format",
          "method" : "GET"
       }
    },