From 3c1eba8b8f72b86d43c84de6bd7325c45c363fd3 Mon Sep 17 00:00:00 2001 From: cmaussan Date: Wed, 27 Jun 2012 12:49:37 +0200 Subject: added a bunch of specs written by linkfluence --- services/gnip.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 services/gnip.json (limited to 'services/gnip.json') 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" + } +} +} -- cgit v1.2.3