diff options
Diffstat (limited to 'services/gnip.json')
| -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" + } +} +} |
