summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-13 13:32:26 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-13 13:32:26 +0200
commitcc9fe5f1d1e9721d6de6b95ee03e46f9f95de565 (patch)
treed4d483f48cbdf70d683c46dfbcd05daff59bb613
parentinitial import (diff)
downloadnet-http-spore-cc9fe5f1d1e9721d6de6b95ee03e46f9f95de565.tar.gz
remove specs
-rw-r--r--eg/github.json36
-rw-r--r--eg/github.yaml17
-rw-r--r--eg/twitter.json27
-rw-r--r--eg/twitter.yaml19
4 files changed, 0 insertions, 99 deletions
diff --git a/eg/github.json b/eg/github.json
deleted file mode 100644
index 4e3a051..0000000
--- a/eg/github.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
-   "declare" : {
-      "api_base_url" : "http://github.com/api/v2/",
-      "api_format_mode" : "content-type",
-      "api_format" : "json"
-   },
-   "methods" : {
-      "user_information" : {
-         "params" : [
-            "username",
-            "format"
-         ],
-         "required" : [
-            "format",
-            "username"
-         ],
-         "path" : "/:format/user/show/:username",
-         "method" : "GET",
-         "expected" : [
-            "200"
-         ]
-      },
-      "user_following" : {
-         "params" : [
-            "user",
-            "format"
-         ],
-         "required" : [
-            "user",
-            "format"
-         ],
-         "path" : "/:format/user/show/:user/followers",
-         "method" : "GET"
-      }
-   }
-}
diff --git a/eg/github.yaml b/eg/github.yaml
deleted file mode 100644
index f844a41..0000000
--- a/eg/github.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-declare:
-  api_base_url: http://github.com/api/v2/
-methods:
-  user_information:
-    method: GET
-    path: /user/show/:username
-    params:
-      - username
-    required:
-      - username
-  user_following:
-    method: GET
-    path: /user/show/:user/followers
-    params:
-      - user
-    required:
-      - user
diff --git a/eg/twitter.json b/eg/twitter.json
deleted file mode 100644
index f07470e..0000000
--- a/eg/twitter.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
-   "declare" : {
-      "api_base_url" : "http://api.twitter.com/1",
-      "api_format_mode" : "append",
-      "api_format" : "json"
-   },
-   "methods" : {
-      "public_timeline" : {
-         "params" : [
-            "skip_user"
-         ],
-         "path" : "/statuses/public_timeline",
-         "method" : "GET"
-      },
-      "home_timeline" : {
-         "params" : [
-            "since_id",
-            "max_id",
-            "count",
-            "page",
-            "skip_user"
-         ],
-         "path" : "/statuses/home_timeline",
-         "method" : "GET"
-      }
-   }
-}
diff --git a/eg/twitter.yaml b/eg/twitter.yaml
deleted file mode 100644
index 92054b7..0000000
--- a/eg/twitter.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-declare:
-  api_base_url: http://api.twitter.com/1
-  api_format: json
-  api_format_mode: append
-methods:
-  public_timeline:
-    method: GET
-    path: /statuses/public_timeline
-    params: 
-      - skip_user
-  home_timeline:
-    method: GET
-    path: /statuses/home_timeline
-    params:
-      - since_id
-      - max_id
-      - count
-      - page
-      - skip_user