From 8d4761846e852d1147b982ca6c4d0199ee5746cf Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 17 Oct 2010 17:33:55 +0200 Subject: update description to current specification --- services/backtweet.json | 58 +++++++++++++++++++++---------------------------- 1 file changed, 25 insertions(+), 33 deletions(-) (limited to 'services/backtweet.json') 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 " - ], + "authority" : "GITHUB:franckcuny", "meta" : { "documentation" : "http://www.backtype.com/developers" } -- cgit v1.2.3