Skip to content

Commit

Permalink
fix: remove duplicated sections and refactor to "reachability" in exa…
Browse files Browse the repository at this point in the history
…mples
  • Loading branch information
maxl2287 committed Jul 3, 2024
1 parent 93d77f6 commit d7487a1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
34 changes: 13 additions & 21 deletions code/API_definitions/device-reachability-status-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ info:
Note: Additionally to these list, ``org.camaraproject.device-reachability-status-subscriptions.v0.subscription-ends`` notification `type` is sent when the subscription ends.
This notification does not require dedicated subscription.
It is used when:
It is used in following cases:
- the subscription expire time (optionally set by the requester) has been reached
- the maximum number of subscription events (optionally set by the requester) has been reached
- the Access Token `sinkCredential` (optionally set by the requester) expiration time has been reached
Expand All @@ -51,26 +51,18 @@ info:
Developers may provide a callback URL on which notifications regarding reachability-status can be received from the service provider.
If an event occurs the application will send events to the provided webhook - `sink`._
### Authorization and authentication
[Camara Security and Interoperability Profile](https://github.com/camaraproject/IdentityAndConsentManagement/blob/main/documentation/CAMARA-Security-Interoperability.md) provides details on how a client requests an access token.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
## Further info and support
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
(FAQs will be added in a later version of the documentation)
### Authorization and authentication
# Authorization and authentication
[Camara Security and Interoperability Profile](https://github.com/camaraproject/IdentityAndConsentManagement/blob/main/documentation/CAMARA-Security-Interoperability.md) provides details on how a client requests an access token.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
## Further info and support
(FAQs will be added in a later version of the documentation)
termsOfService: https://swagger.io/terms/
contact:
email: project-email@sample.com
Expand Down Expand Up @@ -132,12 +124,12 @@ paths:
schema:
$ref: "#/components/schemas/CloudEvent"
examples:
connectivity-data:
$ref: "#/components/examples/CONNECTIVITY_DATA"
connectivity-sms:
$ref: "#/components/examples/CONNECTIVITY_SMS"
connectivity-disconnected:
$ref: "#/components/examples/CONNECTIVITY_DISCONNECTED"
reachability-data:
$ref: "#/components/examples/REACHABILITY_DATA"
reachability-sms:
$ref: "#/components/examples/REACHABILITY_SMS"
reachability-disconnected:
$ref: "#/components/examples/REACHABILITY_DISCONNECTED"
subscription-ends:
$ref: "#/components/examples/SUBSCRIPTION_ENDS"
responses:
Expand Down Expand Up @@ -1231,7 +1223,7 @@ components:
code: INVALID_ARGUMENT
message: "Expected property is missing: subscriptionId"
examples:
CONNECTIVITY_DATA:
REACHABILITY_DATA:
value:
id: "123656"
source: https://notificationSendServer12.supertelco.com
Expand All @@ -1244,7 +1236,7 @@ components:
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-19T13:18:23.682Z

CONNECTIVITY_SMS:
REACHABILITY_SMS:
value:
id: "123656"
source: https://notificationSendServer12.supertelco.com
Expand All @@ -1257,7 +1249,7 @@ components:
subscriptionId: qs15-h556-rt89-1298
time: 2023-01-19T13:18:23.682Z

CONNECTIVITY_DISCONNECTED:
REACHABILITY_DISCONNECTED:
value:
id: "123656"
source: https://notificationSendServer12.supertelco.com
Expand Down
10 changes: 9 additions & 1 deletion code/API_definitions/device-roaming-status-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ info:
Note: Additionally to these list, ``org.camaraproject.roaming-status-subscriptions.v0.subscription-ends`` notification `type` is sent when the subscription ends.
This notification does not require dedicated subscription.
It is used when:
It is used in following cases:
- the subscription expire time (optionally set by the requester) has been reached
- the maximum number of subscription events (optionally set by the requester) has been reached
- the Access Token `sinkCredential` (optionally set by the requester) expiration time has been reached
Expand All @@ -57,6 +57,14 @@ info:
(FAQs will be added in a later version of the documentation)
# Authorization and authentication
[Camara Security and Interoperability Profile](https://github.com/camaraproject/IdentityAndConsentManagement/blob/main/documentation/CAMARA-Security-Interoperability.md) provides details on how a client requests an access token.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
termsOfService: https://swagger.io/terms/
contact:
email: project-email@sample.com
Expand Down

0 comments on commit d7487a1

Please sign in to comment.