summaryrefslogtreecommitdiff
path: root/services/gnip.json
diff options
context:
space:
mode:
authorcmaussan <cmaussan@linkfluence.net>2012-06-27 12:49:37 +0200
committercmaussan <cmaussan@linkfluence.net>2012-06-27 12:49:37 +0200
commit3c1eba8b8f72b86d43c84de6bd7325c45c363fd3 (patch)
tree023c68de4ac14e2522481ad064efcd428d0a9e6f /services/gnip.json
parentadd data-publica (diff)
downloadapi-description-3c1eba8b8f72b86d43c84de6bd7325c45c363fd3.tar.gz
added a bunch of specs written by linkfluence
Diffstat (limited to '')
-rw-r--r--services/gnip.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/services/gnip.json b/services/gnip.json
new file mode 100644
index 0000000..f529c2d
--- /dev/null
+++ b/services/gnip.json
@@ -0,0 +1,21 @@
+{
+"version":"0.1",
+"authentication":"1",
+"methods":{
+ "get_rules":{
+ "required_params":["account","publisher","format"],
+ "expected_status":["200"],
+ "authentication":"1",
+ "path":"/accounts/:account/publishers/:publisher/streams/track/prod/rules.:format",
+ "method":"GET"
+ },
+ "set_rules":{
+ "required_params":["account","publisher","format"],
+ "optional_params":["_method"],
+ "expected_status":["201","202"],
+ "authentication":"1",
+ "path":"/accounts/:account/publishers/:publisher/streams/track/prod/rules.:format",
+ "method":"POST"
+ }
+}
+}