Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 25 additions & 3 deletions code/API_definitions/connected-network-type-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@
application/json:
schema:
$ref: "#/components/schemas/Subscription"
examples:
subscription-active:
$ref: "#/components/examples/SUBSCRIPTION_ACTIVE"

Check failure on line 168 in code/API_definitions/connected-network-type-subscriptions.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

168:1 [trailing-spaces] trailing spaces
"202":
description: Request accepted to be processed. It applies for async creation process.
headers:
Expand Down Expand Up @@ -406,7 +410,7 @@
subscriptionExpireTime:
type: string
format: date-time
example: 2023-01-17T13:18:23.682Z
example: "2023-01-17T13:18:23.682Z"
description: The subscription expiration time (in date-time format) requested by the API consumer.
subscriptionMaxEvents:
type: integer
Expand Down Expand Up @@ -1197,7 +1201,7 @@
device:
phoneNumber: +123456789
connectedNetworkType: 5G
time: 2023-03-22T05:40:23.682Z
time: "2023-03-22T05:40:23.682Z"

SUBSCRIPTION_ENDS:
value:
Expand All @@ -1211,4 +1215,22 @@
phoneNumber: +123456789
terminationReason: SUBSCRIPTION_EXPIRED
subscriptionId: dv10-h556-rt89-1403
time: 2024-03-05T15:00:23.682Z
time: "2024-03-05T15:00:23.682Z"

SUBSCRIPTION_ACTIVE:
value:
id: 550e8400-e29b-41d4-a716-446655440000
sink: https://endpoint.example.com/sink
protocol: HTTP
types:
- "org.camaraproject.connected-network-type-subscriptions.v0.network-type-changed"
config:
subscriptionDetail:
device:
phoneNumber: "+123456789"
subscriptionExpireTime: "2024-07-17T13:18:23.682Z"
subscriptionMaxEvents: 5
initialEvent: true
startsAt: "2024-07-03T21:12:02.871Z"
expiresAt: "2024-07-03T21:12:02.871Z"
status: ACTIVE
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ components:
device:
phoneNumber: +123456787
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-19T13:18:23.682Z
time: "2023-01-19T13:18:23.682Z"

REACHABILITY_SMS:
value:
Expand All @@ -1257,7 +1257,7 @@ components:
device:
phoneNumber: +123456787
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-19T13:18:23.682Z
time: "2023-01-19T13:18:23.682Z"

REACHABILITY_DISCONNECTED:
value:
Expand All @@ -1270,7 +1270,7 @@ components:
device:
phoneNumber: +123456787
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-19T13:18:23.682Z
time: "2023-01-19T13:18:23.682Z"

SUBSCRIPTION_ENDS:
value:
Expand All @@ -1284,7 +1284,7 @@ components:
phoneNumber: +123456789
terminationReason: SUBSCRIPTION_EXPIRED
subscriptionId: qs15-h556-rt89-1298
time: 2024-03-22T05:40:23.682Z
time: "2024-03-22T05:40:23.682Z"

SUBSCRIPTION_ACTIVE:
value:
Expand All @@ -1297,11 +1297,11 @@ components:
subscriptionDetail:
device:
phoneNumber: "+123456789"
subscriptionExpireTime: 2024-07-17T13:18:23.682Z
subscriptionExpireTime: "2024-07-17T13:18:23.682Z"
subscriptionMaxEvents: 5
initialEvent: true
startsAt: 2024-07-03T21:12:02.871Z
expiresAt: 2024-07-03T21:12:02.871Z
startsAt: "2024-07-03T21:12:02.871Z"
expiresAt: "2024-07-03T21:12:02.871Z"
status: ACTIVE

SUBSCRIPTION_ACTIVATION_REQUESTED:
Expand All @@ -1315,11 +1315,11 @@ components:
subscriptionDetail:
device:
phoneNumber: "+123456789"
subscriptionExpireTime: 2024-07-17T13:18:23.682Z
subscriptionExpireTime: "2024-07-17T13:18:23.682Z"
subscriptionMaxEvents: 5
initialEvent: true
startsAt: 2024-07-03T21:12:02.871Z
expiresAt: 2024-07-03T21:12:02.871Z
startsAt: "2024-07-03T21:12:02.871Z"
expiresAt: "2024-07-03T21:12:02.871Z"
status: ACTIVATION_REQUESTED

