Skip to content

Commit

Permalink
Update connected-network-type-subscriptions.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinvodafone authored Jan 15, 2025
1 parent 66d1c12 commit c3b060e
Showing 1 changed file with 25 additions and 3 deletions.
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 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Subscription"
examples:
subscription-active:
$ref: "#/components/examples/SUBSCRIPTION_ACTIVE"

"202":
description: Request accepted to be processed. It applies for async creation process.
headers:
Expand Down Expand Up @@ -406,7 +410,7 @@ components:
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 @@ components:
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 @@ components:
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

0 comments on commit c3b060e

Please sign in to comment.