otter/bruno/Subscriptions API/Upload subscription changes...

24 lines
340 B
Plaintext

meta {
name: Upload subscription changes for device
type: http
seq: 4
}
post {
url: http://localhost:8080/api/2/subscriptions/:username/:device_id
body: json
auth: inherit
}
params:path {
username: test
device_id: test.json
}
body:json {
{
"add": ["test_add_1"],
"remove": ["test_remove_1", "test_add_2"]
}
}