feat: implement subscription changes GET request

This commit is contained in:
Jef Roosens 2025-02-25 11:21:36 +01:00
parent c50e24089e
commit d866d23efa
No known key found for this signature in database
GPG key ID: 21FD3D77D56BAF49
5 changed files with 116 additions and 8 deletions

View file

@ -0,0 +1,20 @@
meta {
name: Get subscriptions changes for device
type: http
seq: 5
}
get {
url: http://localhost:8080/api/2/subscriptions/:username/:device_id?since=1740430923
body: none
auth: inherit
}
params:query {
since: 1740430923
}
params:path {
username: test
device_id: test.json
}

View file

@ -4,13 +4,20 @@ meta {
seq: 4
}
get {
post {
url: http://localhost:8080/api/2/subscriptions/:username/:device_id
body: none
auth: none
body: json
auth: inherit
}
params:path {
username:
device_id:
username: test
device_id: test.json
}
body:json {
{
"add": ["test_add_1"],
"remove": ["test_remove_1", "test_add_2"]
}
}