diff options
Diffstat (limited to 'services/gnip.json')
| -rw-r--r-- | services/gnip.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/services/gnip.json b/services/gnip.json new file mode 100644 index 0000000..4b2519b --- /dev/null +++ b/services/gnip.json @@ -0,0 +1,22 @@ +{ +"name":"gnip", +"version":"0.1", +"authentication":true, +"methods":{ + "get_rules":{ + "required_params":["account","publisher","format"], + "expected_status":["200"], + "authentication":true, + "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":true, + "path":"/accounts/:account/publishers/:publisher/streams/track/prod/rules.:format", + "method":"POST" + } +} +} |
