Skip to content

Commit 7c9596d

Browse files
committed
updated description for date-time and removed sink credential in Subscription schema
1 parent 68da4b1 commit 7c9596d

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

code/API_definitions/connectivity-insights-subscriptions.yaml

+19-5
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,6 @@ components:
408408
The address to which events shall be delivered using the selected
409409
protocol.
410410
example: "https://endpoint.example.com/sink"
411-
sinkCredential:
412-
$ref: "#/components/schemas/SinkCredential"
413411
types:
414412
description: |
415413
Camara Event types eligible to be delivered by this subscription.
@@ -434,13 +432,23 @@ components:
434432
type: string
435433
format: date-time
436434
description: Date when the event subscription will begin/began
435+
It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/
436+
rfc3339#section-5.6) and must have time zone.
437+
Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which
438+
allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
439+
example: "2023-07-03T12:27:08.312Z"
437440
expiresAt:
438441
type: string
439442
format: date-time
440443
description: |
441444
Date when the event subscription will expire. Only provided when
442445
`subscriptionExpireTime` is indicated by API client or Telco
443446
Operator has specific policy about that.
447+
It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/
448+
rfc3339#section-5.6) and must have time zone.
449+
Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows
450+
2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
451+
example: "2023-07-03T12:27:08.312Z"
444452
status:
445453
type: string
446454
description: |-
@@ -710,10 +718,12 @@ components:
710718
subscriptionExpireTime:
711719
type: string
712720
format: date-time
713-
example: 2023-01-17T13:18:23.682Z
714721
description: |
715722
The subscription expiration time (in date-time format) requested by
716723
the API consumer. Up to API project decision to keep it.
724+
It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone.
725+
Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
726+
example: "2023-07-03T12:27:08.312Z"
717727
subscriptionMaxEvents:
718728
type: integer
719729
description: |
@@ -951,8 +961,12 @@ components:
951961
type: string
952962
format: date-time
953963
description: |
954-
Timestamp of when the occurrence happened. Must adhere to RFC 3339.
955-
example: "2018-04-05T17:31:00Z"
964+
Timestamp of when the occurrence happened.
965+
It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/
966+
rfc3339#section-5.6) and must have time zone.
967+
Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows
968+
2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
969+
example: "2023-07-03T12:27:08.312Z"
956970

957971
EventTypeNotification:
958972
type: string

code/API_definitions/connectivity-insights.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ components:
173173
current date and time is used and network data for the monitoring
174174
data aggregation is used to check network performance against the
175175
application profile defined.
176+
It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/
177+
rfc3339#section-5.6) and must have time zone.
178+
Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows
179+
2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
180+
example: "2023-07-03T12:27:08.312Z"
176181

177182
NetworkQualityInsightResponse:
178183
type: object

0 commit comments

Comments
 (0)