Skip to content
Merged
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
Loading