summaryrefslogtreecommitdiff
path: root/services/backtype.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/backtype.json')
-rw-r--r--services/backtype.json106
1 files changed, 46 insertions, 60 deletions
diff --git a/services/backtype.json b/services/backtype.json
index ccbeb8f..8ed2159 100644
--- a/services/backtype.json
+++ b/services/backtype.json
@@ -1,94 +1,82 @@
{
- "api_base_url" : "http://api.backtype.com/",
+ "base_url" : "http://api.backtype.com/",
"version" : "0.2",
"methods" : {
"comments_connect" : {
- "params" : {
- "required" : [
- "format",
- "url"
- ],
- "optional" : [
- "sources",
- "sort",
- "key"
- ]
- },
- "expected" : [
+ "required_params" : [
+ "format",
+ "url"
+ ],
+ "optional_params" : [
+ "sources",
+ "sort",
+ "key"
+ ],
+ "expected_status" : [
"200"
],
"path" : "/comments/connect.:format",
"method" : "GET"
},
"comments_stats_by_page" : {
- "params" : {
- "required" : [
- "url",
- "format",
- "key"
- ]
- },
- "expected" : [
+ "required_params" : [
+ "url",
+ "format",
+ "key"
+ ],
+ "expected_status" : [
"200"
],
"path" : "/post/stats.:format",
"method" : "GET"
},
"comments_connect_stats" : {
- "params" : {
- "required" : [
- "format",
- "url",
- "key"
- ]
- },
- "expected" : [
+ "required_params" : [
+ "format",
+ "url",
+ "key"
+ ],
+ "expected_status" : [
"200"
],
"path" : "/comments/connect/stats.:format",
"method" : "GET"
},
"comments_search" : {
- "params" : {
- "required" : [
- "format",
- "q",
- "key"
- ],
- "optional" : [
- "start",
- "end"
- ]
- },
- "expected" : [
+ "required_params" : [
+ "format",
+ "q",
+ "key"
+ ],
+ "optional_params" : [
+ "start",
+ "end"
+ ],
+ "expected_status" : [
"200"
],
"path" : "/comments/search.:format",
"method" : "GET"
},
"comments_by_author_from_url" : {
- "params" : {
- "required" : [
- "format",
- "key",
- "url"
- ]
- },
- "expected" : [
+ "required_params" : [
+ "format",
+ "key",
+ "url"
+ ],
+ "expected_status" : [
"200"
],
"path" : "/url/:url/comments.:format",
"method" : "GET"
},
"comments_by_page" : {
- "params" : {
- "required" : [
- "url",
- "format",
- "key"
- ]
- },
- "expected" : [
+ "required_params" : [
+ "url",
+ "format",
+ "key"
+ ],
+ "expected_status" : [
"200"
],
"path" : "/post/comments.:format",
@@ -96,9 +84,7 @@
}
},
"name" : "Backtype",
- "author" : [
- "franck cuny <franc@lumberjaph.net>"
- ],
+ "authority" : "GITHUB:franckcuny",
"meta" : {
"documentation" : "http://www.backtype.com/developers"
}