diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-10-14 13:30:56 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-10-14 13:30:56 +0200 |
| commit | 3c05849a282bac0ef6b085266534916acffcfc6d (patch) | |
| tree | 38948b6c63c9dbb3c9d10bf75a0ee0a49d882079 /services/backtweet.json | |
| parent | add perl script to validate a specification (diff) | |
| download | api-description-3c05849a282bac0ef6b085266534916acffcfc6d.tar.gz | |
update all description to reflect recent changes in specifications
Diffstat (limited to 'services/backtweet.json')
| -rw-r--r-- | services/backtweet.json | 48 |
1 files changed, 27 insertions, 21 deletions
diff --git a/services/backtweet.json b/services/backtweet.json index 4948268..6c8b237 100644 --- a/services/backtweet.json +++ b/services/backtweet.json @@ -1,17 +1,19 @@ { "api_base_url" : "http://api.backtype.com", - "version" : "0.1", + "version" : "0.2", "methods" : { "tweets_by_url" : { - "params" : [ - "itemsperpage", - "start", - "end" - ], - "required" : [ - "q", - "key" - ], + "params" : { + "optinal" : [ + "itemsperpage", + "start", + "end" + ], + "required" : [ + "q", + "key" + ] + }, "expected" : [ "200" ], @@ -19,13 +21,15 @@ "method" : "GET" }, "stats_by_url" : { - "params" : [ - "batch" - ], - "required" : [ - "q", - "key" - ], + "params" : { + "required" : [ + "q", + "key" + ], + "optional" : [ + "batch" + ] + }, "expected" : [ "200" ], @@ -33,10 +37,12 @@ "method" : "GET" }, "good_tweets_by_url" : { - "required" : [ - "q", - "key" - ], + "params" : { + "required" : [ + "q", + "key" + ] + }, "expected" : [ "200" ], |
