summaryrefslogtreecommitdiff
path: root/services/gnip.json
blob: f529c2db75a78cbac0d462c2c46e6aee06bf3432 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"
  }
}
}