diff options
| author | cmaussan <cmaussan@linkfluence.net> | 2012-06-27 12:49:37 +0200 |
|---|---|---|
| committer | cmaussan <cmaussan@linkfluence.net> | 2012-06-27 12:49:37 +0200 |
| commit | 3c1eba8b8f72b86d43c84de6bd7325c45c363fd3 (patch) | |
| tree | 023c68de4ac14e2522481ad064efcd428d0a9e6f /services/gnip.json | |
| parent | add data-publica (diff) | |
| download | api-description-3c1eba8b8f72b86d43c84de6bd7325c45c363fd3.tar.gz | |
added a bunch of specs written by linkfluence
Diffstat (limited to '')
| -rw-r--r-- | services/gnip.json | 21 |
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" + } +} +} |
