diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-10-17 17:33:55 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-10-17 17:33:55 +0200 |
| commit | 8d4761846e852d1147b982ca6c4d0199ee5746cf (patch) | |
| tree | 29b5d1b4ec5f10ff1641063f1e2968dc6b61206c /services/backtweet.json | |
| parent | update all description to reflect recent changes in specifications (diff) | |
| download | api-description-8d4761846e852d1147b982ca6c4d0199ee5746cf.tar.gz | |
update description to current specification
Diffstat (limited to '')
| -rw-r--r-- | services/backtweet.json | 58 |
1 files changed, 25 insertions, 33 deletions
diff --git a/services/backtweet.json b/services/backtweet.json index 6c8b237..4605f0b 100644 --- a/services/backtweet.json +++ b/services/backtweet.json @@ -1,49 +1,43 @@ { - "api_base_url" : "http://api.backtype.com", + "base_url" : "http://api.backtype.com", "version" : "0.2", "methods" : { "tweets_by_url" : { - "params" : { - "optinal" : [ - "itemsperpage", - "start", - "end" - ], - "required" : [ - "q", - "key" - ] - }, - "expected" : [ + "optional_params" : [ + "itemsperpage", + "start", + "end" + ], + "required_params" : [ + "q", + "key" + ], + "expected_status" : [ "200" ], "path" : "/tweets/search/links", "method" : "GET" }, "stats_by_url" : { - "params" : { - "required" : [ - "q", - "key" - ], - "optional" : [ - "batch" - ] - }, - "expected" : [ + "required_params" : [ + "q", + "key" + ], + "optional_params" : [ + "batch" + ], + "expected_status" : [ "200" ], "path" : "/tweetcount", "method" : "GET" }, "good_tweets_by_url" : { - "params" : { - "required" : [ - "q", - "key" - ] - }, - "expected" : [ + "required_params" : [ + "q", + "key" + ], + "expected_status" : [ "200" ], "path" : "/goodtweets", @@ -51,9 +45,7 @@ } }, "name" : "Backtweet", - "author" : [ - "franck cuny <franck@lumberjaph.net>" - ], + "authority" : "GITHUB:franckcuny", "meta" : { "documentation" : "http://www.backtype.com/developers" } |