SUBSCRIPTION_DELETED:
Expand All @@ -1333,9 +1333,9 @@ components:
subscriptionDetail:
device:
phoneNumber: "+123456789"
subscriptionExpireTime: 2024-07-17T13:18:23.682Z
subscriptionExpireTime: "2024-07-17T13:18:23.682Z"
subscriptionMaxEvents: 5
initialEvent: true
startsAt: 2024-07-03T21:12:02.871Z
expiresAt: 2024-07-03T21:12:02.871Z
startsAt: "2024-07-03T21:12:02.871Z"
expiresAt: "2024-07-03T21:12:02.871Z"
status: DELETED
30 changes: 15 additions & 15 deletions code/API_definitions/device-roaming-status-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
subscriptionExpireTime:
type: string
format: date-time
example: 2023-01-17T13:18:23.682Z
example: "2023-01-17T13:18:23.682Z"
description: The subscription expiration time (in date-time format) requested by the API consumer.
subscriptionMaxEvents:
type: integer
Expand Down Expand Up @@ -1304,7 +1304,7 @@
countryCode: 208
countryName: FR
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-17T13:18:23.682Z
time: "2023-01-17T13:18:23.682Z"

ROAMING_OFF:
value:
Expand All @@ -1317,7 +1317,7 @@
device:
phoneNumber: +123456788
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-18T13:18:23.682Z
time: "2023-01-18T13:18:23.682Z"

ROAMING_ON:
value:
Expand All @@ -1330,22 +1330,22 @@
device:
phoneNumber: +123456787
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-19T13:18:23.682Z
time: "2023-01-19T13:18:23.682Z

ROAMING_CHANGE_COUNTRY:
value:
id: "123657"

Check failure on line 1337 in code/API_definitions/device-roaming-status-subscriptions.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

1337:14 syntax error: expected <block end>, but found '<scalar>' (syntax)
source: https://notificationSendServer12.supertelco.com

Check failure on line 1338 in code/API_definitions/device-roaming-status-subscriptions.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

1338:9 [key-duplicates] duplication of key "source" in mapping
type: org.camaraproject.roaming-status-subscriptions.v0.roaming-change-country

Check failure on line 1339 in code/API_definitions/device-roaming-status-subscriptions.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

1339:9 [key-duplicates] duplication of key "type" in mapping
specversion: "1.0"

Check failure on line 1340 in code/API_definitions/device-roaming-status-subscriptions.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

1340:9 [key-duplicates] duplication of key "specversion" in mapping
datacontenttype: application/json

Check failure on line 1341 in code/API_definitions/device-roaming-status-subscriptions.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

1341:9 [key-duplicates] duplication of key "datacontenttype" in mapping
data:

Check failure on line 1342 in code/API_definitions/device-roaming-status-subscriptions.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

1342:9 [key-duplicates] duplication of key "data" in mapping
device:
phoneNumber: +123456789
countryCode: 214
countryName: ["ES"]
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-19T13:18:23.682Z
time: "2023-01-19T13:18:23.682Z"

Check failure on line 1348 in code/API_definitions/device-roaming-status-subscriptions.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

1348:9 [key-duplicates] duplication of key "time" in mapping

SUBSCRIPTION_ENDS:
value:
Expand All @@ -1359,7 +1359,7 @@
phoneNumber: +123456789
terminationReason: SUBSCRIPTION_EXPIRED
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-19T13:18:23.682Z
time: "2023-01-19T13:18:23.682Z"

SUBSCRIPTION_ACTIVE:
value:
Expand All @@ -1372,11 +1372,11 @@
subscriptionDetail:
device:
phoneNumber: "+123456789"
subscriptionExpireTime: 2024-07-17T13:18:23.682Z
subscriptionExpireTime: "2024-07-17T13:18:23.682Z"
subscriptionMaxEvents: 5
initialEvent: true
startsAt: 2024-07-03T21:12:02.871Z
expiresAt: 2024-07-03T21:12:02.871Z
startsAt: "2024-07-03T21:12:02.871Z"
expiresAt: "2024-07-03T21:12:02.871Z"
status: ACTIVE

SUBSCRIPTION_ACTIVATION_REQUESTED:
Expand All @@ -1390,11 +1390,11 @@
subscriptionDetail:
device:
phoneNumber: "+123456789"
subscriptionExpireTime: 2024-07-17T13:18:23.682Z
subscriptionExpireTime: "2024-07-17T13:18:23.682Z"
subscriptionMaxEvents: 5
initialEvent: true
startsAt: 2024-07-03T21:12:02.871Z
expiresAt: 2024-07-03T21:12:02.871Z
startsAt: "2024-07-03T21:12:02.871Z"
expiresAt: "2024-07-03T21:12:02.871Z"
status: ACTIVATION_REQUESTED

SUBSCRIPTION_DELETED:
Expand All @@ -1408,9 +1408,9 @@
subscriptionDetail:
device:
phoneNumber: "+123456789"
subscriptionExpireTime: 2024-07-17T13:18:23.682Z
subscriptionExpireTime: "2024-07-17T13:18:23.682Z"
subscriptionMaxEvents: 5
initialEvent: true
startsAt: 2024-07-03T21:12:02.871Z
expiresAt: 2024-07-03T21:12:02.871Z
startsAt: "2024-07-03T21:12:02.871Z"
expiresAt: "2024-07-03T21:12:02.871Z"
status: DELETED
Loading