emolero commited on
Commit
ab74ec2
·
verified ·
1 Parent(s): 6d9c303

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. STATUS.md +7 -0
  2. manifest.jsonl +0 -0
  3. marked/ApplicationEndpointDiscovery/README/raw.md +53 -0
  4. marked/ApplicationEndpointDiscovery/code/API_definitions/application-endpoint-discovery/raw.md +912 -0
  5. marked/ApplicationEndpointDiscovery/documentation/API_documentation/Application-Endpoint-Discovery-API-Readiness-Checklist/raw.md +19 -0
  6. marked/ApplicationEndpointDiscovery/documentation/API_documentation/README/raw.md +1 -0
  7. marked/ApplicationEndpointDiscovery/documentation/SupportingDocuments/API_Documentation/User_Stories/Application_Endpoint_Discovery_User_Story/raw.md +84 -0
  8. marked/ApplicationEndpointDiscovery/documentation/SupportingDocuments/README/raw.md +1 -0
  9. marked/ApplicationEndpointRegistration/README/raw.md +53 -0
  10. marked/ApplicationEndpointRegistration/code/API_definitions/README/raw.md +1 -0
  11. marked/ApplicationEndpointRegistration/code/API_definitions/application-endpoint-registration/raw.md +763 -0
  12. marked/ApplicationEndpointRegistration/documentation/API_documentation/Application-Endpoint-Registration-API-Readiness-Checklist/raw.md +19 -0
  13. marked/ApplicationEndpointRegistration/documentation/API_documentation/README/raw.md +1 -0
  14. marked/ApplicationEndpointRegistration/documentation/API_documentation/application-endpoint-registration-User-Story/raw.md +10 -0
  15. marked/ApplicationEndpointRegistration/documentation/SupportingDocuments/README/raw.md +1 -0
  16. marked/ApplicationProfiles/README/raw.md +53 -0
  17. marked/ApplicationProfiles/code/API_definitions/README/raw.md +1 -0
  18. marked/ApplicationProfiles/code/API_definitions/application-profiles/raw.md +687 -0
  19. marked/ApplicationProfiles/documentation/API_documentation/README/raw.md +1 -0
  20. marked/ApplicationProfiles/documentation/API_documentation/application-profiles-API-Readiness-Checklist/raw.md +29 -0
  21. marked/ApplicationProfiles/documentation/API_documentation/application-profiles-User-Story/raw.md +10 -0
  22. marked/ApplicationProfiles/documentation/SupportingDocuments/README/raw.md +1 -0
  23. marked/BlockchainPublicAddress/README/raw.md +58 -0
  24. marked/BlockchainPublicAddress/code/API_definitions/blockchain-public-address-validation/raw.md +258 -0
  25. marked/BlockchainPublicAddress/code/API_definitions/blockchain-public-address/raw.md +663 -0
  26. marked/BlockchainPublicAddress/documentation/API_documentation/blockchain-public-address-API-Readiness-Checklist/raw.md +29 -0
  27. marked/BlockchainPublicAddress/documentation/API_documentation/blockchain-public-address-User-Story/raw.md +26 -0
  28. marked/BlockchainPublicAddress/documentation/API_documentation/blockchain-public-address-validation-API-Readiness-Checklist/raw.md +29 -0
  29. marked/BlockchainPublicAddress/documentation/API_documentation/blockchain-public-address-validation-User-Story/raw.md +11 -0
  30. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-07-06/raw.md +43 -0
  31. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-07-20/raw.md +38 -0
  32. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-07-27/raw.md +46 -0
  33. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-08-10/raw.md +49 -0
  34. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-08-31/raw.md +51 -0
  35. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-09-28/raw.md +39 -0
  36. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-10-05/raw.md +42 -0
  37. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-10-19/raw.md +42 -0
  38. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-11-02/raw.md +41 -0
  39. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-11-16/raw.md +38 -0
  40. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-11-30/raw.md +38 -0
  41. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-12-12/raw.md +39 -0
  42. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2024-01-25/raw.md +38 -0
  43. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2024-02-22/raw.md +39 -0
  44. marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2024-03-07/raw.md +36 -0
  45. marked/BlockchainPublicAddress/documentation/MeetingMinutes/README/raw.md +3 -0
  46. marked/BlockchainPublicAddress/documentation/SupportingDocuments/README/raw.md +1 -0
  47. marked/CallForwardingSignal/README/raw.md +53 -0
  48. marked/CallForwardingSignal/code/API_definitions/call-forwarding-signal/raw.md +603 -0
  49. marked/CallForwardingSignal/documentation/API_documentation/Call-Forwarding-Signal-UserStory-UseCase-1/raw.md +15 -0
  50. marked/CallForwardingSignal/documentation/API_documentation/call-forwarding-signal-API-Readiness-Checklist/raw.md +23 -0
STATUS.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # camara mirror status
2
+
3
+ State: complete mirror
4
+
5
+ - Original files: 760
6
+ - Marked documents: 760
7
+ - Missing marked documents: 0
manifest.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
marked/ApplicationEndpointDiscovery/README/raw.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <a href="https://github.com/camaraproject/ApplicationEndpointDiscovery/commits/" title="Last Commit"><img src="https://img.shields.io/github/last-commit/camaraproject/ApplicationEndpointDiscovery?style=plastic"></a>
2
+ <a href="https://github.com/camaraproject/ApplicationEndpointDiscovery/issues" title="Open Issues"><img src="https://img.shields.io/github/issues/camaraproject/ApplicationEndpointDiscovery?style=plastic"></a>
3
+ <a href="https://github.com/camaraproject/ApplicationEndpointDiscovery/pulls" title="Open Pull Requests"><img src="https://img.shields.io/github/issues-pr/camaraproject/ApplicationEndpointDiscovery?style=plastic"></a>
4
+ <a href="https://github.com/camaraproject/ApplicationEndpointDiscovery/graphs/contributors" title="Contributors"><img src="https://img.shields.io/github/contributors/camaraproject/ApplicationEndpointDiscovery?style=plastic"></a>
5
+ <a href="https://github.com/camaraproject/ApplicationEndpointDiscovery" title="Repo Size"><img src="https://img.shields.io/github/repo-size/camaraproject/ApplicationEndpointDiscovery?style=plastic"></a>
6
+ <a href="https://github.com/camaraproject/ApplicationEndpointDiscovery/blob/main/LICENSE" title="License"><img src="https://img.shields.io/badge/License-Apache%202.0-green.svg?style=plastic"></a>
7
+ <a href="https://github.com/camaraproject/ApplicationEndpointDiscovery/releases/latest" title="Latest Release"><img src="https://img.shields.io/github/release/camaraproject/ApplicationEndpointDiscovery?style=plastic"></a>
8
+ <a href="https://github.com/camaraproject/Governance/blob/main/ProjectStructureAndRoles.md" title="Sandbox API Repository"><img src="https://img.shields.io/badge/Sandbox%20API%20Repository-yellow?style=plastic"></a>
9
+
10
+ # ApplicationEndpointDiscovery
11
+
12
+ Sandbox API Repository to describe, develop, document, and test the ApplicationEndpointDiscovery Service API(s) within the Sub Project [Edge Cloud](https://lf-camaraproject.atlassian.net/wiki/x/IwEpBQ).
13
+
14
+ * API Repository [wiki page](https://lf-camaraproject.atlassian.net/wiki/x/AQAtC)
15
+
16
+ ## Scope
17
+
18
+ * Service API(s) “ApplicationEndpointDiscovery” (see APIBacklog.md)
19
+ * The API(s) provide(s) the API consumer with the ability to:
20
+ * Discover the optimal application endpoint(s) that a given end-user's device can connect to.
21
+ * Describe, develop, document, and test the API(s)
22
+ * Started: July 2022 (in [EdgeCloud](https://github.com/camaraproject/EdgeCloud) repository)
23
+ <!-- * Incubating stage since: {{incubation date}} -->
24
+
25
+ <!-- CAMARA:RELEASE-INFO:START -->
26
+ <!-- The following section is automatically maintained by the CAMARA project-administration tooling: https://github.com/camaraproject/project-administration -->
27
+
28
+ ## Release Information
29
+
30
+ > [!NOTE]
31
+ > Please be aware that the project will have frequent updates to the main branch. There are no compatibility guarantees associated with code in any branch, including main, until a new release is created. For example, changes may be reverted before a release is created. **For best results, use the latest available release**.
32
+
33
+ * **NEW**: The latest public release is [r1.2](https://github.com/camaraproject/ApplicationEndpointDiscovery/releases/tag/r1.2) (Fall25), with the following API versions:
34
+ * **application-endpoint-discovery v0.1.0**
35
+ [[YAML]](https://github.com/camaraproject/ApplicationEndpointDiscovery/blob/r1.2/code/API_definitions/application-endpoint-discovery.yaml)
36
+ [[ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/ApplicationEndpointDiscovery/r1.2/code/API_definitions/application-endpoint-discovery.yaml&nocors)
37
+ [[Swagger]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/ApplicationEndpointDiscovery/r1.2/code/API_definitions/application-endpoint-discovery.yaml)
38
+ * The latest public release is always available here: https://github.com/camaraproject/ApplicationEndpointDiscovery/releases/latest
39
+ * Other releases of this repository are available in https://github.com/camaraproject/ApplicationEndpointDiscovery/releases
40
+ * For changes see [CHANGELOG.md](https://github.com/camaraproject/ApplicationEndpointDiscovery/blob/main/CHANGELOG.md)
41
+
42
+ _The above section is automatically synchronized by CAMARA project-administration._
43
+ <!-- CAMARA:RELEASE-INFO:END -->
44
+
45
+ ## Contributing
46
+
47
+ * Meetings are held virtually
48
+ * Schedule: Bi-weekly on Tuesdays 14:00 - 15:00 UTC
49
+ * [Registration / Join](https://zoom-lfx.platform.linuxfoundation.org/meeting/91868502920?password=a9ec9dff-ea92-4216-b0a1-ce152f49170f)
50
+ * Minutes: Access [meeting minutes](https://lf-camaraproject.atlassian.net/wiki/x/8Tve)
51
+ * Mailing List
52
+ * Subscribe / Unsubscribe to the mailing list <https://lists.camaraproject.org/g/sp-edc>.
53
+ * A message to the community of this Sub Project can be sent using <sp-edc@lists.camaraproject.org>.
marked/ApplicationEndpointDiscovery/code/API_definitions/application-endpoint-discovery/raw.md ADDED
@@ -0,0 +1,912 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # application-endpoint-discovery
2
+
3
+ ```yaml
4
+ ---
5
+ openapi: 3.0.3
6
+ info:
7
+ title: Application Endpoint Discovery
8
+ version: wip
9
+ description: |
10
+ The Application Endpoint Discovery API returns the optimal application
11
+ endpoint(s) that a given end-user's device can connect to.
12
+
13
+ # Introduction
14
+
15
+ Operators often host multiple Edge Cloud Zones across various territories.
16
+ Connecting an application directly to the optimal application instance
17
+ endpoint in an Edge Cloud Zone may minimize latency.
18
+
19
+ The Application Endpoint Discovery API extends beyond the capabilities of
20
+ the Simple Edge Discovery API by not only locating the optimal
21
+ Edge Cloud Zone but also providing the direct link to the specified
22
+ application's endpoint within that Edge Cloud Zone. This approach ensures
23
+ that developers can instantly integrate this endpoint into their
24
+ applications, improving user experience.
25
+
26
+ After identifying the optimal application endpoint(s) through the API,
27
+ API consumers can:
28
+ * Connect their application client directly to the chosen application
29
+ endpoint(s), enhancing the responsiveness of the service.
30
+ * If no suitable endpoints are available, the developer can use other APIs
31
+ to instantiate new instance and/or register new application endpoints.
32
+
33
+ The optimal endpoint(s) are calculated by the Edge Cloud Provider based on
34
+ the following factor: shortest network path to the network-attached
35
+ device identified in the API request. Future releases of this API might
36
+ add other factors to obtain them.
37
+
38
+ # Relevant terms and definitions
39
+
40
+ - `Application Profile:` A profile which represents an application's
41
+ networking demands (latency, jitter, bandwidth rates).
42
+ - `Application Provider:` The provider of the application that is deployed
43
+ on the Edge Cloud.
44
+ - `Application Endpoint:` An application server IP address or FQDN, and
45
+ port exposed by an application instance to allow connections from clients.
46
+ - `Application Instance:` An instantiation of an Application running on
47
+ an Edge Cloud Zone. It is assumed that for each application, a maximum of
48
+ one logical instance can run per Edge Cloud Zone.
49
+ - `Device:` End-user equipment able to connect to a mobile network (i.e.
50
+ smartphone, IoT sensor/actuator).
51
+ - `Edge Cloud Zone:` Availability Zone in an Edge Cloud. It is the lowest
52
+ level of abstraction exposed to an Application Provider who wants to
53
+ deploy an Application on Edge Cloud. Availability Zones exist within
54
+ a Region.
55
+
56
+ # API Functionality
57
+
58
+ The API can be called either by an application client hosted on a device
59
+ attached to the operator network (i.e. phone, tablet), or by a server.
60
+
61
+ There is a single API service endpoint:
62
+
63
+ - `POST /retrieve-optimal-app-endpoints`
64
+
65
+ ## Inputs
66
+
67
+ The endpoint request body is a JSON object with the following parameters:
68
+ - `device:` End-user equipment able to connect to a mobile network. The
69
+ developer can choose to provide the below specified device identifiers:
70
+ - `ipv4Address:` Public IP address (IPv4) of the user device, which can be
71
+ fetched via external IP discovery services.
72
+ - `ipv6Address:` Public IP address (IPv6) of the user device, which can be
73
+ fetched via external IP discovery services.
74
+ - `phoneNumber:` The device's phone number in international E.164 format.
75
+ - `networkAccessIdentifier:` A unique identifier provided by the network
76
+ operator (where supported).
77
+ - One of the following application identifiers:
78
+ - `appId:` A unique identifier for an application onboarded on the Edge
79
+ Cloud. It is used when the application has been onboarded using the Edge
80
+ Application Management API.
81
+ - `applicationEndpointsId:` A unique identifier for the registered
82
+ application endpoint(s). It is used when the application has not been onboarded
83
+ using the Edge Application Management API, and available endpoints have been
84
+ registered by the Edge Application Registration API. Every endpoint registered
85
+ under the same `applicationEndpointsId` identifier belongs to the same
86
+ application.
87
+
88
+ ## Outputs
89
+
90
+ If successful, a `200 OK ` response code is returned with a JSON object
91
+ containing the following data:
92
+
93
+ - `applicationEndpoints:` An array containing at least one Application Endpoint
94
+ object. Each Application Endpoint object includes the following parameters:
95
+ - `port:` TCP or UDP port number exposed by the application instance.
96
+ - One of the following parameters which define the endpoint:
97
+ - `ipv4addresses:` Array of IPv4 addresses exposed by the application
98
+ instance.
99
+ - `ipv6addresses:` Array of IPv6 addresses exposed by the application
100
+ instance.
101
+ - `fqdn:` Fully Qualified Domain Name exposed by the application instance.
102
+ - `applicationEndpointDescription:` Optionally, a string that describes the
103
+ application endpoint.
104
+ - `edgeCloudZone:` Optionally, object that identifies the Edge Cloud Zone
105
+ the application endpoint belongs to, including: `edgeCloudZoneId`,
106
+ `edgeCloudZoneName`, `edgeCloudZoneStatus`, `edgeCloudRegion`, and
107
+ `edgeCloudProvider`.
108
+ - One of the following application identifiers (the one provided on the request)
109
+ - `appId:` A unique identifier for an application onboarded on the Edge
110
+ Cloud. It is used when the application has been onboarded using the Edge
111
+ Application Management API.
112
+ - `applicationEndpointsId:` A unique identifier for the registered
113
+ application endpoint(s). It is used when the application has not been onboarded
114
+ using the Edge Application Management API, and available endpoints have been
115
+ registered by the Edge Application Registration API. Every endpoint
116
+ registered under the same `applicationEndpointsId` identifier belongs to
117
+ the same application.
118
+ - `applicationServerProviderName:` Optionally, the Application Provider
119
+ identifier
120
+ - `applicationProfileId:` Optionally, the Application Profile identifier
121
+ - `device`: End-user equipment identifier used to obtain the optimal application
122
+ endpoint. It is only included when multiple device identifiers come in the
123
+ request.
124
+ - The `Device` object allows the API consumer to provide more than one device
125
+ identifier. No error will be returned when the supplied device identifiers
126
+ do not match with the same device. It is responsibility of the API consumer
127
+ to ensure that the identifiers they are using are associated with the same
128
+ device.
129
+ - Where an API consumer provides more than one device identifier, the
130
+ response will indicate which of these identifiers have been used to fulfil
131
+ the API, even if the identifiers do not match the same device. The
132
+ `DeviceResponse` object is defined for this purpose.
133
+
134
+
135
+ ## Errors
136
+
137
+ - If the API call contains a formatting or other any other syntatic error,
138
+ a `400 INVALID_ARGUMENT` error is returned.
139
+ - If the API call cannot be authenticated due to missing, invalid, or
140
+ expired credentials, a `401 UNAUTHENTICATED` error is returned.
141
+ - If the API call has a valid access token that does not have the
142
+ required scope, then a `403 PERMISSION_DENIED` error is returned.
143
+ - If the API call has a valid access token that does not identify
144
+ a single device, then a `404 IDENTIFIER_NOT_FOUND` error is returned.
145
+ - If the API call has an `appId` that does not identify a valid
146
+ application on the Edge Cloud, a `404 NOT_FOUND` error is returned.
147
+ - If the API call has an `applicationEndpointsId` that does not identify
148
+ any registered endpoint on the Edge Cloud, a `404 NOT_FOUND` error
149
+ is returned.
150
+
151
+ ### Additional CAMARA error responses
152
+
153
+ The list of error codes in this API specification is not exhaustive.
154
+ Therefore the API specification may not document some non-mandatory error
155
+ statuses as indicated in `CAMARA API Design Guide`.
156
+
157
+ Please refer to the `CAMARA_common.yaml` of the Commonalities Release
158
+ associated to this API version for a complete list of error responses.
159
+ The applicable Commonalities Release can be identified in the `API
160
+ Readiness Checklist` document associated to this API version.
161
+
162
+ As a specific rule, error `501 - NOT_IMPLEMENTED` can be only a possible
163
+ error response if it is explicitly documented in the API.
164
+
165
+ # Identifying the device from the access token
166
+
167
+ This API requires the API consumer to identify a device as the subject of
168
+ the API as follows:
169
+
170
+ - When the API is invoked using a two-legged access token, the subject will
171
+ be identified from the optional `device` object, which therefore MUST be
172
+ provided.
173
+ - When a three-legged access token is used however, this optional
174
+ identifier MUST NOT be provided, as the subject will be uniquely
175
+ identified from the access token.
176
+
177
+ This approach simplifies API usage for API consumers using a three-legged
178
+ access token to invoke the API by relying on the information that is
179
+ associated with the access token and was identified during the
180
+ authentication process.
181
+
182
+ ## Error handling:
183
+
184
+ - If the subject cannot be identified from the access token and the
185
+ optional `device` object is not included in the request, then the server
186
+ will return an error with the `422 MISSING_IDENTIFIER` error code.
187
+ - If the subject can be identified from the access token and the optional
188
+ `device` object is also included in the request, then the server will
189
+ return an error with the `422 UNNECESSARY_IDENTIFIER` error code.
190
+ This will be the case even if the same device is identified by
191
+ these two methods, as the server is unable to make this comparison.
192
+ - If the subject cannot be identified from the access token and the
193
+ optional `device` object only includes device identifiers not supported
194
+ by the implementation, then the server will return an error with the
195
+ `422 UNSUPPORTED_IDENTIFIER` error code.
196
+ - If the service is not applicable for the subject that is identified
197
+ from the access token or the optional `device` object, then the server
198
+ will return an error code with the `422 SERVICE_NOT_APPLICABLE` error
199
+ code.
200
+
201
+ # Authorization and authentication
202
+
203
+ The "Camara Security and Interoperability Profile" provides details of how
204
+ an API consumer requests an access token. Please refer to
205
+ Identity and Consent Management
206
+ (https://github.com/camaraproject/IdentityAndConsentManagement/)
207
+ for the released version of the profile.
208
+
209
+ The specific authorization flows to be used will be agreed upon during the
210
+ onboarding process, happening between the API consumer and the
211
+ API provider, taking into account the declared purpose for accessing the
212
+ API, whilst also being subject to the prevailing legal framework dictated
213
+ by local legislation.
214
+
215
+ In cases where personal data is processed by the API and users can exercise
216
+ their rights through mechanisms such as opt-in and/or opt-out, the use of
217
+ three-legged access tokens is mandatory. This ensures that the API remains
218
+ in compliance with privacy regulations, upholding the principles of
219
+ transparency and user-centric privacy-by-design.
220
+
221
+ ---
222
+ license:
223
+ name: Apache 2.0
224
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
225
+ x-camara-commonalities: 0.6
226
+ externalDocs:
227
+ description: Product documentation at CAMARA
228
+ url: https://github.com/camaraproject/ApplicationEndpointDiscovery
229
+ servers:
230
+ - url: "{apiRoot}/application-endpoint-discovery/vwip"
231
+ variables:
232
+ apiRoot:
233
+ default: http://localhost:9091
234
+ description: |
235
+ API root, defined by the service provider, e.g. `api.example.com` or
236
+ `api.example.com/somepath`
237
+
238
+ tags:
239
+ - name: Application Endpoint Discovery
240
+ description: |
241
+ Find the optimal Application Instance Endpoint(s) to the user device.
242
+ paths:
243
+ /retrieve-optimal-app-endpoints:
244
+ post:
245
+ security:
246
+ - openId:
247
+ - application-endpoint-discovery:app-endpoints:read
248
+ operationId: getOptimalAppEndpoints
249
+ parameters:
250
+ - name: x-correlator
251
+ in: header
252
+ required: false
253
+ description: Correlation id for the different services
254
+ schema:
255
+ $ref: "#/components/schemas/XCorrelator"
256
+ requestBody:
257
+ content:
258
+ application/json:
259
+ schema:
260
+ $ref: "#/components/schemas/EndpointDiscoveryInfo"
261
+ examples:
262
+ Identify Device By 3-Legged Access Token and AppId:
263
+ $ref: '#/components/examples/IdentifyDeviceBy3LeggedTokenAppId'
264
+ Identify Device By Phone Number and AppId:
265
+ $ref: '#/components/examples/IdentifyDeviceByPhoneNumberAppId'
266
+ Identify Device By IP Address and ApplicationEndpointsId:
267
+ $ref: '#/components/examples/IdentifyDeviceByIPAddressAppEndpointsId'
268
+ Identify Device By Multiple Identifiers and AppId:
269
+ $ref: '#/components/examples/IdentifyDeviceByMultipleIdentifiersAppId'
270
+ responses:
271
+ "200":
272
+ description: |
273
+ Successful response, returning the optimal Application Instance
274
+ Endpoint(s) to the user device identified in the request body.
275
+ The response will include the endpoint(s) exposed by the Application
276
+ Instance(s) with the shortest network path to the end user device
277
+ identified in the request. There can be multiple application endpoints
278
+ returned in the response and the API consumer can choose the one that best
279
+ suits their needs.
280
+ headers:
281
+ x-correlator:
282
+ $ref: "#/components/headers/x-correlator"
283
+ content:
284
+ application/json:
285
+ schema:
286
+ $ref: "#/components/schemas/EndpointDiscoveryResult"
287
+
288
+ "400":
289
+ $ref: "#/components/responses/Generic400"
290
+ "401":
291
+ $ref: "#/components/responses/Generic401"
292
+ "403":
293
+ $ref: "#/components/responses/Generic403"
294
+ "404":
295
+ $ref: "#/components/responses/Generic404"
296
+ "422":
297
+ $ref: "#/components/responses/Generic422"
298
+ "429":
299
+ $ref: "#/components/responses/Generic429"
300
+ tags:
301
+ - Application Endpoint Discovery
302
+ summary: |
303
+ Returns the Endpoint(s) of the optimal Application Instance(s) to the user
304
+ device identified in the request.
305
+ description: |
306
+ On receiving this request, the network will return the endpoint(s)
307
+ of the Application Instance(s) with the shortest network path to the
308
+ end user device identified in the request.
309
+ components:
310
+ securitySchemes:
311
+ openId:
312
+ description: OpenID Provider Configuration Information.
313
+ type: openIdConnect
314
+ openIdConnectUrl: https://example.com/.well-known/openid-configuration
315
+ headers:
316
+ x-correlator:
317
+ description: Correlation id for the different services
318
+ required: false
319
+ schema:
320
+ $ref: "#/components/schemas/XCorrelator"
321
+ schemas:
322
+ Device:
323
+ description: |
324
+ End-user equipment able to connect to a mobile network. Examples of
325
+ devices include smartphones or IoT sensors/actuators.
326
+
327
+ The developer can choose to provide the below specified
328
+ device identifiers:
329
+
330
+ * `ipv4Address`
331
+ * `ipv6Address`
332
+ * `phoneNumber`
333
+ * `networkAccessIdentifier`
334
+
335
+ NOTE1: the network operator might support only a subset of these
336
+ options. The API invoker can provide multiple identifiers to be
337
+ compatible across different network operators. In this case the
338
+ identifiers MUST belong to the same device.
339
+
340
+ NOTE2: as for this Commonalities release, we are enforcing that
341
+ the networkAccessIdentifier is only part of the schema for
342
+ future-proofing, and CAMARA does not currently allow its use.
343
+ After the CAMARA meta-release work is concluded and the relevant
344
+ issues are resolved, its use will need to be explicitly documented
345
+ in the guidelines.
346
+ type: object
347
+ properties:
348
+ phoneNumber:
349
+ $ref: "#/components/schemas/PhoneNumber"
350
+ networkAccessIdentifier:
351
+ $ref: "#/components/schemas/NetworkAccessIdentifier"
352
+ ipv4Address:
353
+ $ref: "#/components/schemas/DeviceIpv4Addr"
354
+ ipv6Address:
355
+ $ref: "#/components/schemas/SingleIpv6Addr"
356
+ minProperties: 1
357
+
358
+ DeviceResponse:
359
+ description: |
360
+ An identifier for the end-user equipment able to connect to the
361
+ network that the response refers to. This parameter is only
362
+ returned when the API consumer includes the `device` parameter in
363
+ their request (i.e. they are using a two-legged access token), and
364
+ is relevant when more than one device identifier is specified, as
365
+ only one of those device identifiers is allowed in the response.
366
+
367
+ If the API consumer provides more than one device identifier in
368
+ their request, the API provider must return a single identifier
369
+ which is the one they are using to fulfil the request, even if the
370
+ identifiers do not match the same device. API provider does not
371
+ perform any logic to validate/correlate that the indicated device
372
+ identifiers match the same device. No error should be returned if
373
+ the identifiers are otherwise valid to prevent API consumers
374
+ correlating different identifiers with a given end user.
375
+ allOf:
376
+ - $ref: "#/components/schemas/Device"
377
+ - maxProperties: 1
378
+
379
+ PhoneNumber:
380
+ description: |
381
+ A public identifier addressing a telephone subscription. In mobile
382
+ networks it corresponds to the MSISDN (Mobile Station International
383
+ Subscriber Directory Number). In order to be globally unique it has
384
+ to be formatted in international format, according to E.164
385
+ standard, prefixed with '+'.
386
+ type: string
387
+ pattern: '^\+[1-9][0-9]{4,14}$'
388
+ example: "+123456789"
389
+
390
+ NetworkAccessIdentifier:
391
+ description: |
392
+ A public identifier addressing a subscription in a mobile network.
393
+ In 3GPP terminology, it corresponds to the GPSI formatted with the
394
+ External Identifier ({Local Identifier}@{Domain Identifier}). Unlike
395
+ the telephone number, the network access identifier is not subjected
396
+ to portability ruling in force, and is individually managed by each
397
+ operator.
398
+ type: string
399
+ example: "123456789@domain.com"
400
+
401
+ DeviceIpv4Addr:
402
+ type: object
403
+ description: |
404
+ The device should be identified by either the public (observed) IP
405
+ address and port as seen by the application server, or the private
406
+ (local) and any public (observed) IP addresses in use by the device
407
+ (this information can be obtained by various means, for example from
408
+ some DNS servers).
409
+
410
+ If the allocated and observed IP addresses are the same (i.e. NAT is
411
+ not in use) then the same address should be specified for both
412
+ publicAddress and privateAddress.
413
+
414
+ If NAT64 is in use, the device should be identified by its
415
+ publicAddress and publicPort, or separately by its allocated IPv6
416
+ address (field ipv6Address of the Device object)
417
+
418
+ In all cases, publicAddress must be specified, along with at least
419
+ one of either privateAddress or publicPort, dependent upon which is
420
+ known. In general, mobile devices cannot be identified by their
421
+ public IPv4 address alone.
422
+ properties:
423
+ publicAddress:
424
+ $ref: "#/components/schemas/SingleIpv4Addr"
425
+ privateAddress:
426
+ $ref: "#/components/schemas/SingleIpv4Addr"
427
+ publicPort:
428
+ $ref: "#/components/schemas/Port"
429
+ anyOf:
430
+ - required: [publicAddress, privateAddress]
431
+ - required: [publicAddress, publicPort]
432
+ example:
433
+ publicAddress: "84.125.93.10"
434
+ publicPort: 59765
435
+
436
+ SingleIpv4Addr:
437
+ description: A single IPv4 address with no subnet mask
438
+ type: string
439
+ format: ipv4
440
+ example: "84.125.93.10"
441
+
442
+ Port:
443
+ description: TCP or UDP port number
444
+ type: integer
445
+ minimum: 0
446
+ maximum: 65535
447
+
448
+ SingleIpv6Addr:
449
+ description: |
450
+ The device should be identified by the observed IPv6 address, or by
451
+ any single IPv6 address from within the subnet allocated to the
452
+ device (e.g. adding ::0 to the /64 prefix).
453
+ type: string
454
+ format: ipv6
455
+ example: 2001:db8:85a3:8d3:1319:8a2e:370:7344
456
+
457
+ XCorrelator:
458
+ description: Correlation id for the different services
459
+ type: string
460
+ pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$
461
+ example: "b4333c46-49c0-4f62-80d7-f0ef930f1c46"
462
+
463
+ EndpointDiscoveryInfo:
464
+ description: |
465
+ Element to retrieve the optimal application endpoint(s) for the
466
+ identified device.
467
+ type: object
468
+ anyOf:
469
+ - required: [applicationEndpointsId]
470
+ - required: [appId]
471
+ properties:
472
+ device:
473
+ $ref: "#/components/schemas/Device"
474
+ applicationEndpointsId:
475
+ $ref: "#/components/schemas/ApplicationEndpointsId"
476
+ appId:
477
+ $ref: "#/components/schemas/AppId"
478
+
479
+ ApplicationEndpointsId:
480
+ description: |
481
+ A system-defined string identifier representing
482
+ one or more registered Application Endpoints that belong
483
+ to the same application.
484
+ type: string
485
+ format: uuid
486
+ example: "4d596ac1-7822-4927-a3c5-d72e1f922c94"
487
+
488
+ AppId:
489
+ type: string
490
+ format: uuid
491
+ description: |
492
+ A globally unique identifier associated with the application.
493
+ This GUID will have been previously provided by the Edge Cloud Zone
494
+ provider.
495
+ example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
496
+
497
+ EndpointDiscoveryResult:
498
+ description: |
499
+ Endpoint Discovery result including optimal application endpoint(s)
500
+ for the requested identified device.
501
+ type: object
502
+ required:
503
+ - applicationEndpoints
504
+ anyOf:
505
+ - required: [applicationEndpointsId]
506
+ - required: [appId]
507
+ properties:
508
+ applicationEndpoints:
509
+ description: Array of Application Endpoints.
510
+ type: array
511
+ items:
512
+ $ref: "#/components/schemas/ApplicationEndpoint"
513
+ minItems: 1
514
+ appId:
515
+ $ref: "#/components/schemas/AppId"
516
+ applicationEndpointsId:
517
+ $ref: "#/components/schemas/ApplicationEndpointsId"
518
+ applicationServerProviderName:
519
+ type: string
520
+ description: Unique ID representing the Edge Application Provider
521
+ applicationProfileId:
522
+ $ref: "#/components/schemas/ApplicationProfileId"
523
+ device:
524
+ $ref: "#/components/schemas/DeviceResponse"
525
+
526
+ EdgeCloudZone:
527
+ type: object
528
+ description: |
529
+ An Edge Cloud Zone, uniquely identified by a
530
+ combination of the value of the Edge Cloud Zone Id object
531
+ and the value of the Edge Cloud Provider
532
+ object. This value is used to identify an Edge Cloud zone
533
+ between Edge Clouds from different Edge Cloud Providers.
534
+ required:
535
+ - edgeCloudZoneId
536
+ - edgeCloudZoneName
537
+ - edgeCloudProvider
538
+ properties:
539
+ edgeCloudZoneId:
540
+ $ref: "#/components/schemas/EdgeCloudZoneId"
541
+ edgeCloudZoneName:
542
+ $ref: "#/components/schemas/EdgeCloudZoneName"
543
+ edgeCloudZoneStatus:
544
+ $ref: "#/components/schemas/EdgeCloudZoneStatus"
545
+ edgeCloudProvider:
546
+ $ref: "#/components/schemas/EdgeCloudProvider"
547
+ edgeCloudRegion:
548
+ $ref: "#/components/schemas/EdgeCloudRegion"
549
+
550
+ EdgeCloudZoneId:
551
+ description: A unique identifier for the Edge Cloud Zone.
552
+ type: string
553
+ format: uuid
554
+ example: "123e4567-e89b-12d3-a456-426614174000"
555
+
556
+ EdgeCloudRegion:
557
+ description: |
558
+ The EdgeCloudProvider's name for the region where the Edge Cloud
559
+ Zone is located.
560
+ type: string
561
+ pattern: ^[A-Za-z0-9]([A-Za-z0-9-]{0,53}[A-Za-z0-9])?$
562
+ example: "us-west-1"
563
+
564
+ EdgeCloudZoneStatus:
565
+ description: Status of the Edge Cloud Zone (default is 'unknown')
566
+ type: string
567
+ enum:
568
+ - active
569
+ - inactive
570
+ - unknown
571
+ default: unknown
572
+
573
+ EdgeCloudProvider:
574
+ description: The provider of the Edge Cloud.
575
+ type: string
576
+ pattern: ^[A-Za-z0-9]([A-Za-z0-9-]{0,53}[A-Za-z0-9])?$
577
+ example: "ProviderA"
578
+
579
+ EdgeCloudZoneName:
580
+ description: The name of the Edge Cloud Zone.
581
+ type: string
582
+ pattern: ^[A-Za-z0-9]([A-Za-z0-9-]{0,53}[A-Za-z0-9])?$
583
+ example: "ZoneA"
584
+
585
+ ApplicationProfileId:
586
+ description: A unique identifier for the application profile.
587
+ type: string
588
+ format: uuid
589
+ example: "123e4567-e89b-12d3-a456-426614174000"
590
+
591
+ ApplicationEndpoint:
592
+ type: object
593
+ description: |
594
+ An application server IP address or FQDN with a port,
595
+ exposed by an application instance deployed on the Edge Cloud
596
+ provider.
597
+ required:
598
+ - port
599
+ anyOf:
600
+ - required: [fqdn]
601
+ - required: [ipv4Addresses]
602
+ - required: [ipv6Addresses]
603
+ properties:
604
+ fqdn:
605
+ $ref: "#/components/schemas/Fqdn"
606
+ ipv4Addresses:
607
+ description: Array of IPv4 addresses.
608
+ type: array
609
+ items:
610
+ $ref: "#/components/schemas/Ipv4Address"
611
+ minItems: 1
612
+ ipv6Addresses:
613
+ description: Array of IPv6 addresses.
614
+ type: array
615
+ items:
616
+ $ref: "#/components/schemas/Ipv6Address"
617
+ minItems: 1
618
+ port:
619
+ $ref: "#/components/schemas/Port"
620
+ edgeCloudZone:
621
+ $ref: "#/components/schemas/EdgeCloudZone"
622
+ applicationEndpointDescription:
623
+ type: string
624
+ description: Description of the application endpoint
625
+
626
+ Fqdn:
627
+ type: string
628
+ description: Fully Qualified Domain Name.
629
+
630
+ Ipv4Address:
631
+ type: string
632
+ description: |
633
+ A single IPv4 address specified in dotted-quad form like 1.2.3.4.
634
+ example: "198.51.100.1"
635
+
636
+ Ipv6Address:
637
+ type: string
638
+ description: |
639
+ A single IPv6 address, following IETF 5952 format like
640
+ 2001:db8:85a3:8d3:1319:8a2e:370:7344.
641
+ example: "2001:db8:85a3::8a2e:370:7334"
642
+
643
+ ErrorInfo:
644
+ type: object
645
+ description: Error information
646
+ required:
647
+ - status
648
+ - code
649
+ - message
650
+ properties:
651
+ status:
652
+ type: integer
653
+ description: HTTP status code returned along with this error response
654
+ code:
655
+ type: string
656
+ description: Code given to this error
657
+ message:
658
+ type: string
659
+ description: Detailed error description
660
+ responses:
661
+ Generic400:
662
+ description: Bad Request
663
+ headers:
664
+ x-correlator:
665
+ $ref: "#/components/headers/x-correlator"
666
+ content:
667
+ application/json:
668
+ schema:
669
+ allOf:
670
+ - $ref: "#/components/schemas/ErrorInfo"
671
+ - type: object
672
+ properties:
673
+ status:
674
+ enum:
675
+ - 400
676
+ code:
677
+ enum:
678
+ - INVALID_ARGUMENT
679
+ - OUT_OF_RANGE
680
+ examples:
681
+ GENERIC_400_INVALID_ARGUMENT:
682
+ description: Invalid Argument. Generic Syntax Exception
683
+ value:
684
+ status: 400
685
+ code: INVALID_ARGUMENT
686
+ message: Client specified an invalid argument, request body or
687
+ query param.
688
+ GENERIC_400_OUT_OF_RANGE:
689
+ description: |
690
+ Out of Range. Specific Syntax Exception used when a
691
+ given field has a pre-defined range or a invalid filter criteria
692
+ combination is requested
693
+ value:
694
+ status: 400
695
+ code: OUT_OF_RANGE
696
+ message: Client specified an invalid range.
697
+ Generic401:
698
+ description: Unauthorized
699
+ headers:
700
+ x-correlator:
701
+ $ref: "#/components/headers/x-correlator"
702
+ content:
703
+ application/json:
704
+ schema:
705
+ allOf:
706
+ - $ref: "#/components/schemas/ErrorInfo"
707
+ - type: object
708
+ properties:
709
+ status:
710
+ enum:
711
+ - 401
712
+ code:
713
+ enum:
714
+ - UNAUTHENTICATED
715
+ examples:
716
+ GENERIC_401_UNAUTHENTICATED:
717
+ description: |
718
+ Request cannot be authenticated and a new authentication
719
+ is required
720
+ value:
721
+ status: 401
722
+ code: UNAUTHENTICATED
723
+ message: Request not authenticated due to missing, invalid,
724
+ or expired credentials. A new authentication is required.
725
+ Generic403:
726
+ description: Forbidden
727
+ headers:
728
+ x-correlator:
729
+ $ref: "#/components/headers/x-correlator"
730
+ content:
731
+ application/json:
732
+ schema:
733
+ allOf:
734
+ - $ref: "#/components/schemas/ErrorInfo"
735
+ - type: object
736
+ properties:
737
+ status:
738
+ enum:
739
+ - 403
740
+ code:
741
+ enum:
742
+ - PERMISSION_DENIED
743
+ - INVALID_TOKEN_CONTEXT
744
+ examples:
745
+ GENERIC_403_PERMISSION_DENIED:
746
+ description: |
747
+ Permission denied. OAuth2 token access does not have the
748
+ required scope or when the user fails operational security
749
+ value:
750
+ status: 403
751
+ code: PERMISSION_DENIED
752
+ message: Client does not have sufficient permissions to
753
+ perform this action.
754
+ GENERIC_403_INVALID_TOKEN_CONTEXT:
755
+ description: |
756
+ Reflect some inconsistency between information in
757
+ some field of the API and the related OAuth2 Token
758
+ value:
759
+ status: 403
760
+ code: INVALID_TOKEN_CONTEXT
761
+ message: "{{field}} is not consistent with access token."
762
+ Generic404:
763
+ description: Not found
764
+ headers:
765
+ x-correlator:
766
+ $ref: "#/components/headers/x-correlator"
767
+ content:
768
+ application/json:
769
+ schema:
770
+ allOf:
771
+ - $ref: "#/components/schemas/ErrorInfo"
772
+ - type: object
773
+ properties:
774
+ status:
775
+ enum:
776
+ - 404
777
+ code:
778
+ enum:
779
+ - NOT_FOUND
780
+ - IDENTIFIER_NOT_FOUND
781
+ examples:
782
+ GENERIC_404_NOT_FOUND:
783
+ description: Resource is not found
784
+ value:
785
+ status: 404
786
+ code: NOT_FOUND
787
+ message: The specified resource is not found.
788
+ GENERIC_404_IDENTIFIER_NOT_FOUND:
789
+ description: Some identifier cannot be matched to a device
790
+ value:
791
+ status: 404
792
+ code: IDENTIFIER_NOT_FOUND
793
+ message: Device identifier not found.
794
+ Generic422:
795
+ description: Unprocessable Content
796
+ headers:
797
+ x-correlator:
798
+ $ref: "#/components/headers/x-correlator"
799
+ content:
800
+ application/json:
801
+ schema:
802
+ allOf:
803
+ - $ref: "#/components/schemas/ErrorInfo"
804
+ - type: object
805
+ properties:
806
+ status:
807
+ enum:
808
+ - 422
809
+ code:
810
+ enum:
811
+ - SERVICE_NOT_APPLICABLE
812
+ - MISSING_IDENTIFIER
813
+ - UNSUPPORTED_IDENTIFIER
814
+ - UNNECESSARY_IDENTIFIER
815
+ examples:
816
+ GENERIC_422_SERVICE_NOT_APPLICABLE:
817
+ description: Service not applicable for the provided identifier
818
+ value:
819
+ status: 422
820
+ code: SERVICE_NOT_APPLICABLE
821
+ message: The service is not available for the provided identifier.
822
+ GENERIC_422_MISSING_IDENTIFIER:
823
+ description: |
824
+ An identifier is not included in the request and the device or phone
825
+ number identification cannot be derived from the 3-legged access
826
+ token
827
+ value:
828
+ status: 422
829
+ code: MISSING_IDENTIFIER
830
+ message: The device cannot be identified.
831
+ GENERIC_422_UNSUPPORTED_IDENTIFIER:
832
+ description: |
833
+ None of the provided identifiers is supported by the implementation
834
+ value:
835
+ status: 422
836
+ code: UNSUPPORTED_IDENTIFIER
837
+ message: The identifier provided is not supported.
838
+ GENERIC_422_UNNECESSARY_IDENTIFIER:
839
+ description: |
840
+ An explicit identifier is provided when a device or phone
841
+ number has already been identified from the access token
842
+ value:
843
+ status: 422
844
+ code: UNNECESSARY_IDENTIFIER
845
+ message: The device is already identified by the access token.
846
+ Generic429:
847
+ description: Too Many Requests
848
+ headers:
849
+ x-correlator:
850
+ $ref: "#/components/headers/x-correlator"
851
+ content:
852
+ application/json:
853
+ schema:
854
+ allOf:
855
+ - $ref: "#/components/schemas/ErrorInfo"
856
+ - type: object
857
+ properties:
858
+ status:
859
+ enum:
860
+ - 429
861
+ code:
862
+ enum:
863
+ - QUOTA_EXCEEDED
864
+ - TOO_MANY_REQUESTS
865
+ examples:
866
+ GENERIC_429_QUOTA_EXCEEDED:
867
+ description: Request is rejected due to exceeding a business quota limit
868
+ value:
869
+ status: 429
870
+ code: QUOTA_EXCEEDED
871
+ message: Out of resource quota.
872
+ GENERIC_429_TOO_MANY_REQUESTS:
873
+ description: |
874
+ Access to the API has been temporarily blocked due to rate or spike
875
+ arrest limits being reached
876
+ value:
877
+ status: 429
878
+ code: TOO_MANY_REQUESTS
879
+ message: Rate limit reached.
880
+ examples:
881
+ IdentifyDeviceBy3LeggedTokenAppId:
882
+ description: Empty JSON when device is identified by access token
883
+ value:
884
+ appId: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
885
+
886
+ IdentifyDeviceByPhoneNumberAppId:
887
+ description: Identifying device by phone number
888
+ value:
889
+ device:
890
+ phoneNumber: "+123456789"
891
+ appId: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
892
+
893
+ IdentifyDeviceByIPAddressAppEndpointsId:
894
+ description: Identifying device by IP address
895
+ value:
896
+ device:
897
+ ipv4Address:
898
+ publicAddress: "84.125.93.10"
899
+ publicPort: 59765
900
+ applicationEndpointsId: "4d596ac1-7822-4927-a3c5-d72e1f922c94"
901
+
902
+ IdentifyDeviceByMultipleIdentifiersAppId:
903
+ description: Identifying device by multiple device identifiers
904
+ value:
905
+ device:
906
+ phoneNumber: "+123456789"
907
+ ipv4Address:
908
+ publicAddress: "84.125.93.10"
909
+ publicPort: 59765
910
+ networkAccessIdentifier: "123456789@domain.com"
911
+ appId: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
912
+ ```
marked/ApplicationEndpointDiscovery/documentation/API_documentation/Application-Endpoint-Discovery-API-Readiness-Checklist/raw.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Application Endpoint Discovery API Readiness minimum criteria checklist
2
+
3
+ Checklist for Application-Endpoint-Discovery v0.1.0
4
+
5
+ | Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Reference information |
6
+ |----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|----|
7
+ | 1 | API definition | M | M | M | M | Y | [link](/code/API_definitions/application-endpoint-discovery.yaml) |
8
+ | 2 | Design guidelines from Commonalities applied | O | M | M | M | Y |[r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) |
9
+ | 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) |
10
+ | 4 | API versioning convention applied | M | M | M | M | Y | |
11
+ | 5 | API documentation | M | M | M | M | Y | inline in YAML |
12
+ | 6 | User stories | O | O | O | M | Y | [link](/documentation/SupportingDocuments/API_Documentation/User%20Stories/Application%20Endpoint%20Discovery%20User%20Story.md) |
13
+ | 7 | Basic API test cases & documentation | O | M | M | M | Y | [link](/code/Test_definitions/application-endpoint-discovery.feature) |
14
+ | 8 | Enhanced API test cases & documentation | O | O | O | M | N | |
15
+ | 9 | Test result statement | O | O | O | M | N | |
16
+ | 10 | API release numbering convention applied | M | M | M | M | Y | |
17
+ | 11 | Change log updated | M | M | M | M | Y | [link](/CHANGELOG.MD) |
18
+ | 12 | Previous public release was certified | O | O | O | M | N | |
19
+ | 13 | API description (for marketing) | O | O | M | M | Y | [Wiki link](https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/137166903/ApplicationEndpointDiscovery+API+description) |
marked/ApplicationEndpointDiscovery/documentation/API_documentation/README/raw.md ADDED
@@ -0,0 +1 @@
 
 
1
+ This README.MD can be deleted when the first file is added to this directory.
marked/ApplicationEndpointDiscovery/documentation/SupportingDocuments/API_Documentation/User_Stories/Application_Endpoint_Discovery_User_Story/raw.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Application Endpoint Discovery API User Story
2
+
3
+ _This document is based on the [CAMARA Commonalities template for User Stories](https://github.com/camaraproject/Commonalities/blob/main/documentation/Userstory-template.md)_
4
+
5
+ | **Item** | **Details** |
6
+ | ---- | ------- |
7
+ | **_Summary_** | As an application developer belonging to an enterprise, I want to discover (using either my application server/backend service, or an HTTP application client on the end-user device) the optimal application instance running in an Edge Cloud Zone that a given end-user's device can connect to. |
8
+ | **_Roles and Actors and Scope_** | **Roles:** Customer:User<br> **Actors:** Application service providers, network operators, application developers. The API allows a check to see if end-user consent is required: if consent is required, the end-user will be an actor in the consent flow. <br> **Scope:** Get the endpoint of the application hosted at the optimal Edge Cloud Zone |
9
+ | **_Pre-conditions_** |The preconditions are listed below:<br><ol><li>The Customer:BusinessManager and Customer:Administrator have been onboarded to the CSP's API platform.</li><li>The Customer:BusinessManager has successfully subscribed to the Application Endpoint Discovery product from the product catalog.</li><li>The Customer:Administrator has onboarded the Customer:User to the platform.</li><li>The Customer:User has obtained a valid identifier for the target device, or, will make the API request from an application client on a device connected to the operator's network.</li>|
10
+ | **_Begins when_** | The customer application server/client makes a POST request to the Application Endpoint Discovery API to query the optimal Application Endpoint to the target device (an end-user device). The target device is either identified either in a 3-legged consent flow including a device object, or by device identifier(s) in the request body.|
11
+ | **_Ends when_** | The Application Endpoint Discovery API returns the endpoint(s) of the optimal application instance(s) for this user.|
12
+ | **_Post-conditions_** | Optional - the customer may decide to act upon the information by connecting the end-user application client to the application server instance hosted at one of the received Application Endpoints. |
13
+ | **_Exceptions_** | Several exceptions might occur during the API operations:<br>- Unauthorized: Invalid credentials (e.g., expired access token).<br>- Incorrect input data (e.g., malformed phone number). <br>- Not found: The phone number is not associated with a CSP customer account, the application does not have any running instances in the Edge Cloud, or the application endpoint ID received in the request is not registered in the Edge Cloud. |
14
+
15
+ ## API Workflows
16
+
17
+ ### Scenario 1: direct request from application client or end-user device
18
+
19
+ Constraints:
20
+
21
+ - Network: cellular (4G/5G) or fixed/Wi-Fi network with an Edge Cloud Zone deployment.
22
+ - Application: browser or app calls API over HTTPS
23
+ - Northbound Interface only (no 'UNI' client SDK required)
24
+ - The call must include an application identifier (_appId_) which must be provided by the Application Provider.
25
+
26
+ Note:
27
+
28
+ - the Edge Cloud Zone platform may be hosted by the operator or a 3rd party hyperscaler (in which case the developer will need an account with that hyperscaler to create instances)
29
+
30
+ ```mermaid
31
+ sequenceDiagram
32
+ autonumber
33
+ participant Application Client
34
+ participant Operator
35
+ participant Edge Cloud Zone
36
+ Note over Application Client, Operator: PRE developer has acquired an identifier for the device in question
37
+ Note over Application Client, Operator: PRE App developer registered, authenticated and authorised
38
+ Note over Application Client, Operator: PRE Application instances are up and running on one or several Edge Cloud Zones
39
+
40
+ Application Client->>Operator: POST request `/retrieve-optimal-app-endpoints {RequestBody: device identifier(s), appId}`
41
+ Operator->>Operator: Calculate optimal Application Endpoint(s)
42
+ Operator->>Application Client: optimal Application Endpoint(s)
43
+ opt connect to optimal instance endpoint
44
+ Application Client->>Edge Cloud Zone: Connect to optimal instance endpoint
45
+ end
46
+ ```
47
+
48
+ ### Scenario 2: request from developer server
49
+
50
+ Constraints:
51
+
52
+ - Network: cellular (4G/5G) or fixed/Wi-Fi network with an Edge Cloud Zone deployment.
53
+ - Application: none, browser or app calls API over HTTPs (no client SDK required)
54
+ - Dependencies:
55
+ - the call must include an identifier for the device (device) for which 'optimal MEC' is being calculated
56
+ - the call must include an application identifier:
57
+ - _appId_ (application identifier) in case the application is deployed by Edge Application Management API
58
+ - _applicationEndpointsId_ (registered endpoints identifier) for other cases. It requires previous registration of application endpoints using Application Endpoint Registration API.
59
+
60
+ Note: the Edge CLoud Zone platform may be hosted by the operator or a 3rd party hyperscaler (in which case the developer will need an account with that hyperscaler to create instances)
61
+
62
+ ```mermaid
63
+ sequenceDiagram
64
+ autonumber
65
+ participant Application Client
66
+ participant Application Server
67
+ participant Operator
68
+ participant Edge Cloud Zone
69
+ Note over Application Server, Operator: PRE developer has acquired an identifier for the device in question
70
+ Note over Application Server, Operator: PRE App developer registered, authenticated and authorised
71
+ Note over Application Server, Operator: PRE Application instances are up and running on one or several Edge Cloud Zones
72
+ alt The application has been deployed with Edge Application Management API
73
+ Application Server->>Operator: POST request `/retrieve-optimal-app-endpoints {RequestBody: device identifier(s), appId}`
74
+ else The application has not been instantiated with Edge Application Management API
75
+ Note over Application Server,Operator: PRE Application Endpoints have been registered in Operator Platform
76
+ Application Server->>Operator: POST request `/retrieve-optimal-app-endpoints {RequestBody: device identifier(s), applicationEndpointsId}`
77
+ end
78
+ Operator->>Operator: Calculate optimal Application Endpoint(s)
79
+ Operator->>Application Server: optimal Application Endpoint(s)
80
+ opt inform app so it connects to the instance endpoint
81
+ Application Server->>Application Client: report optimal Application Endpoint
82
+ Application Client->>Edge Cloud Zone: Connect to instance endpoint
83
+ end
84
+ ```
marked/ApplicationEndpointDiscovery/documentation/SupportingDocuments/README/raw.md ADDED
@@ -0,0 +1 @@
 
 
1
+ This README.MD can be deleted when the first file is added to this directory.
marked/ApplicationEndpointRegistration/README/raw.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <a href="https://github.com/camaraproject/ApplicationEndpointRegistration/commits/" title="Last Commit"><img src="https://img.shields.io/github/last-commit/camaraproject/ApplicationEndpointRegistration?style=plastic"></a>
2
+ <a href="https://github.com/camaraproject/ApplicationEndpointRegistration/issues" title="Open Issues"><img src="https://img.shields.io/github/issues/camaraproject/ApplicationEndpointRegistration?style=plastic"></a>
3
+ <a href="https://github.com/camaraproject/ApplicationEndpointRegistration/pulls" title="Open Pull Requests"><img src="https://img.shields.io/github/issues-pr/camaraproject/ApplicationEndpointRegistration?style=plastic"></a>
4
+ <a href="https://github.com/camaraproject/ApplicationEndpointRegistration/graphs/contributors" title="Contributors"><img src="https://img.shields.io/github/contributors/camaraproject/ApplicationEndpointRegistration?style=plastic"></a>
5
+ <a href="https://github.com/camaraproject/ApplicationEndpointRegistration" title="Repo Size"><img src="https://img.shields.io/github/repo-size/camaraproject/ApplicationEndpointRegistration?style=plastic"></a>
6
+ <a href="https://github.com/camaraproject/ApplicationEndpointRegistration/blob/main/LICENSE" title="License"><img src="https://img.shields.io/badge/License-Apache%202.0-green.svg?style=plastic"></a>
7
+ <a href="https://github.com/camaraproject/ApplicationEndpointRegistration/releases/latest" title="Latest Release"><img src="https://img.shields.io/github/release/camaraproject/ApplicationEndpointRegistration?style=plastic"></a>
8
+ <a href="https://github.com/camaraproject/Governance/blob/main/ProjectStructureAndRoles.md" title="Sandbox API Repository"><img src="https://img.shields.io/badge/Sandbox%20API%20Repository-yellow?style=plastic"></a>
9
+
10
+ # ApplicationEndpointRegistration
11
+
12
+ Sandbox API Repository to describe, develop, document, and test the ApplicationEndpointRegistration Service API(s) within the Sub Project [Edge Cloud](https://lf-camaraproject.atlassian.net/wiki/x/IwEpBQ).
13
+
14
+ * API Repository [wiki page](https://lf-camaraproject.atlassian.net/wiki/x/AQAsC)
15
+
16
+ ## Scope
17
+
18
+ * Service API(s) “ApplicationEndpointRegistration” (see APIBacklog.md)
19
+ * The API(s) provide(s) the API consumer with the ability to:
20
+ * register the endpoints of an application which is deployed across various Edge Cloud Zones
21
+ * Describe, develop, document, and test the API(s)
22
+ * Started: July 2022 (in [EdgeCloud](https://github.com/camaraproject/EdgeCloud) repository)
23
+ <!-- * Incubating stage since: {{incubation date}} -->
24
+
25
+ <!-- CAMARA:RELEASE-INFO:START -->
26
+ <!-- The following section is automatically maintained by the CAMARA project-administration tooling: https://github.com/camaraproject/project-administration -->
27
+
28
+ ## Release Information
29
+
30
+ > [!NOTE]
31
+ > Please be aware that the project will have frequent updates to the main branch. There are no compatibility guarantees associated with code in any branch, including main, until a new release is created. For example, changes may be reverted before a release is created. **For best results, use the latest available release**.
32
+
33
+ * **NEW**: The latest public release is [r1.2](https://github.com/camaraproject/ApplicationEndpointRegistration/releases/tag/r1.2) (Fall25), with the following API versions:
34
+ * **application-endpoint-registration v0.1.0**
35
+ [[YAML]](https://github.com/camaraproject/ApplicationEndpointRegistration/blob/r1.2/code/API_definitions/application-endpoint-registration.yaml)
36
+ [[ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/ApplicationEndpointRegistration/r1.2/code/API_definitions/application-endpoint-registration.yaml&nocors)
37
+ [[Swagger]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/ApplicationEndpointRegistration/r1.2/code/API_definitions/application-endpoint-registration.yaml)
38
+ * The latest public release is always available here: https://github.com/camaraproject/ApplicationEndpointRegistration/releases/latest
39
+ * Other releases of this repository are available in https://github.com/camaraproject/ApplicationEndpointRegistration/releases
40
+ * For changes see [CHANGELOG.md](https://github.com/camaraproject/ApplicationEndpointRegistration/blob/main/CHANGELOG.md)
41
+
42
+ _The above section is automatically synchronized by CAMARA project-administration._
43
+ <!-- CAMARA:RELEASE-INFO:END -->
44
+
45
+ ## Contributing
46
+
47
+ * Meetings are held virtually
48
+ * Schedule: Bi-weekly on Tuesdays 14:00 - 15:00 UTC
49
+ * [Registration / Join](https://zoom-lfx.platform.linuxfoundation.org/meeting/91868502920?password=a9ec9dff-ea92-4216-b0a1-ce152f49170f)
50
+ * Minutes: Access [meeting minutes](https://lf-camaraproject.atlassian.net/wiki/x/8Tve)
51
+ * Mailing List
52
+ * Subscribe / Unsubscribe to the mailing list <https://lists.camaraproject.org/g/sp-edc>.
53
+ * A message to the community of this Sub Project can be sent using <sp-edc@lists.camaraproject.org>.
marked/ApplicationEndpointRegistration/code/API_definitions/README/raw.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Here you can add your definition file(s). Delete this README.MD file after the first file is added.
marked/ApplicationEndpointRegistration/code/API_definitions/application-endpoint-registration/raw.md ADDED
@@ -0,0 +1,763 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # application-endpoint-registration
2
+
3
+ ```yaml
4
+ ---
5
+ openapi: 3.0.3
6
+ info:
7
+ title: Application Endpoints Registration
8
+ version: wip
9
+ x-camara-commonalities: 0.6
10
+ description: |
11
+ The Application Endpoints Registration API provides a programmable
12
+ interface for developers to register the endpoints of an application
13
+ which is deployed across various Edge Cloud Zones.
14
+ It allows developers to retrieve, update, and delete those registrations.
15
+
16
+ # Introduction
17
+
18
+ The API registers the Application Endpoints.
19
+ This information can be used for various use cases like optimal endpoint
20
+ discovery to help end users connect to the most optimal instance of the
21
+ application which is distributed across various Edge Cloud Zones.
22
+ Additionally the information can be used to monitor the edge instances to
23
+ take decisions from a lifecycle management perspective. The API provides
24
+ the ability to register, read and manage the deployed edge instances of
25
+ the application.
26
+
27
+ # Relevant terms and definitions
28
+
29
+ * **Application Endpoint**:
30
+
31
+ The Endpoint on which the application is accessible.
32
+ It can be a FQDN, IPv4, or IPv6 address with a port number.
33
+
34
+ * **Application Profile**:
35
+
36
+ It represents the application's network and
37
+ compute characteristics. This helps distinguish between different
38
+ applications and their specific requirements.
39
+
40
+ * **Edge Cloud Zone**:
41
+
42
+ Availability Zone in an Edge Cloud. It is the lowest
43
+ level of abstraction exposed to an Application Provider who wants to
44
+ deploy an Application on Edge Cloud. Availability Zones exist within
45
+ a Region.
46
+
47
+ # API functionality
48
+
49
+ The API provides the following operations:
50
+ - POST registerApplicationEndpoints: Registers the Application Endpoints
51
+ of a deployed application to a specified edge cloud zone.
52
+ - GET getAllRegisteredApplicationEndpoints: Returns endpoint information for
53
+ all registered Applications.
54
+ - GET getApplicationEndpointsByID: Returns endpoint information for all
55
+ Applications registered to a specified applicationEndpointListId.
56
+ - PUT updateApplicationEndpoint: Update registered application endpoint
57
+ information.
58
+ - DELETE deregisterApplicationEndpoint: Deregister an application's
59
+ Endpoints.
60
+ ## Errors
61
+
62
+ - If the API call contains a formatting or any other syntactic error,
63
+ a `400 INVALID_ARGUMENT` error is returned.
64
+ - If the API call cannot be authenticated due to missing, invalid, or
65
+ expired credentials, a `401 UNAUTHENTICATED` error is returned.
66
+ - If the API call has a valid access token that does not have the
67
+ required scope, then a `403 PERMISSION_DENIED` error is returned.
68
+ - If the API call has an `applicationEndpointListId` that does not identify
69
+ any registered endpoint on the Edge Cloud, a `404 NOT_FOUND` error
70
+ is returned.
71
+
72
+ ### Additional CAMARA error responses
73
+
74
+ The list of error codes in this API specification is not exhaustive.
75
+ Therefore the API specification may not document some non-mandatory error
76
+ statuses as indicated in `CAMARA API Design Guide`.
77
+
78
+ Please refer to the `CAMARA_common.yaml` of the Commonalities Release
79
+ associated to this API version for a complete list of error responses.
80
+ The applicable Commonalities Release can be identified in the `API
81
+ Readiness Checklist` document associated to this API version.
82
+
83
+ As a specific rule, error `501 - NOT_IMPLEMENTED` can be only a possible
84
+ error response if it is explicitly documented in the API.
85
+
86
+ # Authorization and authentication
87
+
88
+ The "Camara Security and Interoperability Profile" provides details of how
89
+ an API consumer requests an access token. Please refer to
90
+ Identity and Consent Management
91
+ (https://github.com/camaraproject/IdentityAndConsentManagement/)
92
+ for the released version of the profile.
93
+
94
+ The specific authorization flows to be used will be agreed upon during the
95
+ onboarding process, happening between the API consumer and the
96
+ API provider, taking into account the declared purpose for accessing the
97
+ API, whilst also being subject to the prevailing legal framework dictated
98
+ by local legislation.
99
+
100
+ In cases where personal data is processed by the API and users can exercise
101
+ their rights through mechanisms such as opt-in and/or opt-out, the use of
102
+ three-legged access tokens is mandatory. This ensures that the API remains
103
+ in compliance with privacy regulations, upholding the principles of
104
+ transparency and user-centric privacy-by-design.
105
+
106
+ # Further info and support
107
+
108
+ [GSMA Mobile Connect Account Takeover Protection specification]
109
+ (https://www.gsma.com/identity/wp-content/uploads/2022/12/IDY.24-Mobile-
110
+ Connect-Account-Takeover-Protection-Definition-and-Technical-Requirements-
111
+ v2.0.pdf)
112
+ was used as source of input for this API. For more about Mobile Connect,
113
+ please see [Mobile Connect website](https://mobileconnect.io/).
114
+
115
+ (FAQs will be added in a later version of the documentation)
116
+
117
+ license:
118
+ name: Apache 2.0
119
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
120
+ externalDocs:
121
+ description: Project documentation at CAMARA
122
+ url: https://github.com/camaraproject/ApplicationEndpointRegistration
123
+
124
+ servers:
125
+ - url: "{apiRoot}/application-endpoint-registration/vwip"
126
+ variables:
127
+ apiRoot:
128
+ default: http://localhost:9091
129
+ description: |
130
+ API root, defined by service provider, e.g.
131
+ `api.example.com` or `api.example.com/somepath`
132
+
133
+ tags:
134
+ - name: Application Endpoint Registration
135
+ description: |
136
+ Operations to register, read and manage deployed instances of the
137
+ application.
138
+
139
+ paths:
140
+ /application-endpoint-lists:
141
+ post:
142
+ security:
143
+ - openId:
144
+ - application-endpoint-registration:application-endpoints:write
145
+ tags:
146
+ - Application Endpoint Registration
147
+ summary: Register endpoints of a deployed application
148
+ description: |
149
+ Register the endpoints of a deployed application
150
+ to a specified edge cloud zone.
151
+ operationId: registerApplicationEndpoints
152
+ parameters:
153
+ - $ref: "#/components/parameters/x-correlator"
154
+ requestBody:
155
+ description: Array of Application Endpoints for an
156
+ application deployed across various Edge Cloud Zones.
157
+ required: true
158
+ content:
159
+ application/json:
160
+ schema:
161
+ $ref: "#/components/schemas/ApplicationEndpointsInfo"
162
+ responses:
163
+ "200":
164
+ description: Returns an applicationEndpointListId
165
+ headers:
166
+ x-correlator:
167
+ $ref: '#/components/headers/x-correlator'
168
+ content:
169
+ application/json:
170
+ schema:
171
+ $ref: "#/components/schemas/ApplicationEndpointListId"
172
+ "400":
173
+ $ref: "#/components/responses/Generic400"
174
+ "401":
175
+ $ref: "#/components/responses/Generic401"
176
+ "403":
177
+ $ref: "#/components/responses/Generic403"
178
+ "404":
179
+ $ref: "#/components/responses/Generic404"
180
+ "422":
181
+ $ref: "#/components/responses/Generic422"
182
+ "429":
183
+ $ref: "#/components/responses/Generic429"
184
+ get:
185
+ security:
186
+ - openId:
187
+ - application-endpoint-registration:application-endpoints:read
188
+ tags:
189
+ - Application Endpoint Registration
190
+ summary: Get all registered edge application endpoint information
191
+ description: |
192
+ Returns endpoint information for all
193
+ registered Applications.
194
+ operationId: getAllRegisteredApplicationEndpoints
195
+ parameters:
196
+ - $ref: "#/components/parameters/x-correlator"
197
+ responses:
198
+ "200":
199
+ description: Array of registered Application Endpoints
200
+ headers:
201
+ x-correlator:
202
+ $ref: '#/components/headers/x-correlator'
203
+ content:
204
+ application/json:
205
+ schema:
206
+ type: array
207
+ items:
208
+ $ref: "#/components/schemas/ApplicationEndpointList"
209
+ "400":
210
+ $ref: "#/components/responses/Generic400"
211
+ "401":
212
+ $ref: "#/components/responses/Generic401"
213
+ "403":
214
+ $ref: "#/components/responses/Generic403"
215
+ "404":
216
+ $ref: "#/components/responses/Generic404"
217
+ "422":
218
+ $ref: "#/components/responses/Generic422"
219
+ "429":
220
+ $ref: "#/components/responses/Generic429"
221
+
222
+ "/application-endpoint-lists/{applicationEndpointListId}":
223
+ parameters:
224
+ - name: applicationEndpointListId
225
+ in: path
226
+ description: The unique identifier for the application endpoints
227
+ that got created when registering the application endpoints.
228
+ required: true
229
+ schema:
230
+ $ref: "#/components/schemas/ApplicationEndpointListId"
231
+ - $ref: "#/components/parameters/x-correlator"
232
+ get:
233
+ security:
234
+ - openId:
235
+ - application-endpoint-registration:application-endpoints:read
236
+ tags:
237
+ - Application Endpoint Registration
238
+ summary: Get registered edge application endpoint information
239
+ description: |
240
+ Returns endpoint information of the application based on
241
+ applicationEndpointListId.
242
+ operationId: getApplicationEndpointsById
243
+ responses:
244
+ "200":
245
+ description: Application Endpoint information based on
246
+ given ApplicationEndpointListID
247
+ headers:
248
+ x-correlator:
249
+ $ref: '#/components/headers/x-correlator'
250
+ content:
251
+ application/json:
252
+ schema:
253
+ $ref: "#/components/schemas/ApplicationEndpointList"
254
+ "400":
255
+ $ref: "#/components/responses/Generic400"
256
+ "401":
257
+ $ref: "#/components/responses/Generic401"
258
+ "403":
259
+ $ref: "#/components/responses/Generic403"
260
+ "404":
261
+ $ref: "#/components/responses/Generic404"
262
+ "422":
263
+ $ref: "#/components/responses/Generic422"
264
+ "429":
265
+ $ref: "#/components/responses/Generic429"
266
+
267
+ put:
268
+ security:
269
+ - openId:
270
+ - application-endpoint-registration:application-endpoints:update
271
+ tags:
272
+ - Application Endpoint Registration
273
+ summary: Update an application Endpoint
274
+ description: |
275
+ Update registered application Endpoint information.
276
+ operationId: updateApplicationEndpoint
277
+ requestBody:
278
+ description: Application Endpoint information
279
+ required: true
280
+ content:
281
+ application/json:
282
+ schema:
283
+ $ref: "#/components/schemas/ApplicationEndpointsInfo"
284
+ responses:
285
+ "204":
286
+ description: Updates Application Endpoint Information
287
+ headers:
288
+ x-correlator:
289
+ $ref: '#/components/headers/x-correlator'
290
+ "400":
291
+ $ref: "#/components/responses/Generic400"
292
+ "401":
293
+ $ref: "#/components/responses/Generic401"
294
+ "403":
295
+ $ref: "#/components/responses/Generic403"
296
+ "404":
297
+ $ref: "#/components/responses/Generic404"
298
+ "422":
299
+ $ref: "#/components/responses/Generic422"
300
+ "429":
301
+ $ref: "#/components/responses/Generic429"
302
+
303
+ delete:
304
+ security:
305
+ - openId:
306
+ - application-endpoint-registration:application-endpoints:delete
307
+ tags:
308
+ - Application Endpoint Registration
309
+ summary: Deregister an application Endpoint
310
+ description: |
311
+ Deregister an application's
312
+ Endpoint from the edge cloud zone.
313
+ operationId: deregisterApplicationEndpoint
314
+ responses:
315
+ "204":
316
+ description: Deregister Application Endpoint
317
+ headers:
318
+ x-correlator:
319
+ $ref: '#/components/headers/x-correlator'
320
+ "400":
321
+ $ref: "#/components/responses/Generic400"
322
+ "401":
323
+ $ref: "#/components/responses/Generic401"
324
+ "403":
325
+ $ref: "#/components/responses/Generic403"
326
+ "404":
327
+ $ref: "#/components/responses/Generic404"
328
+ "422":
329
+ $ref: "#/components/responses/Generic422"
330
+ "429":
331
+ $ref: "#/components/responses/Generic429"
332
+
333
+ components:
334
+ securitySchemes:
335
+ openId:
336
+ type: openIdConnect
337
+ description: Common security scheme for all CAMARA APIs
338
+ openIdConnectUrl: https://example.com/.well-known/openid-configuration
339
+ headers:
340
+ x-correlator:
341
+ description: Correlation id for the different services
342
+ schema:
343
+ $ref: "#/components/schemas/XCorrelator"
344
+ parameters:
345
+ x-correlator:
346
+ name: x-correlator
347
+ in: header
348
+ description: Correlation id for the different services
349
+ schema:
350
+ $ref: "#/components/schemas/XCorrelator"
351
+ schemas:
352
+ XCorrelator:
353
+ type: string
354
+ pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$
355
+ example: "b4333c46-49c0-4f62-80d7-f0ef930f1c46"
356
+
357
+ ApplicationEndpointsInfo:
358
+ description: Endpoint information of the Application
359
+ deployed across different Edge Cloud Zones.
360
+ type: object
361
+ properties:
362
+ applicationEndpoints:
363
+ type: array
364
+ description: List of endpoints of the application deployed across
365
+ various Edge Cloud Zones
366
+ items:
367
+ $ref: "#/components/schemas/ApplicationEndpoint"
368
+ applicationProviderName:
369
+ type: string
370
+ description: Name of the Application Provider
371
+ example: "AppProvider"
372
+ applicationDescription:
373
+ type: string
374
+ description: Description of the application.
375
+ example: "This is a V2X application."
376
+ applicationProfileId:
377
+ $ref: "#/components/schemas/ApplicationProfileId"
378
+ required:
379
+ - applicationEndpoints
380
+ - applicationProviderName
381
+ - applicationProfileId
382
+ example:
383
+ applicationEndpoints:
384
+ - domainName: "app.example.com"
385
+ port: 8080
386
+ applicationEndpointDescription: "V2X app deployed at ZoneA"
387
+ edgeCloudZone:
388
+ edgeCloudZoneId: "123e4567-e89b-12d3-a456-426614174000"
389
+ edgeCloudZoneName: "ZoneA"
390
+ edgeCloudProvider: "ProviderA"
391
+ edgeCloudRegion: "us-west-1"
392
+ edgeCloudZoneStatus: "active"
393
+ applicationProviderName: "AppProvider"
394
+ applicationDescription: "This is a V2X application."
395
+ applicationProfileId: "123e4567-e89b-12d3-a456-426614174000"
396
+
397
+ ApplicationEndpointList:
398
+ type: object
399
+ description: |
400
+ List of Application endpoints information
401
+ deployed across various cloud zones.
402
+ required:
403
+ - applicationEndpointListId
404
+ - applicationEndpointsInfo
405
+ properties:
406
+ applicationEndpointListId:
407
+ $ref: "#/components/schemas/ApplicationEndpointListId"
408
+ applicationEndpointsInfo:
409
+ $ref: "#/components/schemas/ApplicationEndpointsInfo"
410
+
411
+ ApplicationEndpoint:
412
+ type: object
413
+ description: |
414
+ An application server IP address or FQDN with a port,
415
+ exposed by an application instance deployed on the Edge Cloud
416
+ Zone.
417
+ required:
418
+ - port
419
+ anyOf:
420
+ - required: [domainName]
421
+ - required: [ipv4Address]
422
+ - required: [ipv6Address]
423
+ properties:
424
+ domainName:
425
+ $ref: "#/components/schemas/DomainName"
426
+ ipv4Address:
427
+ $ref: "#/components/schemas/SingleIpv4Addr"
428
+ ipv6Address:
429
+ $ref: "#/components/schemas/SingleIpv6Addr"
430
+ port:
431
+ $ref: "#/components/schemas/Port"
432
+ edgeCloudZone:
433
+ $ref: "#/components/schemas/EdgeCloudZone"
434
+ applicationEndpointDescription:
435
+ type: string
436
+ description: Description of the application endpoint
437
+ example: "V2X app deployed at ZoneA"
438
+
439
+ EdgeCloudZone:
440
+ type: object
441
+ description: |
442
+ An Edge Cloud Zone, uniquely identified by a
443
+ combination of the value of the Edge Cloud Zone Id object
444
+ and the value of the Edge Cloud Provider
445
+ object. This value is used to identify an Edge Cloud zone
446
+ between Edge Clouds from different Edge Cloud Providers.
447
+ required:
448
+ - edgeCloudZoneId
449
+ - edgeCloudZoneName
450
+ - edgeCloudProvider
451
+ properties:
452
+ edgeCloudZoneId:
453
+ $ref: "#/components/schemas/EdgeCloudZoneId"
454
+ edgeCloudZoneName:
455
+ $ref: "#/components/schemas/EdgeCloudZoneName"
456
+ edgeCloudZoneStatus:
457
+ $ref: "#/components/schemas/EdgeCloudZoneStatus"
458
+ edgeCloudProvider:
459
+ $ref: "#/components/schemas/EdgeCloudProvider"
460
+ edgeCloudRegion:
461
+ $ref: "#/components/schemas/EdgeCloudRegion"
462
+
463
+ EdgeCloudZoneId:
464
+ description: A unique identifier for the Edge Cloud Zone.
465
+ type: string
466
+ format: uuid
467
+ example: "123e4567-e89b-12d3-a456-426614174000"
468
+
469
+ EdgeCloudRegion:
470
+ description: |
471
+ The EdgeCloudProvider's name for the region where the Edge Cloud
472
+ Zone is located.
473
+ type: string
474
+ pattern: ^[A-Za-z0-9]([A-Za-z0-9-]{0,53}[A-Za-z0-9])?$
475
+ example: "us-west-1"
476
+
477
+ EdgeCloudZoneStatus:
478
+ description: Status of the Edge Cloud Zone (default is 'unknown')
479
+ type: string
480
+ enum:
481
+ - active
482
+ - inactive
483
+ - unknown
484
+ default: unknown
485
+
486
+ EdgeCloudProvider:
487
+ description: The provider of the Edge Cloud.
488
+ type: string
489
+ pattern: ^[A-Za-z0-9]([A-Za-z0-9-]{0,53}[A-Za-z0-9])?$
490
+ example: "ProviderA"
491
+
492
+ EdgeCloudZoneName:
493
+ description: The name of the Edge Cloud Zone.
494
+ type: string
495
+ pattern: ^[A-Za-z0-9]([A-Za-z0-9-]{0,53}[A-Za-z0-9])?$
496
+ example: "ZoneA"
497
+
498
+ ApplicationEndpointListId:
499
+ description: |
500
+ A system-defined string identifier representing
501
+ one or more registered Application Endpoints. This ID is generated
502
+ by the system upon successful registration of an application and is
503
+ used to reference the registered endpoints in subsequent operations.
504
+ type: string
505
+ format: uuid
506
+ readOnly: true
507
+ additionalProperties: false
508
+ example: "98765432-e89b-12d3-a456-426614174999"
509
+
510
+ ApplicationProfileId:
511
+ description: |
512
+ A unique identifier for the application profile. This represents
513
+ the application's network and compute characteristics.
514
+ type: string
515
+ format: uuid
516
+ example: "123e4567-e89b-12d3-a456-426614174000"
517
+
518
+ DomainName:
519
+ type: string
520
+ description: |
521
+ Application's Domain Name, which is a Fully Qualified Domain Name (FQDN).
522
+ pattern: ^[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)+$
523
+ maxLength: 253
524
+ minLength: 4
525
+ example: "app.example.com"
526
+
527
+ SingleIpv4Addr:
528
+ description: A single IPv4 address with no subnet mask
529
+ type: string
530
+ format: ipv4
531
+ example: "84.125.93.10"
532
+
533
+ SingleIpv6Addr:
534
+ description: |
535
+ Single IPv6 address with no subnet mask
536
+ type: string
537
+ format: ipv6
538
+ example: 2001:db8:85a3:8d3:1319:8a2e:370:7344
539
+
540
+ Port:
541
+ description: |
542
+ TCP or UDP port number for the application endpoint.
543
+ Valid range is 0-65535.
544
+ type: integer
545
+ minimum: 0
546
+ maximum: 65535
547
+ example: 8080
548
+
549
+ ErrorInfo:
550
+ description: Common schema for errors
551
+ type: object
552
+ required:
553
+ - status
554
+ - code
555
+ - message
556
+ properties:
557
+ status:
558
+ type: integer
559
+ description: HTTP status code returned along with this error response
560
+ code:
561
+ type: string
562
+ description: Code given to this error
563
+ message:
564
+ type: string
565
+ description: Detailed error description
566
+ responses:
567
+ Generic400:
568
+ description: Bad Request
569
+ headers:
570
+ x-correlator:
571
+ $ref: "#/components/headers/x-correlator"
572
+ content:
573
+ application/json:
574
+ schema:
575
+ allOf:
576
+ - $ref: "#/components/schemas/ErrorInfo"
577
+ - type: object
578
+ properties:
579
+ status:
580
+ enum:
581
+ - 400
582
+ code:
583
+ enum:
584
+ - INVALID_ARGUMENT
585
+ - OUT_OF_RANGE
586
+ examples:
587
+ GENERIC_400_INVALID_ARGUMENT:
588
+ description: Invalid Argument. Generic Syntax Exception
589
+ value:
590
+ status: 400
591
+ code: INVALID_ARGUMENT
592
+ message: Client specified an invalid argument,
593
+ request body or query param.
594
+ GENERIC_400_OUT_OF_RANGE:
595
+ description: Out of Range. Specific Syntax Exception used when a
596
+ given field has a pre-defined range or a invalid filter
597
+ criteria combination is requested
598
+ value:
599
+ status: 400
600
+ code: OUT_OF_RANGE
601
+ message: Client specified an invalid range.
602
+
603
+ Generic401:
604
+ description: Unauthorized
605
+ headers:
606
+ x-correlator:
607
+ $ref: "#/components/headers/x-correlator"
608
+ content:
609
+ application/json:
610
+ schema:
611
+ allOf:
612
+ - $ref: "#/components/schemas/ErrorInfo"
613
+ - type: object
614
+ properties:
615
+ status:
616
+ enum:
617
+ - 401
618
+ code:
619
+ enum:
620
+ - UNAUTHENTICATED
621
+ examples:
622
+ GENERIC_401_UNAUTHENTICATED:
623
+ description: Request cannot be authenticated and a new
624
+ authentication is required
625
+ value:
626
+ status: 401
627
+ code: UNAUTHENTICATED
628
+ message: Request not authenticated due to missing, invalid,
629
+ or expired credentials. A new authentication is required.
630
+
631
+ Generic403:
632
+ description: Forbidden
633
+ headers:
634
+ x-correlator:
635
+ $ref: "#/components/headers/x-correlator"
636
+ content:
637
+ application/json:
638
+ schema:
639
+ allOf:
640
+ - $ref: "#/components/schemas/ErrorInfo"
641
+ - type: object
642
+ properties:
643
+ status:
644
+ enum:
645
+ - 403
646
+ code:
647
+ enum:
648
+ - PERMISSION_DENIED
649
+ - INVALID_TOKEN_CONTEXT
650
+ examples:
651
+ GENERIC_403_PERMISSION_DENIED:
652
+ description: Permission denied. OAuth2 token access does not have
653
+ the required scope or when the user fails operational security
654
+ value:
655
+ status: 403
656
+ code: PERMISSION_DENIED
657
+ message: Client does not have sufficient permissions
658
+ to perform this action.
659
+ GENERIC_403_INVALID_TOKEN_CONTEXT:
660
+ description: Reflect some inconsistency between information in
661
+ some field of the API and the related OAuth2 Token
662
+ value:
663
+ status: 403
664
+ code: INVALID_TOKEN_CONTEXT
665
+ message: "{{field}} is not consistent with access token."
666
+
667
+ Generic404:
668
+ description: Not found
669
+ headers:
670
+ x-correlator:
671
+ $ref: "#/components/headers/x-correlator"
672
+ content:
673
+ application/json:
674
+ schema:
675
+ allOf:
676
+ - $ref: "#/components/schemas/ErrorInfo"
677
+ - type: object
678
+ properties:
679
+ status:
680
+ enum:
681
+ - 404
682
+ code:
683
+ enum:
684
+ - NOT_FOUND
685
+ examples:
686
+ GENERIC_404_NOT_FOUND:
687
+ description: Resource is not found
688
+ value:
689
+ status: 404
690
+ code: NOT_FOUND
691
+ message: The specified resource is not found.
692
+
693
+ Generic422:
694
+ description: Unprocessable Content
695
+ headers:
696
+ x-correlator:
697
+ $ref: "#/components/headers/x-correlator"
698
+ content:
699
+ application/json:
700
+ schema:
701
+ allOf:
702
+ - $ref: "#/components/schemas/ErrorInfo"
703
+ - type: object
704
+ properties:
705
+ status:
706
+ enum:
707
+ - 422
708
+ code:
709
+ enum:
710
+ - SERVICE_NOT_APPLICABLE
711
+ - UNIDENTIFIABLE_APPLICATION_PROFILE
712
+ examples:
713
+ GENERIC_422_SERVICE_NOT_APPLICABLE:
714
+ description: Service not applicable for the provided identifier.
715
+ value:
716
+ status: 422
717
+ code: SERVICE_NOT_APPLICABLE
718
+ message: Service not supported for this applicationProfileId
719
+ UNIDENTIFIABLE_APPLICATION_PROFILE:
720
+ description: |
721
+ The Application Profile is not included in the request
722
+ and the profile information cannot be derived
723
+ from the 3-legged access token
724
+ value:
725
+ status: 422
726
+ code: UNIDENTIFIABLE_APPLICATION_PROFILE
727
+ message: The Application Profile cannot be identified
728
+
729
+ Generic429:
730
+ description: Too Many Requests
731
+ headers:
732
+ x-correlator:
733
+ $ref: "#/components/headers/x-correlator"
734
+ content:
735
+ application/json:
736
+ schema:
737
+ allOf:
738
+ - $ref: "#/components/schemas/ErrorInfo"
739
+ - type: object
740
+ properties:
741
+ status:
742
+ enum:
743
+ - 429
744
+ code:
745
+ enum:
746
+ - QUOTA_EXCEEDED
747
+ - TOO_MANY_REQUESTS
748
+ examples:
749
+ GENERIC_429_QUOTA_EXCEEDED:
750
+ description: Request is rejected due to exceeding a business
751
+ quota limit
752
+ value:
753
+ status: 429
754
+ code: QUOTA_EXCEEDED
755
+ message: Out of resource quota.
756
+ GENERIC_429_TOO_MANY_REQUESTS:
757
+ description: Access to the API has been temporarily blocked due to
758
+ rate or spike arrest limits being reached
759
+ value:
760
+ status: 429
761
+ code: TOO_MANY_REQUESTS
762
+ message: Rate limit reached.
763
+ ```
marked/ApplicationEndpointRegistration/documentation/API_documentation/Application-Endpoint-Registration-API-Readiness-Checklist/raw.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Application Endpoints Registration API Readiness minimum criteria checklist
2
+
3
+ Checklist for Application-Endpoint-Registration v0.1.0
4
+
5
+ | Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Reference information |
6
+ |----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|----|
7
+ | 1 | API definition | M | M | M | M | Y | [link](/code/API_definitions/application-endpoint-registration.yaml) |
8
+ | 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) |
9
+ | 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) |
10
+ | 4 | API versioning convention applied | M | M | M | M | Y | |
11
+ | 5 | API documentation | M | M | M | M | Y | inline in YAML |
12
+ | 6 | User stories | O | O | O | M | Y | [link](/documentation/API_documentation/application-endpoint-registration-User-Story.md) |
13
+ | 7 | Basic API test cases & documentation | O | M | M | M | Y | [link](/code/Test_definitions/application-endpoint-registration.feature) |
14
+ | 8 | Enhanced API test cases & documentation | O | O | O | M | N | |
15
+ | 9 | Test result statement | O | O | O | M | N | |
16
+ | 10 | API release numbering convention applied | M | M | M | M | Y | |
17
+ | 11 | Change log updated | M | M | M | M | Y | [link](/CHANGELOG.md) |
18
+ | 12 | Previous public release was certified | O | O | O | M | N | |
19
+ | 13 | API description (for marketing) | O | O | M | M | Y | [Wiki link](https://lf-camaraproject.atlassian.net/wiki/x/dAAsC) |
marked/ApplicationEndpointRegistration/documentation/API_documentation/README/raw.md ADDED
@@ -0,0 +1 @@
 
 
1
+ This README.MD can be deleted when the first file is added to this directory.
marked/ApplicationEndpointRegistration/documentation/API_documentation/application-endpoint-registration-User-Story/raw.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Application Endpoint Registration API User Story
2
+
3
+ | **Item** | **Details** |
4
+ | ---- | ------- |
5
+ | ***Summary*** | As an application developer who has deployed my application across multiple Edge Cloud Zones, I need a way to register and manage the endpoints of my application instances. The Application Endpoint Registration API allows me to register my application endpoints across different Edge Cloud Zones, update their information when necessary, retrieve endpoint details, and remove endpoints when they are decommissioned. This registration process enables the discovery of these endpoints through the Application Endpoint Discovery API, ensuring users can connect to the optimal instance of my application. |
6
+ | ***Roles, Actors and Scope*** | **Roles:** API Consumer:Developer<br> **Actors:** Application service providers, hyperscalers, application developers<br> **Scope:** <ul><li>Register application endpoints in various Edge Cloud Zones</li><li>Update existing application endpoint information</li><li>Retrieve application endpoint details</li><li>Delete application endpoints when no longer needed</li></ul> |
7
+ | ***Pre-conditions*** |The preconditions are listed below:<br><ol><li>The API Consumer:BusinessManager and API Consumer:Administrator have been onboarded to the API Exposure Platform.</li><li>The API Consumer:BusinessManager has successfully subscribed to the Application Endpoint Registration product from the product catalog.</li><li>The API Consumer:Administrator has onboarded the developer:User to the platform.</li><li>The API Consumer has deployed application instances across various Edge Cloud Zones and has the necessary information about each endpoint.</li><li>The means to get the access token are known to the API Consumer:User to ensure secure access of the API.</li></ol> |
8
+ | ***Activities/Steps*** | **Starts when:**<br>1. The API consumer application server makes requests to:<br> - Register a new application endpoint by providing endpoint details.<br> - Retrieve information about a specific registered endpoint.<br> - Update the details of an existing registered endpoint.<br> - Delete a registered endpoint that is no longer active.<br><br>**Ends when:**<br>1. The API endpoint successfully processes the registration, update, retrieval, or deletion request. |
9
+ | ***Post-conditions*** | 1. For registration: A new application endpoint is registered and available for discovery.<br>2. For update: The application endpoint information is updated with the latest details.<br>3. For retrieval: The current information about the application endpoint is provided.<br>4. For deletion: The application endpoint is removed from the registration system and will no longer be discoverable. |
10
+ | ***Exceptions*** | Several exceptions might occur <br>- Unauthorized: Not valid credentials (e.g. use of already expired access token).<br>- Invalid input: Not valid input data to register or update an endpoint (e.g. malformed URI).<br>- Conflict: An endpoint with the same identifier already exists during registration.<br>- Not Found: The requested endpoint doesn't exist during retrieval, update, or deletion operations. |
marked/ApplicationEndpointRegistration/documentation/SupportingDocuments/README/raw.md ADDED
@@ -0,0 +1 @@
 
 
1
+ This README.MD can be deleted when the first file is added to this directory.
marked/ApplicationProfiles/README/raw.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <a href="https://github.com/camaraproject/ApplicationProfiles/commits/" title="Last Commit"><img src="https://img.shields.io/github/last-commit/camaraproject/ApplicationProfiles?style=plastic"></a>
2
+ <a href="https://github.com/camaraproject/ApplicationProfiles/issues" title="Open Issues"><img src="https://img.shields.io/github/issues/camaraproject/ApplicationProfiles?style=plastic"></a>
3
+ <a href="https://github.com/camaraproject/ApplicationProfiles/pulls" title="Open Pull Requests"><img src="https://img.shields.io/github/issues-pr/camaraproject/ApplicationProfiles?style=plastic"></a>
4
+ <a href="https://github.com/camaraproject/ApplicationProfiles/graphs/contributors" title="Contributors"><img src="https://img.shields.io/github/contributors/camaraproject/ApplicationProfiles?style=plastic"></a>
5
+ <a href="https://github.com/camaraproject/ApplicationProfiles" title="Repo Size"><img src="https://img.shields.io/github/repo-size/camaraproject/ApplicationProfiles?style=plastic"></a>
6
+ <a href="https://github.com/camaraproject/ApplicationProfiles/blob/main/LICENSE" title="License"><img src="https://img.shields.io/badge/License-Apache%202.0-green.svg?style=plastic"></a>
7
+ <a href="https://github.com/camaraproject/ApplicationProfiles/releases/latest" title="Latest Release"><img src="https://img.shields.io/github/release/camaraproject/ApplicationProfiles?style=plastic"></a>
8
+ <a href="https://github.com/camaraproject/Governance/blob/main/ProjectStructureAndRoles.md" title="Sandbox API Repository"><img src="https://img.shields.io/badge/Sandbox%20API%20Repository-yellow?style=plastic"></a>
9
+
10
+ # ApplicationProfiles
11
+
12
+ Sandbox API Repository to describe, develop, document, and test the ApplicationProfiles Service API(s) within the context of [ConnectivityInsights](https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/14561833/ConnectivityInsights)
13
+
14
+ * API Repository [Wiki page](https://lf-camaraproject.atlassian.net/wiki/x/mgGaBQ)
15
+
16
+ ## Scope
17
+
18
+ * Service API(s) “ApplicationProfiles” (see APIBacklog.md)
19
+ * The API(s) provide(s) the API consumer with the ability to:
20
+ * Application profiles allows application developers to share all the information about their application which would be relevant for network CAMARA APIs related decision making.
21
+ * Describe, develop, document, and test the API(s)
22
+ * Started: October 2024 (within ConnectivityInsights, own repository since March 2025)
23
+ <!-- * Incubating stage since: §incubation date$ -->
24
+
25
+ <!-- CAMARA:RELEASE-INFO:START -->
26
+ <!-- The following section is automatically maintained by the CAMARA project-administration tooling: https://github.com/camaraproject/project-administration -->
27
+
28
+ ## Release Information
29
+
30
+ > [!NOTE]
31
+ > Please be aware that the project will have frequent updates to the main branch. There are no compatibility guarantees associated with code in any branch, including main, until a new release is created. For example, changes may be reverted before a release is created. **For best results, use the latest available release**.
32
+
33
+ * **NEW**: The latest public release is [r1.2](https://github.com/camaraproject/ApplicationProfiles/releases/tag/r1.2) (Fall25), with the following API versions:
34
+ * **application-profiles v0.5.0**
35
+ [[YAML]](https://github.com/camaraproject/ApplicationProfiles/blob/r1.2/code/API_definitions/application-profiles.yaml)
36
+ [[ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/ApplicationProfiles/r1.2/code/API_definitions/application-profiles.yaml&nocors)
37
+ [[Swagger]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/ApplicationProfiles/r1.2/code/API_definitions/application-profiles.yaml)
38
+ * The latest public release is always available here: https://github.com/camaraproject/ApplicationProfiles/releases/latest
39
+ * Other releases of this repository are available in https://github.com/camaraproject/ApplicationProfiles/releases
40
+ * For changes see [CHANGELOG.md](https://github.com/camaraproject/ApplicationProfiles/blob/main/CHANGELOG.md)
41
+
42
+ _The above section is automatically synchronized by CAMARA project-administration._
43
+ <!-- CAMARA:RELEASE-INFO:END -->
44
+
45
+ ## Contributing
46
+ * Meetings are held virtually together with ConnectivityInsights
47
+ * Schedule: Bi-weekly on Wednesday at 15:00 UTC
48
+ * [Registration / Join](https://zoom-lfx.platform.linuxfoundation.org/meeting/92345695827?password=35dff2b2-058d-44de-bd7e-67d08c9e9f9d)
49
+ * Minutes: Access [meeting minutes](https://lf-camaraproject.atlassian.net/wiki/x/vzve)
50
+ * Mailing List
51
+ <!-- Note: the $mailinglistname$ is either already existing (for API Repositories within a Sub Projects) or will be created by the CAMARA Admin Team. -->
52
+ * Subscribe / Unsubscribe to the mailing list <https://lists.camaraproject.org/g/sp-coi>.
53
+ * A message to the community of this Sub Project can be sent using <sp-coi@lists.camaraproject.org>.
marked/ApplicationProfiles/code/API_definitions/README/raw.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Here you can add your definition file(s). Delete this README.MD file after the first file is added.
marked/ApplicationProfiles/code/API_definitions/application-profiles/raw.md ADDED
@@ -0,0 +1,687 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # application-profiles
2
+
3
+ ```yaml
4
+ openapi: 3.0.3
5
+ info:
6
+ title: Connectivity Insights - Application Profiles
7
+ x-camara-commonalities: 0.6
8
+ version: wip
9
+ license:
10
+ name: Apache 2.0
11
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
12
+ description: |
13
+ Application profiles allow developers to specify all relevant information about their application for both network and compute resource
14
+ requirements,supporting CAMARA APIs and network decision making.
15
+
16
+ This API enables defining, reading, and managing application requirements,including:
17
+ - Network quality thresholds (latency, jitter, loss, throughput)
18
+ - Compute resource thresholds (CPU, GPU, memory, storage)
19
+
20
+ The information captured as part of application profiles can be used in different usecases for decision making. Please refer connectivity insights and session insights for more details as a reference to see how the information in application profiles is used for decision making.
21
+ The scope will expand as new requirements from CAMARA APIs emerge.
22
+
23
+ ## Errors
24
+
25
+ If the authentication token is not valid, a `401 UNAUTHENTICATED` error is
26
+ returned.
27
+
28
+ Any more general service failures will result in an error in the `5xx`range
29
+ with an explanation.
30
+ ### Additional CAMARA error responses
31
+
32
+ The list of error codes in this API specification is not exhaustive.
33
+ Therefore the API specification may not document some non-mandatory error
34
+ statuses as indicated in `CAMARA API Design Guide`.
35
+
36
+ Please refer to the `CAMARA_common.yaml` of the Commonalities Release
37
+ associated to this API version for a complete list of error responses.
38
+ The applicable Commonalities Release can be identified in the `API
39
+ Readiness Checklist` document associated to this API version.
40
+
41
+ As a specific rule, error `501 - NOT_IMPLEMENTED` can be only a possible
42
+ error response if it is explicitly documented in the API.
43
+
44
+ # Authorization and authentication
45
+
46
+ The "Camara Security and Interoperability Profile" provides details of how
47
+ an API consumer requests an access token. Please refer to Identity and
48
+ Consent Management
49
+ (https://github.com/camaraproject/IdentityAndConsentManagement/) for the
50
+ released version of the profile.
51
+
52
+ The specific authorization flows to be used will be agreed upon during the
53
+ onboarding process, happening between the API consumer and the API provider,
54
+ taking into account the declared purpose for accessing the API, whilst also
55
+ being subject to the prevailing legal framework dictated by local
56
+ legislation.
57
+
58
+ In cases where personal data is processed by the API and users can exercise
59
+ their rights through mechanisms such as opt-in and/or opt-out, the use of
60
+ three-legged access tokens is mandatory. This ensures that the API remains
61
+ in compliance with privacy regulations, upholding the principles of
62
+ transparency and user-centric privacy-by-design.
63
+
64
+ contact:
65
+ email: sp-edc@lists.camaraproject.org
66
+ externalDocs:
67
+ description: Project documentation at Camara
68
+ url: https://github.com/camaraproject/ApplicationProfiles
69
+ servers:
70
+ - url: "{apiRoot}/application-profiles/vwip"
71
+ variables:
72
+ apiRoot:
73
+ default: https://localhost:9091
74
+ description: |
75
+ API root, defined by service provider, e.g.
76
+ `api.example.com` or `api.example.com/somepath`
77
+
78
+ tags:
79
+ - name: Application Profiles
80
+ description: |
81
+ Operations to define, read and manage an application's thresholds
82
+ for network quality (latency, jitter, loss, throughput)
83
+
84
+ paths:
85
+ /application-profiles:
86
+ post:
87
+ security:
88
+ - openId:
89
+ - application-profiles:create
90
+ tags:
91
+ - Application Profiles
92
+ summary: Create an Application Profile
93
+ description: |
94
+ Define network monitoring intents for optimal end user application
95
+ experience.
96
+ operationId: createApplicationProfile
97
+ parameters:
98
+ - $ref: "#/components/parameters/x-correlator"
99
+ requestBody:
100
+ description: List of user-defined network quality thresholds
101
+ content:
102
+ application/json:
103
+ schema:
104
+ $ref: "#/components/schemas/ApplicationProfileRequest"
105
+ required: true
106
+ responses:
107
+ "201":
108
+ description: Created
109
+ headers:
110
+ x-correlator:
111
+ $ref: "#/components/headers/x-correlator"
112
+ content:
113
+ application/json:
114
+ schema:
115
+ $ref: "#/components/schemas/ApplicationProfile"
116
+ "400":
117
+ $ref: "#/components/responses/Generic400"
118
+ "401":
119
+ $ref: "#/components/responses/Generic401"
120
+ "403":
121
+ $ref: "#/components/responses/Generic403"
122
+ "429":
123
+ $ref: "#/components/responses/Generic429"
124
+
125
+ /application-profiles/{applicationProfileId}:
126
+ patch:
127
+ security:
128
+ - openId:
129
+ - application-profiles:update
130
+ tags:
131
+ - Application Profiles
132
+ summary: Update an Application Profile
133
+ description: |
134
+ Update the complete set of network quality thresholds for an
135
+ application with the new set of thresholds to ensure good
136
+ end user experience
137
+ operationId: updateApplicationProfile
138
+ parameters:
139
+ - name: applicationProfileId
140
+ in: path
141
+ description: Identifier for the Application Profile
142
+ required: true
143
+ style: simple
144
+ explode: false
145
+ schema:
146
+ type: string
147
+ format: uuid
148
+ - $ref: "#/components/parameters/x-correlator"
149
+ requestBody:
150
+ description: |
151
+ network monitoring intents for optimal end user application
152
+ experience.
153
+ content:
154
+ application/json:
155
+ schema:
156
+ $ref: "#/components/schemas/ApplicationProfile"
157
+ required: true
158
+ responses:
159
+ "200":
160
+ description: OK
161
+ content:
162
+ application/json:
163
+ schema:
164
+ $ref: "#/components/schemas/ApplicationProfile"
165
+ "400":
166
+ $ref: "#/components/responses/Generic400"
167
+ "401":
168
+ $ref: "#/components/responses/Generic401"
169
+ "403":
170
+ $ref: "#/components/responses/Generic403"
171
+ "404":
172
+ $ref: "#/components/responses/Generic404"
173
+ "429":
174
+ $ref: "#/components/responses/Generic429"
175
+
176
+ get:
177
+ security:
178
+ - openId:
179
+ - application-profiles:read
180
+ tags:
181
+ - Application Profiles
182
+ summary: Get an Application Profile
183
+ description: Read an Application Profile
184
+ operationId: readApplicationProfile
185
+ parameters:
186
+ - name: applicationProfileId
187
+ in: path
188
+ description: Identifier for the Application Profile
189
+ required: true
190
+ style: simple
191
+ explode: false
192
+ schema:
193
+ type: string
194
+ format: uuid
195
+ - $ref: "#/components/parameters/x-correlator"
196
+ responses:
197
+ "200":
198
+ description: OK
199
+ content:
200
+ application/json:
201
+ schema:
202
+ $ref: "#/components/schemas/ApplicationProfile"
203
+ "400":
204
+ $ref: "#/components/responses/Generic400"
205
+ "401":
206
+ $ref: "#/components/responses/Generic401"
207
+ "403":
208
+ $ref: "#/components/responses/Generic403"
209
+ "404":
210
+ $ref: "#/components/responses/Generic404"
211
+ "429":
212
+ $ref: "#/components/responses/Generic429"
213
+
214
+ delete:
215
+ security:
216
+ - openId:
217
+ - application-profiles:delete
218
+ tags:
219
+ - Application Profiles
220
+ summary: Delete an Application Profile
221
+ description: Delete an application profile
222
+ operationId: deleteApplicationProfile
223
+ parameters:
224
+ - name: applicationProfileId
225
+ in: path
226
+ description: Identifier for the Application Profile
227
+ required: true
228
+ style: simple
229
+ explode: false
230
+ schema:
231
+ type: string
232
+ format: uuid
233
+ - $ref: "#/components/parameters/x-correlator"
234
+ responses:
235
+ "204":
236
+ description: Application profile has been deleted successfully.
237
+ "400":
238
+ $ref: "#/components/responses/Generic400"
239
+ "401":
240
+ $ref: "#/components/responses/Generic401"
241
+ "403":
242
+ $ref: "#/components/responses/Generic403"
243
+ "404":
244
+ $ref: "#/components/responses/Generic404"
245
+ "429":
246
+ $ref: "#/components/responses/Generic429"
247
+
248
+ components:
249
+ securitySchemes:
250
+ openId:
251
+ type: openIdConnect
252
+ description: Common security scheme for all CAMARA APIs
253
+ openIdConnectUrl: https://example.com/.well-known/openid-configuration
254
+ headers:
255
+ x-correlator:
256
+ description: Correlation id for the different services
257
+ schema:
258
+ $ref: "#/components/schemas/XCorrelator"
259
+ parameters:
260
+ x-correlator:
261
+ name: x-correlator
262
+ in: header
263
+ description: Correlation id for the different services
264
+ schema:
265
+ $ref: "#/components/schemas/XCorrelator"
266
+ schemas:
267
+ XCorrelator:
268
+ type: string
269
+ pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$
270
+ example: "b4333c46-49c0-4f62-80d7-f0ef930f1c46"
271
+ Duration:
272
+ type: object
273
+ properties:
274
+ value:
275
+ type: integer
276
+ example: 12
277
+ format: int32
278
+ minimum: 1
279
+ unit:
280
+ allOf:
281
+ - $ref: "#/components/schemas/TimeUnitEnum"
282
+ - example: Minutes
283
+
284
+ TimeUnitEnum:
285
+ type: string
286
+ enum:
287
+ - Days
288
+ - Hours
289
+ - Minutes
290
+ - Seconds
291
+ - Milliseconds
292
+ - Microseconds
293
+ - Nanoseconds
294
+
295
+ Rate:
296
+ type: object
297
+ properties:
298
+ value:
299
+ type: integer
300
+ example: 10
301
+ format: int32
302
+ minimum: 0
303
+ maximum: 1024
304
+ unit:
305
+ $ref: "#/components/schemas/RateUnitEnum"
306
+
307
+ RateUnitEnum:
308
+ type: string
309
+ enum:
310
+ - Bps
311
+ - Kbps
312
+ - Mbps
313
+ - Gbps
314
+ - Tbps
315
+
316
+ Compute:
317
+ type: object
318
+ properties:
319
+ value:
320
+ type: integer
321
+ example: 10
322
+ format: int32
323
+ minimum: 0
324
+ maximum: 1024
325
+ unit:
326
+ $ref: "#/components/schemas/ComputeUnitEnum"
327
+
328
+ ComputeUnitEnum:
329
+ type: string
330
+ enum:
331
+ - Kb
332
+ - Mb
333
+ - Gb
334
+ - Tb
335
+
336
+ PacketDelayBudget:
337
+ description: |
338
+ The packet delay budget is the maximum allowable one-way latency
339
+ between the customer's device and the gateway from the operator's
340
+ network to other networks. By limiting the delay, the network
341
+ can provide an acceptable level of performance for various services,
342
+ such as voice calls, video streaming, and data. The end-to-end or
343
+ round trip latency will be about two times this value plus the latency
344
+ not controlled by the operator
345
+ allOf:
346
+ - $ref: "#/components/schemas/Duration"
347
+
348
+ PacketErrorLossRate:
349
+ type: integer
350
+ description:
351
+ The exponential power of the allowable error loss rate 10^(-N).
352
+ For instance 3 would be an error loss rate of 10 to the power of -3
353
+ (0.001)
354
+
355
+ For 5G network the 3GPP specification TS 23.203 defines the packet
356
+ error loss rate QCI attribute. It describes the Quality of Service
357
+ (QoS) Class Identifier (QCI) parameters used to differentiate traffic
358
+ classes in mobile networks, ensuring appropriate resource
359
+ allocation and performance for various services.
360
+
361
+ The packet error loss rate is one of the QCI attributes, providing
362
+ information on the acceptable packet loss rate for a specific traffic
363
+ class. This attribute helps maintain the desired performance level for
364
+ services like voice calls, video streaming, or data transfers within
365
+ the 3GPP mobile network.
366
+ format: int32
367
+ minimum: 1
368
+ maximum: 10
369
+ example: 3
370
+
371
+ Jitter:
372
+ description:
373
+ The jitter requirement aims to limit the maximum variation in
374
+ round-trip packet delay for the 99th percentile of traffic, following
375
+ ITU Y.1540 standards. It considers only acknowledged packets in a
376
+ session, which are packets that receive a confirmation of receipt from
377
+ the recipient (e.g., using TCP). This requirement helps maintain
378
+ consistent latency, essential for real-time applications such as VoIP,
379
+ video calls, and gaming.
380
+ allOf:
381
+ - $ref: "#/components/schemas/Duration"
382
+
383
+ TargetMinDownstreamRate:
384
+ description: |
385
+ This is the target minimum downstream rate.
386
+ allOf:
387
+ - $ref: "#/components/schemas/Rate"
388
+
389
+ TargetMinUpstreamRate:
390
+ description: |
391
+ This is the target minimum upstream rate.
392
+ allOf:
393
+ - $ref: "#/components/schemas/Rate"
394
+
395
+ targetMinCPU:
396
+ type: number
397
+ description:
398
+ Number of vCPUs required for the application. Fractional values are allowed (e.g., 0.5 = half a vCPU). The value represents the minimum amount of CPU resources to be allocated to the application instance.
399
+ example: 0.5
400
+
401
+ targetMinGPU:
402
+ description: |
403
+ This is the target minimun GPUs required by the application
404
+ format: integer
405
+ example: 1
406
+
407
+ gpuVendorType:
408
+ type: string
409
+ enum:
410
+ - Nvidia
411
+ - AMD
412
+ description: GPU vendor name e.g. NVIDIA, AMD etc.
413
+ example: Nvidia
414
+
415
+ gpuModelName:
416
+ type: string
417
+ description: Model name corresponding to vendorType may include info e.g. for NVIDIA, model name could be “Tesla M60”, “Tesla V100” etc.
418
+
419
+ targetMinMemory:
420
+ description: |
421
+ This is the target minimum memory required by the application
422
+ allOf:
423
+ - $ref: "#/components/schemas/Compute"
424
+
425
+ targetMinEphemeralStorage:
426
+ description: |
427
+ This is the target minimum ephemeral storage required by the application
428
+ allOf:
429
+ - $ref: "#/components/schemas/Compute"
430
+
431
+ targetMinPersistentStorage:
432
+ description: |
433
+ This is the target minimum persistent storage required by the
434
+ application
435
+ allOf:
436
+ - $ref: "#/components/schemas/Compute"
437
+
438
+ ApplicationProfile:
439
+ type: object
440
+ required:
441
+ - applicationProfileId
442
+ properties:
443
+ applicationProfileId:
444
+ type: string
445
+ format: uuid
446
+ networkQualityThresholds:
447
+ $ref: "#/components/schemas/NetworkQualityThresholds"
448
+ computeResources:
449
+ $ref: "#/components/schemas/ComputeResourcesThresholds"
450
+ anyOf:
451
+ - required: [networkQualityThresholds]
452
+ - required: [computeResources]
453
+
454
+ ApplicationProfileRequest:
455
+ type: object
456
+ anyOf:
457
+ - required: [networkQualityThresholds]
458
+ - required: [computeResources]
459
+ properties:
460
+ networkQualityThresholds:
461
+ $ref: "#/components/schemas/NetworkQualityThresholds"
462
+ computeResources:
463
+ $ref: "#/components/schemas/ComputeResourcesThresholds"
464
+
465
+ NetworkQualityThresholds:
466
+ type: object
467
+ properties:
468
+ packetDelayBudget:
469
+ $ref: "#/components/schemas/PacketDelayBudget"
470
+ targetMinDownstreamRate:
471
+ $ref: "#/components/schemas/TargetMinDownstreamRate"
472
+ targetMinUpstreamRate:
473
+ $ref: "#/components/schemas/TargetMinUpstreamRate"
474
+ packetLossErrorRate:
475
+ $ref: "#/components/schemas/PacketErrorLossRate"
476
+ jitter:
477
+ $ref: "#/components/schemas/Jitter"
478
+ minProperties: 1
479
+
480
+ ComputeResourcesThresholds:
481
+ type: object
482
+ properties:
483
+ targetMinCPU:
484
+ $ref: "#/components/schemas/targetMinCPU"
485
+ targetMinMemory:
486
+ $ref: "#/components/schemas/targetMinMemory"
487
+ gpuVendorType:
488
+ $ref: "#/components/schemas/gpuVendorType"
489
+ gpuModelName:
490
+ $ref: "#/components/schemas/gpuModelName"
491
+ targetMinGPU:
492
+ $ref: "#/components/schemas/targetMinGPU"
493
+ targetMinGPUMemory:
494
+ $ref: "#/components/schemas/targetMinMemory"
495
+ targetMinEphemeralStorage:
496
+ $ref: "#/components/schemas/targetMinEphemeralStorage"
497
+ targetMinPersistentStorage:
498
+ $ref: "#/components/schemas/targetMinPersistentStorage"
499
+ description: Compute resources of a Application Profile
500
+ minProperties: 1
501
+
502
+ ErrorInfo:
503
+ type: object
504
+ required:
505
+ - status
506
+ - code
507
+ - message
508
+ properties:
509
+ status:
510
+ type: integer
511
+ description: HTTP response status code
512
+ code:
513
+ type: string
514
+ description: A human-readable code to describe the error
515
+ message:
516
+ type: string
517
+ description: A human-readable description of what the event represents
518
+
519
+ responses:
520
+ Generic400:
521
+ description: Bad Request
522
+ headers:
523
+ x-correlator:
524
+ $ref: "#/components/headers/x-correlator"
525
+ content:
526
+ application/json:
527
+ schema:
528
+ allOf:
529
+ - $ref: "#/components/schemas/ErrorInfo"
530
+ - type: object
531
+ properties:
532
+ status:
533
+ enum:
534
+ - 400
535
+ code:
536
+ enum:
537
+ - INVALID_ARGUMENT
538
+ - OUT_OF_RANGE
539
+ examples:
540
+ GENERIC_400_INVALID_ARGUMENT:
541
+ description: Invalid Argument. Generic Syntax Exception
542
+ value:
543
+ status: 400
544
+ code: INVALID_ARGUMENT
545
+ message: Client specified an invalid argument, request body
546
+ or query param.
547
+ GENERIC_400_OUT_OF_RANGE:
548
+ description: Out of Range. Specific Syntax Exception used when
549
+ a given field has a pre-defined range or a invalid filter
550
+ criteria combination is requested
551
+ value:
552
+ status: 400
553
+ code: OUT_OF_RANGE
554
+ message: Client specified an invalid range.
555
+
556
+
557
+ Generic401:
558
+ description: Unauthorized
559
+ headers:
560
+ x-correlator:
561
+ $ref: "#/components/headers/x-correlator"
562
+ content:
563
+ application/json:
564
+ schema:
565
+ allOf:
566
+ - $ref: "#/components/schemas/ErrorInfo"
567
+ - type: object
568
+ properties:
569
+ status:
570
+ enum:
571
+ - 401
572
+ code:
573
+ enum:
574
+ - UNAUTHENTICATED
575
+ examples:
576
+ GENERIC_401_UNAUTHENTICATED:
577
+ description: Request cannot be authenticated and a new
578
+ authentication is required
579
+ value:
580
+ status: 401
581
+ code: UNAUTHENTICATED
582
+ message: Request not authenticated due to missing, invalid,
583
+ or expired credentials. A new authentication is required.
584
+
585
+ Generic403:
586
+ description: Forbidden
587
+ headers:
588
+ x-correlator:
589
+ $ref: "#/components/headers/x-correlator"
590
+ content:
591
+ application/json:
592
+ schema:
593
+ allOf:
594
+ - $ref: "#/components/schemas/ErrorInfo"
595
+ - type: object
596
+ properties:
597
+ status:
598
+ enum:
599
+ - 403
600
+ code:
601
+ enum:
602
+ - PERMISSION_DENIED
603
+ - INVALID_TOKEN_CONTEXT
604
+ examples:
605
+ GENERIC_403_PERMISSION_DENIED:
606
+ description: Permission denied. OAuth2 token access does not
607
+ have the required scope or when the user fails operational
608
+ security
609
+ value:
610
+ status: 403
611
+ code: PERMISSION_DENIED
612
+ message: Client does not have sufficient permissions to
613
+ perform this action.
614
+ GENERIC_403_INVALID_TOKEN_CONTEXT:
615
+ description: Reflect some inconsistency between information in
616
+ some field of the API and the related OAuth2 Token
617
+ value:
618
+ status: 403
619
+ code: INVALID_TOKEN_CONTEXT
620
+ message: "{{field}} is not consistent with access token."
621
+ Generic404:
622
+ description: Not found
623
+ headers:
624
+ x-correlator:
625
+ $ref: "#/components/headers/x-correlator"
626
+ content:
627
+ application/json:
628
+ schema:
629
+ allOf:
630
+ - $ref: "#/components/schemas/ErrorInfo"
631
+ - type: object
632
+ properties:
633
+ status:
634
+ enum:
635
+ - 404
636
+ code:
637
+ enum:
638
+ - NOT_FOUND
639
+ - IDENTIFIER_NOT_FOUND
640
+ examples:
641
+ GENERIC_404_NOT_FOUND:
642
+ description: Resource is not found
643
+ value:
644
+ status: 404
645
+ code: NOT_FOUND
646
+ message: The specified resource is not found.
647
+ GENERIC_404_IDENTIFIER_NOT_FOUND:
648
+ description: Some identifier cannot be matched to a device
649
+ value:
650
+ status: 404
651
+ code: IDENTIFIER_NOT_FOUND
652
+ message: Device identifier not found.
653
+ Generic429:
654
+ description: Too Many Requests
655
+ headers:
656
+ x-correlator:
657
+ $ref: "#/components/headers/x-correlator"
658
+ content:
659
+ application/json:
660
+ schema:
661
+ allOf:
662
+ - $ref: "#/components/schemas/ErrorInfo"
663
+ - type: object
664
+ properties:
665
+ status:
666
+ enum:
667
+ - 429
668
+ code:
669
+ enum:
670
+ - QUOTA_EXCEEDED
671
+ - TOO_MANY_REQUESTS
672
+ examples:
673
+ GENERIC_429_QUOTA_EXCEEDED:
674
+ description: Request is rejected due to exceeding a business
675
+ quota limit
676
+ value:
677
+ status: 429
678
+ code: QUOTA_EXCEEDED
679
+ message: Out of resource quota.
680
+ GENERIC_429_TOO_MANY_REQUESTS:
681
+ description: Access to the API has been temporarily blocked due
682
+ to rate or spike arrest limits being reached
683
+ value:
684
+ status: 429
685
+ code: TOO_MANY_REQUESTS
686
+ message: Rate limit reached.
687
+ ```
marked/ApplicationProfiles/documentation/API_documentation/README/raw.md ADDED
@@ -0,0 +1 @@
 
 
1
+ This README.MD can be deleted when the first file is added to this directory.
marked/ApplicationProfiles/documentation/API_documentation/application-profiles-API-Readiness-Checklist/raw.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # API Readiness Checklist
2
+
3
+ Checklist for application-profiles v0.5.0 in r1.2
4
+
5
+ | Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Reference information |
6
+ |----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|----|
7
+ | 1 | API definition | M | M | M | M | Y | [link](/code/API_definitions/application-profiles.yaml) |
8
+ | 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) |
9
+ | 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) |
10
+ | 4 | API versioning convention applied | M | M | M | M | Y | |
11
+ | 5 | API documentation | M | M | M | M | Y | inline in YAML |
12
+ | 6 | User stories | O | O | O | M | Y | [link](/documentation/API_documentation/application-profiles-User-Story.md) |
13
+ | 7 | Basic API test cases & documentation | O | M | M | M | Y | [link](/code/Test_definitions/application-profiles.feature) |
14
+ | 8 | Enhanced API test cases & documentation | O | O | O | M | N | |
15
+ | 9 | Test result statement | O | O | O | M | N | |
16
+ | 10 | API release numbering convention applied | M | M | M | M | Y | |
17
+ | 11 | Change log updated | M | M | M | M | Y | [link](/CHANGELOG.md) |
18
+ | 12 | Previous public release was certified | O | O | O | M | N | |
19
+ | 13 | API description (for marketing) | O | O | M | M | Y | [wiki link](https://lf-camaraproject.atlassian.net/wiki/x/iQFmBQ) |
20
+
21
+ To fill the checklist:
22
+ - in the line above the table, replace the api-name, api-version and the rx.y by their actual values for the current API version and release.
23
+ - in the Status column, put "Y" (yes) if the release asset is available or fulfilled in the current release, a "N" (no) or a "tbd". Example use of "tbd" is in case an alpha or release-candidate API version does not yet provide all mandatory assets for the release.
24
+ - in the Reference information column, provide the relative links (from the API repository home folder) to the release asset once available, the applicable release numbers (not versions) of Commonalities and ICM, and any other relevant links or information.
25
+ - For the point 12: The Reference information comment shall reference a note (e.g. "see (1)") under the checklist table to be added that states the certified company(s) as can be found on the following link: [GSMA Open Gateway Portal](https://open-gateway.gsma.com/).
26
+
27
+ Note: the checklists of a public API version and of its preceding release-candidate API version can be the same.
28
+
29
+ The documentation for the content of the checklist is here: see API Readiness Checklist section in the [API Release Process](https://lf-camaraproject.atlassian.net/wiki/x/jine).
marked/ApplicationProfiles/documentation/API_documentation/application-profiles-User-Story/raw.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Application profiles API User Story
2
+
3
+ | **Item** | **Details** |
4
+ | ---- | ------- |
5
+ | ***Summary*** | As an application developer, I need to share key details about my application that are relevant for network-related decisions across various CAMARA APIs. Specifically, I need to define, store, and manage my application's network quality thresholds (latency, jitter, packet loss, and throughput) that represent my application's networking demands. These thresholds will serve as a baseline for determining whether the network can provide adequate performance for my application's users |
6
+ | ***Roles, Actors and Scope*** | **Roles:** API Consumer:Developer<br> **Actors:** Application service providers, hyperscalers, application developers. Currently the API does not explicitly handle consent management (expects that the API consumer either owns the device subscriptions or has agreed to manage consent as a part of general Terms and Conditions) and hence end users are not included as Actors. As this changes, the actor list will be extended with end users. <br> **Scope:** <ul><li>Create and manage application profiles</li><li>Perform network quality check againt the application profile for specific user sessions</li><li>Create subscriptions to recieve notifications if the network is not able to meet the application's requirements </li></ul> |
7
+ | ***Pre-conditions*** |The preconditions are listed below:<br><ol><li>The API Consumer:BusinessManager and API Consumer:Administrator have been onboarded to the API Exposure Platform.</li><li>The API Consumer:BusinessManager has successfully subscribed to the Application Profiles product from the product catalog.</li><li>The API Consumer:Administrator has onboarded the developer:User to the platform.</li><li>The API Consumer either owns the device subscriptions or has agreed to the terms and conditions of the CSP for managing consent of subscription owners.</li><li>The means to get the access token are known to the API Consumer:User to ensure secure access of the API.|
8
+ | ***Activities/Steps*** | **Starts when:** <br>1. The API consumer makes a POST request to /application-profiles with network quality thresholds including packetDelayBudget, targetMinDownstreamRate, targetMinUpstreamRate, packetlossErrorRate, and jitter.<br><br>**Additional Operatios:** <br>2. The API consumer can make a GET request to /application-profiles/{applicationProfileId} to retrieve an existing profile.<br>3. The API consumer can make a PATCH request to /application-profiles/{applicationProfileId} to update network quality thresholds for an existing profile.<br>4. The API consumer can make a DELETE request to /application-profiles/{applicationProfileId} to remove a profile that is no longer needed.<br><br> **Ends when:** <br>The application profile is either successfully created, updated, retrieved, or deleted based on the API consumer's request. |
9
+ | ***Post-conditions*** | 1. For POST: A new application profile is created with a unique applicationProfileId and the specified network quality thresholds.<br>2. For GET: The details of the requested application profile are returned to the API consumer.<br>3. For PATCH: The application profile is updated with the new network quality thresholds.<br>4. For DELETE: The application profile is removed from the system.|
10
+ | ***Exceptions*** | Several exceptions might occur <br>- Bad Request: Invalid argument or out-of-range values for network quality thresholds.<br>- Unauthorized: Invalid, missing, or expired access token.<br>- Forbidden: Insufficient permissions or invalid token context.<br>- Not Found: Requested application profile does not exist.<br>- Too Many Requests: Rate limit or quota exceeded.|
marked/ApplicationProfiles/documentation/SupportingDocuments/README/raw.md ADDED
@@ -0,0 +1 @@
 
 
1
+ This README.MD can be deleted when the first file is added to this directory.
marked/BlockchainPublicAddress/README/raw.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <a href="https://github.com/camaraproject/BlockchainPublicAddresscommits/" title="Last Commit"><img src="https://img.shields.io/github/last-commit/camaraproject/BlockchainPublicAddress?style=plastic"></a>
2
+ <a href="https://github.com/camaraproject/BlockchainPublicAddress/issues" title="Open Issues"><img src="https://img.shields.io/github/issues/camaraproject/BlockchainPublicAddress?style=plastic"></a>
3
+ <a href="https://github.com/camaraproject/BlockchainPublicAddress/pulls" title="Open Pull Requests"><img src="https://img.shields.io/github/issues-pr/camaraproject/BlockchainPublicAddress?style=plastic"></a>
4
+ <a href="https://github.com/camaraproject/BlockchainPublicAddress/graphs/contributors" title="Contributors"><img src="https://img.shields.io/github/contributors/camaraproject/BlockchainPublicAddress?style=plastic"></a>
5
+ <a href="https://github.com/camaraproject/BlockchainPublicAddress" title="Repo Size"><img src="https://img.shields.io/github/repo-size/camaraproject/BlockchainPublicAddress?style=plastic"></a>
6
+ <a href="https://github.com/camaraproject/BlockchainPublicAddress/blob/main/LICENSE" title="License"><img src="https://img.shields.io/badge/License-Apache%202.0-green.svg?style=plastic"></a>
7
+ <a href="https://github.com/camaraproject/BlockchainPublicAddress/releases/latest" title="Latest Release"><img src="https://img.shields.io/github/release/camaraproject/BlockchainPublicAddress?style=plastic"></a>
8
+ <a href="https://github.com/camaraproject/Governance/blob/main/ProjectStructureAndRoles.md" title="Sandbox API Repository"><img src="https://img.shields.io/badge/Sandbox%20API%20Repository-yellow?style=plastic"></a>
9
+
10
+ # BlockchainPublicAddress
11
+
12
+ Sandbox API Repository to describe, develop, document, and test the BlockchainPublicAddress Service API(s). The repository does not yet belong to a CAMARA Sub Project.
13
+
14
+ * API Repository [wiki page](https://lf-camaraproject.atlassian.net/wiki/x/KDHe)
15
+
16
+ ## Scope
17
+ * Service APIs for “Blockchain Public Address” (see APIBacklog.md)
18
+ * It provides the API consumer with the ability to:
19
+ * Blockchain Public Address API:
20
+ * Manage a Blockchain Public Address associated to a phone number, i.e. to retrieve the blockchain public address(es) and to bind/unbind a Blockchain Public Address. The Blockchain Public Address is utilized as Decentralized Identifier (DID). With the proposed API, API providers offer API consumers the following capability: pairing phone number with Blockchain Public Address whenever this 3rd party wants to offer its customers a way to make transactions more easily based on the phone number instead of the Blockchain Public Address.
21
+ * Optional binding enforcement procedure, ensuring both `phoneNumber` and `blockchainPublicAddress` belongs to the same owner (i.e. person), within binding process by means of the checking of provided `nonce` and `signature` fields. To generate `nonce` below mentioned Blockchain Public Address Validation API has been designed, and `signature` generation is an off-chain process.
22
+ * Blockchain Public Address Validation API:
23
+ * Manage generation of a nonce (one-time challenge) to be used in binding enforcemnet procedure.
24
+ * Describe, develop, document and test the APIs (with 1-2 Telcos)
25
+ * Started: June 2023
26
+
27
+ <!-- CAMARA:RELEASE-INFO:START -->
28
+ <!-- The following section is automatically maintained by the CAMARA project-administration tooling: https://github.com/camaraproject/project-administration -->
29
+
30
+ ## Release Information
31
+
32
+ > [!NOTE]
33
+ > Please be aware that the project will have frequent updates to the main branch. There are no compatibility guarantees associated with code in any branch, including main, until a new release is created. For example, changes may be reverted before a release is created. **For best results, use the latest available release**.
34
+
35
+ * **NEW**: The latest public release is [r2.2](https://github.com/camaraproject/BlockchainPublicAddress/releases/tag/r2.2) (Fall25), with the following API versions:
36
+ * **blockchain-public-address-validation v0.1.0**
37
+ [[YAML]](https://github.com/camaraproject/BlockchainPublicAddress/blob/r2.2/code/API_definitions/blockchain-public-address-validation.yaml)
38
+ [[ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/BlockchainPublicAddress/r2.2/code/API_definitions/blockchain-public-address-validation.yaml&nocors)
39
+ [[Swagger]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/BlockchainPublicAddress/r2.2/code/API_definitions/blockchain-public-address-validation.yaml)
40
+ * **blockchain-public-address v0.3.0**
41
+ [[YAML]](https://github.com/camaraproject/BlockchainPublicAddress/blob/r2.2/code/API_definitions/blockchain-public-address.yaml)
42
+ [[ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/BlockchainPublicAddress/r2.2/code/API_definitions/blockchain-public-address.yaml&nocors)
43
+ [[Swagger]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/BlockchainPublicAddress/r2.2/code/API_definitions/blockchain-public-address.yaml)
44
+ * The latest public release is always available here: https://github.com/camaraproject/BlockchainPublicAddress/releases/latest
45
+ * Other releases of this repository are available in https://github.com/camaraproject/BlockchainPublicAddress/releases
46
+ * For changes see [CHANGELOG.md](https://github.com/camaraproject/BlockchainPublicAddress/blob/main/CHANGELOG.md)
47
+
48
+ _The above section is automatically synchronized by CAMARA project-administration._
49
+ <!-- CAMARA:RELEASE-INFO:END -->
50
+
51
+ ## Contributing
52
+ * Meetings
53
+ * [Registration/Join](https://zoom-lfx.platform.linuxfoundation.org/meeting/99023344259?password=cb995600-56ee-48a2-ade1-607bb10487df)
54
+ * Schedule: Bi-weekly on Thursdays, 13:00-14:00 CET/CEST (12:00 UTC, 11:00 UTC during European DST)
55
+ * Minutes: Access [meeting minutes](https://lf-camaraproject.atlassian.net/wiki/x/thDe).
56
+ * Mailing List
57
+ * Subscribe / Unsubscribe to the mailing list of this Sub Project <https://lists.camaraproject.org/g/sp-bpa>.
58
+ * A message to the community of this Sub Project can be sent using <sp-bpa@lists.camaraproject.org>.
marked/BlockchainPublicAddress/code/API_definitions/blockchain-public-address-validation/raw.md ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # blockchain-public-address-validation
2
+
3
+ ```yaml
4
+ openapi: 3.0.3
5
+ info:
6
+ title: Blockchain Public Address Validation
7
+ description: |-
8
+ This API allows the API consumer to generate a one-time nonce for Enhanced Binding validation for Blockchain Public Address associated with a mobile phone number.
9
+
10
+ # Relevant Definitions and concepts
11
+ - **Blockchain Public Address**: Unique string of code used by individuals that can be used to send, receive, and store digital assets (e.g. payments in cryptocurrencies, smart contracts, NFT (Non-Fungible Tokens), etc.) on a blockchain network
12
+ to receive or request payments in cryptocurrency.
13
+
14
+ # API Functionality
15
+ This API allows to generate a one-time nonce to allow for enhanced validation procedure for Blockchain Public Address binding associated with a mobile phone number, as per defined in `bindBlockchainPublicAddress` operation of CAMARA Blockchain Public Address API.
16
+
17
+ # Resources and Operations overview
18
+ This API provides one endpoint:
19
+ - **Endpoint to generate a one-time nonce associated to a specific Blockchain Public Address**. It does not matter if the mobile phone number is already bound to a Blockchain Public Address, as this operation adds a new Blockchain Public Address. This operation MUST be used with a 3-legged Access Token
20
+
21
+ # Authorization and authentication
22
+
23
+ The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
24
+
25
+ The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation.
26
+
27
+ In cases where personal 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 three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
28
+
29
+ # Additional CAMARA error responses
30
+
31
+ The list of error codes in this API specification is not exhaustive. Therefore the API specification may not document some non-mandatory error statuses as indicated in `CAMARA API Design Guide`.
32
+
33
+ Please refer to the `CAMARA_common.yaml` of the Commonalities Release associated to this API version for a complete list of error responses. The applicable Commonalities Release can be identified in the `API Readiness Checklist` document associated to this API version.
34
+
35
+ As a specific rule, error `501 - NOT_IMPLEMENTED` can be only a possible error response if it is explicitly documented in the API.
36
+
37
+ # Further Info and Support
38
+
39
+ (FAQs will be added in a later version of the documentation)
40
+ license:
41
+ name: Apache 2.0
42
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
43
+ version: wip
44
+ x-camara-commonalities: wip
45
+ externalDocs:
46
+ description: Product documentation at Camara
47
+ url: https://github.com/camaraproject/BlockchainPublicAddress
48
+ servers:
49
+ - url: "{apiRoot}/blockchain-public-address-validation/vwip"
50
+ variables:
51
+ apiRoot:
52
+ default: http://localhost:9091
53
+ description: API root, defined by the service provider
54
+ tags:
55
+ - name: Blockchain Public Address Validation Nonce
56
+ description: API operations to manage Blockchain Public Address Validation Nonce
57
+ paths:
58
+ /nonce:
59
+ post:
60
+ tags:
61
+ - Blockchain Public Address Validation Nonce
62
+ summary: Generates a one-time nonce associated to a specific Blockchain Public Address
63
+ description: Generates a one-time nonce (i.e. challenge) associated to a specific Blockchain Public Address to allow for enhanced validation as per defined in `bindBlockchainPublicAddress` operation of CAMARA Blockchain Public Address API.
64
+ operationId: createBlockchainPublicAddressValidationNonce
65
+ security:
66
+ - openId:
67
+ - blockchain-public-address-validation:create
68
+ parameters:
69
+ - $ref: "#/components/parameters/x-correlator"
70
+ requestBody:
71
+ content:
72
+ application/json:
73
+ schema:
74
+ $ref: "#/components/schemas/CreateBlockchainPublicAddressValidationNonce"
75
+ required: true
76
+ responses:
77
+ "201":
78
+ description: Created
79
+ headers:
80
+ x-correlator:
81
+ $ref: "#/components/headers/x-correlator"
82
+ content:
83
+ application/json:
84
+ schema:
85
+ $ref: "#/components/schemas/CreateBlockchainPublicAddressValidationNonceResponse"
86
+ examples:
87
+ CreateBlockchainPublicAddressValidationNonceResponse201Example:
88
+ value:
89
+ nonce: "abc626ce-5284-4a84-b85e-46e0ee3d0434"
90
+ "400":
91
+ $ref: "#/components/responses/Generic400"
92
+ "401":
93
+ $ref: "#/components/responses/Generic401"
94
+ "403":
95
+ $ref: "#/components/responses/Generic403"
96
+ "429":
97
+ $ref: "#/components/responses/Generic429"
98
+ components:
99
+ securitySchemes:
100
+ openId:
101
+ type: openIdConnect
102
+ openIdConnectUrl: https://example.com/.well-known/openid-configuration
103
+ headers:
104
+ x-correlator:
105
+ description: Correlation id for the different services
106
+ schema:
107
+ $ref: "#/components/schemas/XCorrelator"
108
+ parameters:
109
+ x-correlator:
110
+ name: x-correlator
111
+ in: header
112
+ description: Correlation id for the different services
113
+ schema:
114
+ $ref: "#/components/schemas/XCorrelator"
115
+ schemas:
116
+ XCorrelator:
117
+ type: string
118
+ pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$
119
+ example: "b4333c46-49c0-4f62-80d7-f0ef930f1c46"
120
+ CreateBlockchainPublicAddressValidationNonce:
121
+ type: object
122
+ description: Payload to request the nonce generation associated to a given Blockchain Public Address
123
+ required:
124
+ - blockchainPublicAddress
125
+ properties:
126
+ blockchainPublicAddress:
127
+ type: string
128
+ description: User's Blockchain Public Address use for the latter binding to a specific `phoneNumber`.
129
+ example:
130
+ blockchainPublicAddress: "0x71C7656EC7ab88b098dafB451B2314C5f6d8932A"
131
+ CreateBlockchainPublicAddressValidationNonceResponse:
132
+ type: object
133
+ description: Nonce generation associated to a given Blockchain Public Address response
134
+ required:
135
+ - nonce
136
+ properties:
137
+ nonce:
138
+ type: string
139
+ description: |-
140
+ One-time challenge generated associated to indicated `blockchainPublicAddress`.
141
+ ErrorInfo:
142
+ type: object
143
+ required:
144
+ - status
145
+ - code
146
+ - message
147
+ properties:
148
+ message:
149
+ type: string
150
+ description: A human-readable description of what the event represents
151
+ status:
152
+ type: integer
153
+ description: HTTP response status code
154
+ code:
155
+ type: string
156
+ description: A human-readable code to describe the error
157
+ responses:
158
+ Generic400:
159
+ description: Problem with the client request
160
+ headers:
161
+ x-correlator:
162
+ $ref: "#/components/headers/x-correlator"
163
+ content:
164
+ application/json:
165
+ schema:
166
+ allOf:
167
+ - $ref: "#/components/schemas/ErrorInfo"
168
+ - type: object
169
+ properties:
170
+ status:
171
+ enum:
172
+ - 400
173
+ code:
174
+ enum:
175
+ - INVALID_ARGUMENT
176
+ examples:
177
+ GENERIC_400_INVALID_ARGUMENT:
178
+ description: Invalid Argument. Generic Syntax Exception
179
+ value:
180
+ status: 400
181
+ code: INVALID_ARGUMENT
182
+ message: Client specified an invalid argument, request body or query param.
183
+ Generic401:
184
+ description: Unauthorized
185
+ headers:
186
+ x-correlator:
187
+ $ref: "#/components/headers/x-correlator"
188
+ content:
189
+ application/json:
190
+ schema:
191
+ allOf:
192
+ - $ref: "#/components/schemas/ErrorInfo"
193
+ - type: object
194
+ properties:
195
+ status:
196
+ enum:
197
+ - 401
198
+ code:
199
+ enum:
200
+ - UNAUTHENTICATED
201
+ examples:
202
+ GENERIC_401_UNAUTHENTICATED:
203
+ description: Request cannot be authenticated and a new authentication is required
204
+ value:
205
+ status: 401
206
+ code: UNAUTHENTICATED
207
+ message: Request not authenticated due to missing, invalid, or expired credentials. A new authentication is required.
208
+ Generic403:
209
+ description: Forbidden
210
+ headers:
211
+ x-correlator:
212
+ $ref: "#/components/headers/x-correlator"
213
+ content:
214
+ application/json:
215
+ schema:
216
+ allOf:
217
+ - $ref: "#/components/schemas/ErrorInfo"
218
+ - type: object
219
+ properties:
220
+ status:
221
+ enum:
222
+ - 403
223
+ code:
224
+ enum:
225
+ - PERMISSION_DENIED
226
+ examples:
227
+ GENERIC_403_PERMISSION_DENIED:
228
+ description: Permission denied. OAuth2 token access does not have the required scope or when the user fails operational security
229
+ value:
230
+ status: 403
231
+ code: PERMISSION_DENIED
232
+ message: Client does not have sufficient permissions to perform this action.
233
+ Generic429:
234
+ description: Too Many Requests
235
+ headers:
236
+ x-correlator:
237
+ $ref: "#/components/headers/x-correlator"
238
+ content:
239
+ application/json:
240
+ schema:
241
+ allOf:
242
+ - $ref: "#/components/schemas/ErrorInfo"
243
+ - type: object
244
+ properties:
245
+ status:
246
+ enum:
247
+ - 429
248
+ code:
249
+ enum:
250
+ - TOO_MANY_REQUESTS
251
+ examples:
252
+ GENERIC_429_TOO_MANY_REQUESTS:
253
+ description: Access to the API has been temporarily blocked due to rate or spike arrest limits being reached
254
+ value:
255
+ status: 429
256
+ code: TOO_MANY_REQUESTS
257
+ message: Rate limit reached.
258
+ ```
marked/BlockchainPublicAddress/code/API_definitions/blockchain-public-address/raw.md ADDED
@@ -0,0 +1,663 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # blockchain-public-address
2
+
3
+ ```yaml
4
+ openapi: 3.0.3
5
+ info:
6
+ title: Blockchain Public Address
7
+ description: |-
8
+ This API allows the API consumer to manage Blockchain Public Address associated with a mobile phone number.
9
+
10
+ # Relevant Definitions and concepts
11
+ - **Blockchain Public Address**: Unique string of code used by individuals that can be used to send, receive, and store digital assets (e.g. payments in cryptocurrencies, smart contracts, NFT (Non-Fungible Tokens), etc.) on a blockchain network
12
+ to receive or request payments in cryptocurrency.
13
+
14
+ # API Functionality
15
+ This API allows the API consumer to manage a Blockchain Public Address associated with a mobile phone number, i.e.: to retrieve the Blockchain Public Address(es) and to bind/unbind a Blockchain Public Address.
16
+
17
+ # Resources and Operations overview
18
+ This API provides three endpoints:
19
+ - **Endpoint to retrieve the Blockchain Public Address(es) associated with a mobile phone number sent as input**. The Blockchain Public Address is information made available by the user, in association to their mobile phone number. Then, this endpoint may be accessed in 2-legged or in 3-legged mode. Even in 3-legged mode, the mobile phone number included as input field does not need to belong to the `sub` (representing the User) for which the Access Token is issued. This will enable a user to ask for the Blockchain Public Address(es) of any mobile phone number, in order to perform a transaction with one of the available ones (send or request).
20
+ - **Endpoint to associate a mobile phone number with a Blockchain Public Address**. It does not matter if the mobile phone number is already bound to a Blockchain Public Address, as this operation adds a new Blockchain Public Address. This operation MUST be used with a 3-legged Access Token, and the indicated mobile phone number must belong to the `sub` (representing the User) in the Access Token; this is because only the user of the mobile phone number must be able to perform a bind. As a consequence, this operation will only work with mobile phone numbers of the Telco Operator exposing the API.
21
+ - **Endpoint to remove the association of a mobile phone number with a Blockchain Public Address**. This operation MUST be used with a 3-legged Access Token; this is because only the user of the mobile phone number must be able to perform an unbind. Note: Due to this, the API Server must validate that the `id` included in the request refers to a bind for a mobile phone number belonging to the `sub` (representing the User) in the Access Token. As a consequence, this operation will only work with mobile phone numbers of the Telco Operator exposing the API.
22
+
23
+ ## Enforcement of the Blockchain Public Address ownership in binding process
24
+
25
+ The enforcement of the Blockchain Public Address ownership in the binding process is optional, and it is not mandatory to use the `nonce` and `signature` fields. If the API consumer does not want to enforce this, it can simply omit these fields in the request body.
26
+
27
+ This enforcement is aimed to ensure that the Blockchain Public Address being bound to a mobile phone number is indeed owned by the user (i.e. person behind) of that mobile phone number.
28
+ The API consumer can request the user to sign a `nonce` off-chain, and then include the `nonce` and `signature` in the request body when binding the Blockchain Public Address. The API Server will then verify that the `signature` is valid for the given `nonce` and `blockchainPublicAddress`.
29
+
30
+ The E2E procedure is depicted in below picture:
31
+ ![Binding Enforcement - Off-Chain Signature](https://raw.githubusercontent.com/camaraproject/BlockchainPublicAddress/r2.2/documentation/API_documentation/resources/blockchain-public-address-binding-enforcement-off-chain-signature.png)
32
+
33
+ LEGEND:
34
+ - `API Server`, `Challenge Module` and `Binding Database` are functional components that represent the underlying Backend API Logic in the Telco Operator. How this CAMARA API is implemented by a Telco Operator is out of scope of this specification.
35
+
36
+ It comprises four steps:
37
+ - **(A) Obtain 3-Legged Access Token**: This is the regular process of obtaining a CAMARA 3-legged Access Token. CAMARA OIDC Authorization Code Flow is mentioned for illustrative purposes, other CAMARA 3-legged Access Token flows may be used. Check CAMARA Identity and Consent Management WG for details.
38
+ - **(B) Request a nonce from the API Server**: This is the feature provided by **_CAMARA Blockchain Public Address Validation Nonce API_**, allowing the API consumer to request a `nonce` associated to the `blockchainPublicAddress` to be signed by the user.
39
+ - **(C) Ask the user to sign the nonce off-chain**: The API consumer will use this `nonce` to ask the user to sign it off-chain. The user will sign the `nonce` using their private key. The API consumer will then obtain a `signature`, which is a cryptographic proof that the user owns the `blockchainPublicAddress`.
40
+ - **(D) Bind the Blockchain Public Address to the mobile phone number**: This step includes the `nonce` and `signature` in the request body. For signature validation, there are many options (e.g. https://ecrecover.org/, tools like `ethers.js` or `web3.js`); that is an implementation topic out of scope of this CAMARA API specification.
41
+
42
+ # Authorization and authentication
43
+
44
+ The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
45
+
46
+ The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation.
47
+
48
+ In cases where personal 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 three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
49
+
50
+ # Additional CAMARA error responses
51
+
52
+ The list of error codes in this API specification is not exhaustive. Therefore the API specification may not document some non-mandatory error statuses as indicated in `CAMARA API Design Guide`.
53
+
54
+ Please refer to the `CAMARA_common.yaml` of the Commonalities Release associated to this API version for a complete list of error responses. The applicable Commonalities Release can be identified in the `API Readiness Checklist` document associated to this API version.
55
+
56
+ As a specific rule, error `501 - NOT_IMPLEMENTED` can be only a possible error response if it is explicitly documented in the API.
57
+
58
+ # Further Info and Support
59
+
60
+ (FAQs will be added in a later version of the documentation)
61
+ license:
62
+ name: Apache 2.0
63
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
64
+ version: wip
65
+ x-camara-commonalities: wip
66
+ externalDocs:
67
+ description: Product documentation at Camara
68
+ url: https://github.com/camaraproject/BlockchainPublicAddress
69
+ servers:
70
+ - url: "{apiRoot}/blockchain-public-address/vwip"
71
+ variables:
72
+ apiRoot:
73
+ default: http://localhost:9091
74
+ description: API root, defined by the service provider
75
+ tags:
76
+ - name: Blockchain Public Address
77
+ description: API operations to manage Blockchain Public Addresses
78
+ paths:
79
+ /blockchain-public-addresses/retrieve-blockchains:
80
+ post:
81
+ tags:
82
+ - Blockchain Public Address
83
+ summary: Retrieves Blockchain Public Address associated with a mobile phone number.
84
+ description:
85
+ Retrieves Blockchain Public Address associated with a mobile phone number. This operation can be accessed in 3-legged and in 2-legged, notice that the mobile phone number used as input need not be related with the user or mobile phone number to which the Access
86
+ Token is associated; this is because the operation is intended to be used to manage Blockchain Public Address of any mobile phone number, in order to perform send or request crypto operations.
87
+ operationId: retrieveBlockchainPublicAddress
88
+ security:
89
+ - openId:
90
+ - blockchain-public-address:read
91
+ parameters:
92
+ - $ref: "#/components/parameters/x-correlator"
93
+ requestBody:
94
+ content:
95
+ application/json:
96
+ schema:
97
+ $ref: "#/components/schemas/PhoneNumber"
98
+ required: true
99
+ responses:
100
+ "200":
101
+ description: OK
102
+ headers:
103
+ x-correlator:
104
+ $ref: "#/components/headers/x-correlator"
105
+ content:
106
+ application/json:
107
+ schema:
108
+ type: array
109
+ description: Array of Blockchain Public Addresses bound to the mobile phone number
110
+ items:
111
+ $ref: "#/components/schemas/BlockchainPublicAddressResponse"
112
+ examples:
113
+ RetrieveBlockchainPublicAddressResponse200Example:
114
+ value:
115
+ - id: "90c626ce-5284-4a84-b85e-46e0ee3d0434"
116
+ blockchainPublicAddress: "0x71C7656EC7ab88b098dafB451B2314C5f6d8932A"
117
+ blockchainNetworkId: "evm:1"
118
+ currency:
119
+ - ETH
120
+ - id: "5c179f50-db37-4d23-87e3-6f10c991899f"
121
+ blockchainPublicAddress: "0x329CdCAAC31c934fe32322b111bE8fBd30b4FFA9"
122
+ blockchainNetworkId: "evm:137"
123
+ currency:
124
+ - WETH
125
+ "400":
126
+ $ref: "#/components/responses/Generic400"
127
+ "401":
128
+ $ref: "#/components/responses/Generic401"
129
+ "403":
130
+ $ref: "#/components/responses/Generic403"
131
+ "404":
132
+ $ref: "#/components/responses/Generic404"
133
+ "429":
134
+ $ref: "#/components/responses/Generic429"
135
+ /blockchain-public-addresses:
136
+ post:
137
+ tags:
138
+ - Blockchain Public Address
139
+ summary: Binds Blockchain Public Address to a mobile phone number
140
+ description:
141
+ Binds Blockchain Public Address to a mobile phone number. If the mobile phone number is already bound to a Blockchain Public Address, this operation will add a new bound Blockchain Public Address to the mobile phone number. This operation is intended to be used
142
+ with a 3-legged Access Token, and the indicated mobile phone number must belong to the user identified by its `sub` in the Access Token; this is because only the user of the mobile phone number must be able to perform the bind.
143
+
144
+ Specifically for this functionality, when a binding operation indicates a `blockchainNetworkId` not allowed by Telco Operator exception `403 - BLOCKCHAIN_PUBLIC_ADDRESS.BLOCKCHAIN_NETWORK_IDENTIFIER_NOT_ALLOWED` will be generated.
145
+ operationId: bindBlockchainPublicAddress
146
+ security:
147
+ - openId:
148
+ - blockchain-public-address:create
149
+ parameters:
150
+ - $ref: "#/components/parameters/x-correlator"
151
+ requestBody:
152
+ content:
153
+ application/json:
154
+ schema:
155
+ $ref: "#/components/schemas/BindBlockchainPublicAddressRequest"
156
+ required: true
157
+ responses:
158
+ "201":
159
+ description: Created
160
+ headers:
161
+ x-correlator:
162
+ $ref: "#/components/headers/x-correlator"
163
+ content:
164
+ application/json:
165
+ schema:
166
+ $ref: "#/components/schemas/BindBlockchainPublicAddressResponse"
167
+ examples:
168
+ BindBlockchainPublicAddressResponse201Example:
169
+ value:
170
+ id: "90c626ce-5284-4a84-b85e-46e0ee3d0434"
171
+ "400":
172
+ $ref: "#/components/responses/InvalidArgumentForBlockchain400"
173
+ "401":
174
+ $ref: "#/components/responses/Generic401"
175
+ "403":
176
+ $ref: "#/components/responses/PermissionDeniedForBlockchain403"
177
+ "404":
178
+ $ref: "#/components/responses/Generic404"
179
+ "409":
180
+ $ref: "#/components/responses/Generic409"
181
+ "422":
182
+ $ref: "#/components/responses/Generic422"
183
+ "429":
184
+ $ref: "#/components/responses/Generic429"
185
+ /blockchain-public-addresses/{id}:
186
+ delete:
187
+ tags:
188
+ - Blockchain Public Address
189
+ summary: Unbinds Blockchain Public Address association to a mobile phone number
190
+ description: |-
191
+ Unbinds Blockchain Public Address to a mobile phone number. This operation is intended to be used with a 3-legged Access Token; this is because only the user of the mobile phone number must be able to perform the unbind.
192
+ Note: Due to this, the API Server must validate that the `id` included in the request refers to a bind for a mobile phone number belonging to the user identified by its `sub` in the Access Token.
193
+ operationId: deleteBlockchainPublicAddress
194
+ security:
195
+ - openId:
196
+ - blockchain-public-address:delete
197
+ parameters:
198
+ - $ref: "#/components/parameters/Id"
199
+ - $ref: "#/components/parameters/x-correlator"
200
+ responses:
201
+ "204":
202
+ description: No Content
203
+ headers:
204
+ x-correlator:
205
+ $ref: "#/components/headers/x-correlator"
206
+ "400":
207
+ $ref: "#/components/responses/Generic400"
208
+ "401":
209
+ $ref: "#/components/responses/Generic401"
210
+ "403":
211
+ $ref: "#/components/responses/Generic403"
212
+ "404":
213
+ $ref: "#/components/responses/Generic404"
214
+ "429":
215
+ $ref: "#/components/responses/Generic429"
216
+ components:
217
+ securitySchemes:
218
+ openId:
219
+ type: openIdConnect
220
+ openIdConnectUrl: https://example.com/.well-known/openid-configuration
221
+ headers:
222
+ x-correlator:
223
+ description: Correlation id for the different services
224
+ schema:
225
+ $ref: "#/components/schemas/XCorrelator"
226
+ parameters:
227
+ x-correlator:
228
+ name: x-correlator
229
+ in: header
230
+ description: Correlation id for the different services
231
+ schema:
232
+ $ref: "#/components/schemas/XCorrelator"
233
+ Id:
234
+ name: id
235
+ in: path
236
+ description: Unique identifier given to the bind relationship of a mobile `phoneNumber` with a Blockchain Public Address.
237
+ required: true
238
+ schema:
239
+ type: string
240
+ schemas:
241
+ XCorrelator:
242
+ type: string
243
+ pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$
244
+ example: "b4333c46-49c0-4f62-80d7-f0ef930f1c46"
245
+ PhoneNumber:
246
+ type: object
247
+ description: Payload to retrieve the Blockchain Public Address(es) associated to a given Phone Number
248
+ required:
249
+ - phoneNumber
250
+ properties:
251
+ phoneNumber:
252
+ type: string
253
+ description: A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
254
+ pattern: '^\+[1-9][0-9]{4,14}$'
255
+ BindBlockchainPublicAddressRequest:
256
+ type: object
257
+ description: Payload to request the Bind of the Blockchain Public Address
258
+ required:
259
+ - phoneNumber
260
+ - blockchainPublicAddress
261
+ - blockchainNetworkId
262
+ properties:
263
+ phoneNumber:
264
+ type: string
265
+ description: Mobile phone number to which the Blockchain Public Address will be bound. A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
266
+ pattern: '^\+[1-9][0-9]{4,14}$'
267
+ blockchainPublicAddress:
268
+ type: string
269
+ description: User's Blockchain Public Address to bind to the mobile `phoneNumber`
270
+ blockchainNetworkId:
271
+ type: string
272
+ pattern: ^[a-zA-Z0-9]+:?[a-zA-Z0-9]+$
273
+ description: |-
274
+ Identifier (i.e. name/type) of the blockchain whose address value is provided within `blockchainPublicAddress`. The model proposed aims to provide an extensible way to list/identify every blockchain ecosystems.
275
+ Proposed format is: `<L1_Ecosystem>:<sub_id>`, where:
276
+
277
+ - `<L1_Ecosystem>`: Represents a Layer 1 Blockchain Ecosystem (e.g. ethereum, bitcoin,...)
278
+ - `<sub_id>`: Represents subsequents L2 and Testnet Blockchain Ecosystems, whenever they apply (e.g. bitcoin is a monolithic blockchain so as this concept does not apply)
279
+
280
+ So far, in the scope of v0.2 of this specification, the following `<L1_Ecosystem>` values are covered:
281
+ - `evm`: Representing a common L1 Layer concept for EVM-based networks. Within this Ecosystem, `<sub_id>` concept is required and matches the value of chainId as per [EVM ChainId](https://chainid.network/). For instance:
282
+ - `ethereum` blockchain would be identified by `evm:1` value (i.e. ethereum mainnet).
283
+ - `polygon` blockchain would be identified by `evm:137` value (i.e. polygon mainnet).
284
+ - `celo` blockchain would be identified by `evm:42220` value (i.e. celo mainnet).
285
+ - `aleph zero` blockchain would be identified by `evm:41455` value (i.e. aleph zero evm).
286
+ - `bitcoin`: Representing Bitcoin L1 blockchain. No `<sub_id>` concept applies for this L1 Ecosystem
287
+ - `solana`: Representing Solana L1 blockchain. No `<sub_id>` concept applies for this L1 Ecosystem
288
+ - `cardano`: Representing Cardano L1 blockchain. No `<sub_id>` concept applies for this L1 Ecosystem
289
+ currency:
290
+ type: array
291
+ description: List of currencies for the blockchain. Optional field (generally not needed), only indicated when there are business needs to set one or a list on currencies supported.
292
+ minItems: 0
293
+ items:
294
+ type: string
295
+ nonce:
296
+ type: string
297
+ description: |-
298
+ One-time challenge generated by means of endpoint `createBlockchainPublicAddressValidationNonce` of CAMARA API Blockchain Public Address Challenge.
299
+
300
+ It is used along with `signature` to perform optional enhanced enforcement to ensure blockChainPublicAddress can be associated to the phoneNumber as it belongs to the owner of the blockChainPublicAddress.
301
+ signature:
302
+ type: string
303
+ description: |-
304
+ Unique distinctive generated as a result of asking the user to sign the nonce off-chain.
305
+
306
+ It is used along with `nonce` to perform optional enhanced enforcement to ensure blockChainPublicAddress can be associated to the the phoneNumber as it belongs to the owner of the blockChainPublicAddress.
307
+ example:
308
+ phoneNumber: "+346789990012"
309
+ blockchainPublicAddress: "0x71C7656EC7ab88b098dafB451B2314C5f6d8932A"
310
+ blockchainNetworkId: "evm:1"
311
+ currency:
312
+ - ETH
313
+ BindBlockchainPublicAddressResponse:
314
+ type: object
315
+ description: Bind Blockchain Public Address response
316
+ required:
317
+ - id
318
+ properties:
319
+ id:
320
+ type: string
321
+ description: Unique identifier given to the bind relationship of a mobile `phoneNumber` with a Blockchain Public Address.
322
+ BlockchainPublicAddressResponse:
323
+ type: object
324
+ description: Blockchain Public Address response
325
+ required:
326
+ - id
327
+ - blockchainPublicAddress
328
+ - blockchainNetworkId
329
+ properties:
330
+ id:
331
+ type: string
332
+ description: Unique identifier given to the bind relationship of a mobile `phoneNumber` with a Blockchain Public Address.
333
+ blockchainPublicAddress:
334
+ type: string
335
+ description: User's Blockchain Public Address
336
+ blockchainNetworkId:
337
+ type: string
338
+ description: |-
339
+ Identifier (i.e. name/type) of the blockchain whose address value is provided within `blockchainPublicAddress`. The model proposed aims to provide an extensible way to list/identify every blockchain ecosystems.
340
+ Proposed format is: `<L1_Ecosystem>:<sub_id>`, where:
341
+ - `<L1_Ecosystem>`: Represents a Layer 1 Blockchain Ecosystem (e.g. ethereum, bitcoin,...)
342
+ - `<sub_id>`: Represents subsequents L2 and Testnet Blockchain Ecosystems, whenever they apply (e.g. bitcoin is a monolithic blockchain so as this concept does not apply)
343
+
344
+ So far, in the scope of v0.2 of this specification, the following `<L1_Ecosystem>` values are covered:
345
+ - `evm`: Representing a common L1 Layer concept for EVM-based networks. Within this Ecosystem, `<sub_id>` concept is required and matches the value of chainId as per [EVM ChainId](https://chainid.network/). For instance:
346
+ - `ethereum` blockchain would be identified by `evm:1` value (i.e. ethereum mainnet).
347
+ - `polygon` blockchain would be identified by `evm:137` value (i.e. polygon mainnet).
348
+ - `celo` blockchain would be identified by `evm:42220` value (i.e. celo mainnet).
349
+ - `aleph zero` blockchain would be identified by `evm:41455` value (i.e. aleph zero evm).
350
+ - `bitcoin`: Representing Bitcoin L1 blockchain. No `<sub_id>` concept applies for this L1 Ecosystem
351
+ - `solana`: Representing Solana L1 blockchain. No `<sub_id>` concept applies for this L1 Ecosystem
352
+ - `cardano`: Representing Cardano L1 blockchain. No `<sub_id>` concept applies for this L1 Ecosystem
353
+ currency:
354
+ type: array
355
+ description: List of currencies for the blockchain. Optional field (generally not needed), only indicated when there are business needs to set one or a list on currencies supported.
356
+ minItems: 0
357
+ items:
358
+ type: string
359
+ ErrorInfo:
360
+ type: object
361
+ required:
362
+ - status
363
+ - code
364
+ - message
365
+ properties:
366
+ message:
367
+ type: string
368
+ description: A human-readable description of what the event represents
369
+ status:
370
+ type: integer
371
+ description: HTTP response status code
372
+ code:
373
+ type: string
374
+ description: A human-readable code to describe the error
375
+ responses:
376
+ InvalidArgumentForBlockchain400:
377
+ description: |
378
+ Problem with the client request.
379
+ In addition to regular scenario of INVALID_ARGUMENT, other exceptions may exist.
380
+ - Indicated blockchainNetworkId is not valid ("code": "BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_BLOCKCHAIN_NETWORK_IDENTIFIER","message": "Indicated blockchainNetworkId is not valid")
381
+ - Indicated currency is not valid for the Blockchain ("code": "BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_CURRENCY","message": "Indicated currency is not found")
382
+ - Currency indication is required ("code": "BLOCKCHAIN_PUBLIC_ADDRESS.CURRENCY_REQUIRED","message": "One currency is required")
383
+ - Indicated nonce is not valid ("code": "BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_NONCE","message": "Indicated nonce is not valid")
384
+ - Indicated signature is not valid ("code": "BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_SIGNATURE","message": "Indicated signature is not valid")
385
+ - Both nonce and signature are required together to perform enhanced validation ("code": "BLOCKCHAIN_PUBLIC_ADDRESS.BOTH_NONCE_SIGNATURE_REQUIRED","message": "Both nonce and signature are required for enhanced validation")
386
+ headers:
387
+ x-correlator:
388
+ $ref: "#/components/headers/x-correlator"
389
+ content:
390
+ application/json:
391
+ schema:
392
+ allOf:
393
+ - $ref: "#/components/schemas/ErrorInfo"
394
+ - type: object
395
+ properties:
396
+ status:
397
+ enum:
398
+ - 400
399
+ code:
400
+ enum:
401
+ - INVALID_ARGUMENT
402
+ - BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_BLOCKCHAIN_NETWORK_IDENTIFIER
403
+ - BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_CURRENCY
404
+ - BLOCKCHAIN_PUBLIC_ADDRESS.CURRENCY_REQUIRED
405
+ - BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_NONCE
406
+ - BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_SIGNATURE
407
+ - BLOCKCHAIN_PUBLIC_ADDRESS.BOTH_NONCE_SIGNATURE_REQUIRED
408
+ examples:
409
+ GENERIC_400_INVALID_ARGUMENT:
410
+ description: Invalid Argument. Generic Syntax Exception
411
+ value:
412
+ status: 400
413
+ code: INVALID_ARGUMENT
414
+ message: Client specified an invalid argument, request body or query param.
415
+ GENERIC_400_INVALID_BLOCKCHAIN_NETWORK_ID:
416
+ description: blockchainNetworkId is not valid
417
+ value:
418
+ status: 400
419
+ code: BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_BLOCKCHAIN_NETWORK_IDENTIFIER
420
+ message: Indicated blockchainNetworkId is not valid
421
+ GENERIC_400_INVALID_CURRENCY_FOR_BLOCKCHAIN:
422
+ description: Invalid currency
423
+ value:
424
+ status: 400
425
+ code: BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_CURRENCY
426
+ message: Indicated currency is not found
427
+ GENERIC_400_REQUIRED_CURRENCY_FOR_BLOCKCHAIN:
428
+ description: Currency is required
429
+ value:
430
+ status: 400
431
+ code: BLOCKCHAIN_PUBLIC_ADDRESS.CURRENCY_REQUIRED
432
+ message: One currency is required
433
+ GENERIC_400_INVALID_NONCE:
434
+ description: Invalid nonce
435
+ value:
436
+ status: 400
437
+ code: BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_NONCE
438
+ message: Indicated nonce is not valid
439
+ GENERIC_400_INVALID_SIGNATURE:
440
+ description: Invalid signature
441
+ value:
442
+ status: 400
443
+ code: BLOCKCHAIN_PUBLIC_ADDRESS.INVALID_SIGNATURE
444
+ message: Indicated signature is not valid
445
+ GENERIC_400_BOTH_NONCE_SIGNATURE_REQUIRED:
446
+ description: Both nonce and signature are required together
447
+ value:
448
+ status: 400
449
+ code: BLOCKCHAIN_PUBLIC_ADDRESS.BOTH_NONCE_SIGNATURE_REQUIRED
450
+ message: Both nonce and signature are required for enhanced validation
451
+ PermissionDeniedForBlockchain403:
452
+ description: |
453
+ Forbidden.
454
+ In addition to regular scenario of PERMISSION_DENIED, other exceptions may exist.
455
+ - Blockchain identifier not allowed by business rules ("code": "BLOCKCHAIN_PUBLIC_ADDRESS.BLOCKCHAIN_NETWORK_IDENTIFIER_NOT_ALLOWED","message": "Indicated blockchainNetworkId is not allowed by business rules")
456
+ headers:
457
+ x-correlator:
458
+ $ref: "#/components/headers/x-correlator"
459
+ content:
460
+ application/json:
461
+ schema:
462
+ allOf:
463
+ - $ref: "#/components/schemas/ErrorInfo"
464
+ - type: object
465
+ properties:
466
+ status:
467
+ enum:
468
+ - 403
469
+ code:
470
+ enum:
471
+ - PERMISSION_DENIED
472
+ - BLOCKCHAIN_PUBLIC_ADDRESS.BLOCKCHAIN_NETWORK_IDENTIFIER_NOT_ALLOWED
473
+ examples:
474
+ GENERIC_403_PERMISSION_DENIED:
475
+ description: Permission denied. OAuth2 token access does not have the required scope or when the user fails operational security
476
+ value:
477
+ status: 403
478
+ code: PERMISSION_DENIED
479
+ message: Client does not have sufficient permissions to perform this action.
480
+ GENERIC_403_NOT_ALLOWED_BLOCKCHAIN_NETWORK_ID:
481
+ description: blockchainNetworkId not allowed by business rules
482
+ value:
483
+ status: 403
484
+ code: BLOCKCHAIN_PUBLIC_ADDRESS.BLOCKCHAIN_NETWORK_IDENTIFIER_NOT_ALLOWED
485
+ message: Indicated blockchainNetworkId is not allowed by business rules
486
+ Generic400:
487
+ description: Problem with the client request
488
+ headers:
489
+ x-correlator:
490
+ $ref: "#/components/headers/x-correlator"
491
+ content:
492
+ application/json:
493
+ schema:
494
+ allOf:
495
+ - $ref: "#/components/schemas/ErrorInfo"
496
+ - type: object
497
+ properties:
498
+ status:
499
+ enum:
500
+ - 400
501
+ code:
502
+ enum:
503
+ - INVALID_ARGUMENT
504
+ examples:
505
+ GENERIC_400_INVALID_ARGUMENT:
506
+ description: Invalid Argument. Generic Syntax Exception
507
+ value:
508
+ status: 400
509
+ code: INVALID_ARGUMENT
510
+ message: Client specified an invalid argument, request body or query param.
511
+ Generic401:
512
+ description: Unauthorized
513
+ headers:
514
+ x-correlator:
515
+ $ref: "#/components/headers/x-correlator"
516
+ content:
517
+ application/json:
518
+ schema:
519
+ allOf:
520
+ - $ref: "#/components/schemas/ErrorInfo"
521
+ - type: object
522
+ properties:
523
+ status:
524
+ enum:
525
+ - 401
526
+ code:
527
+ enum:
528
+ - UNAUTHENTICATED
529
+ examples:
530
+ GENERIC_401_UNAUTHENTICATED:
531
+ description: Request cannot be authenticated and a new authentication is required
532
+ value:
533
+ status: 401
534
+ code: UNAUTHENTICATED
535
+ message: Request not authenticated due to missing, invalid, or expired credentials. A new authentication is required.
536
+ Generic403:
537
+ description: Forbidden
538
+ headers:
539
+ x-correlator:
540
+ $ref: "#/components/headers/x-correlator"
541
+ content:
542
+ application/json:
543
+ schema:
544
+ allOf:
545
+ - $ref: "#/components/schemas/ErrorInfo"
546
+ - type: object
547
+ properties:
548
+ status:
549
+ enum:
550
+ - 403
551
+ code:
552
+ enum:
553
+ - PERMISSION_DENIED
554
+ examples:
555
+ GENERIC_403_PERMISSION_DENIED:
556
+ description: Permission denied. OAuth2 token access does not have the required scope or when the user fails operational security
557
+ value:
558
+ status: 403
559
+ code: PERMISSION_DENIED
560
+ message: Client does not have sufficient permissions to perform this action.
561
+ Generic404:
562
+ description: Not found
563
+ headers:
564
+ x-correlator:
565
+ $ref: "#/components/headers/x-correlator"
566
+ content:
567
+ application/json:
568
+ schema:
569
+ allOf:
570
+ - $ref: "#/components/schemas/ErrorInfo"
571
+ - type: object
572
+ properties:
573
+ status:
574
+ enum:
575
+ - 404
576
+ code:
577
+ enum:
578
+ - NOT_FOUND
579
+ examples:
580
+ GENERIC_404_NOT_FOUND:
581
+ description: Resource is not found
582
+ value:
583
+ status: 404
584
+ code: NOT_FOUND
585
+ message: The specified resource is not found.
586
+ Generic409:
587
+ description: Conflict
588
+ headers:
589
+ x-correlator:
590
+ $ref: "#/components/headers/x-correlator"
591
+ content:
592
+ application/json:
593
+ schema:
594
+ allOf:
595
+ - $ref: "#/components/schemas/ErrorInfo"
596
+ - type: object
597
+ properties:
598
+ status:
599
+ enum:
600
+ - 409
601
+ code:
602
+ enum:
603
+ - ALREADY_EXISTS
604
+ examples:
605
+ GENERIC_409_ALREADY_EXISTS:
606
+ description: Trying to create an existing resource
607
+ value:
608
+ status: 409
609
+ code: ALREADY_EXISTS
610
+ message: The resource that a client tried to create already exists.
611
+ Generic422:
612
+ description: |-
613
+ Unprocessable content.
614
+ - Enhanced Binding validation procedure by means of nonce and signature verification is not supported ("code": "BLOCKCHAIN_PUBLIC_ADDRESS.UNSUPPORTED_ENHANCED_VALIDATION","message": "Enhanced Binding validation procedure is not supported")
615
+ headers:
616
+ x-correlator:
617
+ $ref: "#/components/headers/x-correlator"
618
+ content:
619
+ application/json:
620
+ schema:
621
+ allOf:
622
+ - $ref: "#/components/schemas/ErrorInfo"
623
+ - type: object
624
+ properties:
625
+ status:
626
+ enum:
627
+ - 422
628
+ code:
629
+ enum:
630
+ - BLOCKCHAIN_PUBLIC_ADDRESS.UNSUPPORTED_ENHANCED_VALIDATION
631
+ examples:
632
+ GENERIC_422_UNSUPPORTED_ENHANCED_VALIDATION:
633
+ description: Enhanced Binding validation procedure by means of nonce and signature verification is not supported
634
+ value:
635
+ status: 422
636
+ code: BLOCKCHAIN_PUBLIC_ADDRESS.UNSUPPORTED_ENHANCED_VALIDATION
637
+ message: Enhanced Binding validation procedure is not supported
638
+ Generic429:
639
+ description: Too Many Requests
640
+ headers:
641
+ x-correlator:
642
+ $ref: "#/components/headers/x-correlator"
643
+ content:
644
+ application/json:
645
+ schema:
646
+ allOf:
647
+ - $ref: "#/components/schemas/ErrorInfo"
648
+ - type: object
649
+ properties:
650
+ status:
651
+ enum:
652
+ - 429
653
+ code:
654
+ enum:
655
+ - TOO_MANY_REQUESTS
656
+ examples:
657
+ GENERIC_429_TOO_MANY_REQUESTS:
658
+ description: Access to the API has been temporarily blocked due to rate or spike arrest limits being reached
659
+ value:
660
+ status: 429
661
+ code: TOO_MANY_REQUESTS
662
+ message: Rate limit reached.
663
+ ```
marked/BlockchainPublicAddress/documentation/API_documentation/blockchain-public-address-API-Readiness-Checklist/raw.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # API Readiness Checklist
2
+
3
+ Checklist for BlockChain Public Address v0.3.0 in r2.2
4
+
5
+ | Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Reference information |
6
+ |----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|:----:|
7
+ | 1 | API definition | M | M | M | M | Y | [link](/code/API_definitions/blockchain-public-address.yaml) |
8
+ | 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) |
9
+ | 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) |
10
+ | 4 | API versioning convention applied | M | M | M | M | Y | |
11
+ | 5 | API documentation | M | M | M | M | Y | [link](/code/API_definitions/blockchain-public-address.yaml) |
12
+ | 6 | User stories | O | O | O | M | Y | [link](/documentation/API_documentation/blockchain-public-address-User-Story.md) |
13
+ | 7 | Basic API test cases & documentation | O | M | M | M | Y | [link](/code/Test_definitions) |
14
+ | 8 | Enhanced API test cases & documentation | O | O | O | M | N | link |
15
+ | 9 | Test result statement | O | O | O | M | N | link |
16
+ | 10 | API release numbering convention applied | M | M | M | M | Y | |
17
+ | 11 | Change log updated | M | M | M | M | Y | [link](/CHANGELOG.md) |
18
+ | 12 | Previous public release was certified | O | O | O | M | N | |
19
+ | 13 | API description (for marketing) | O | O | M | M | Y | [wiki link](https://lf-camaraproject.atlassian.net/wiki/x/noDWB) |
20
+
21
+ To fill the checklist:
22
+ - in the line above the table, replace the api-name, api-version and the rx.y by their actual values for the current API version and release.
23
+ - in the Status column, put "Y" (yes) if the release asset is available or fulfilled in the current release, a "N" (no) or a "tbd". Example use of "tbd" is in case an alpha or release-candidate API version does not yet provide all mandatory assets for the release.
24
+ - in the Reference information column, provide the relative links (from the API repository home folder) to the release asset once available, the applicable release numbers (not versions) of Commonalities and ICM, and any other relevant links or information.
25
+ - For the point 12: The Reference information comment shall reference a note (e.g. "see (1)") under the checklist table to be added that states the certified company(s) as can be found on the following link: [GSMA Open Gateway Portal](https://open-gateway.gsma.com/).
26
+
27
+ Note: the checklists of a public API version and of its preceding release-candidate API version can be the same.
28
+
29
+ The documentation for the content of the checklist is here: see API Readiness Checklist section in the [API Release Process](https://lf-camaraproject.atlassian.net/wiki/x/jine).
marked/BlockchainPublicAddress/documentation/API_documentation/blockchain-public-address-User-Story/raw.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BlockchainPublicAddress API User Stories
2
+
3
+ | **Item** | **Details** |
4
+ | ---------- | ------------- |
5
+ | **US#1** | User Story #1 |
6
+ | ***Summary*** | As an application developer, I want a feature to fetch Telco Operator customers Blockchain Public Addresses in a user-friendly way, using Customers Mobile Subscription (i.e. phoneNumber), as a natural and regular pair for the public address of a blockchain. This way management of Blockchain Public Addresses can be perfomed by means of the phoneNumber, which is a natural concept within the OBs. |
7
+ | ***Roles, Actors and Scope*** | **Roles:** Customer:User<br> **Actors:** Application service providers, hyperscalers, application developers. <br> **Scope:** Obtain Blockchain Public Addresses associated to a given phoneNumber of the Customer |
8
+ | ***Pre-conditions*** | N/A |
9
+ | ***Activities/Steps*** | **Starts when:** The API Consumer makes a GET request to the Blockchain Public Address API to obtain the Blockchain Public Addresses associated to a given phoneNumber (generally such addresses are identified by a DID (Decentralised Identifier, which indeed is a public address of a blockchain), composed of 26-35 alphanumeric characters in length).<br>**Ends when:** The API Consumer receives GET response with the list of Blockchain Public Addresses associated to the phoneNumber, including this information: <br/> - Blockchain public address name.<br/> - Blockchain public address identifier (DID).<br/> - Blockchain public address identifier binding (for latter management).<br/> - Blockchain public address currency.<br/>Empty response will be received in case no Blockchain Public Address is linked to the phonNumber yet. |
10
+ | ***Post-conditions*** | N/A |
11
+ | ***Exceptions*** | Several exceptions might occur during the Blockchain Public Address(es) retrieval linked to a given phoneNumber<br>- Unauthorized: Not valid credentials (e.g. use of already expired access token).<br>- Invalid Argument: Not valid phoneNumber.<br>- Internal: Server Error when fetching information. |
12
+ | -------- | ------------- |
13
+ | **US#2** | User Story #2 |
14
+ | ***Summary*** | As an application developer, I want a feature to manage (bind/unbind) Telco Operator customers Blockchain Public Addresses in a user-friendly way, using Customers Mobile Subscription (i.e. phoneNumber), as a natural and regular pair for the public address of a blockchain. |
15
+ | ***Roles, Actors and Scope*** | **Roles:** Customer:User<br> **Actors:** Application service providers, hyperscalers, application developers. <br> **Scope:** Manage Blockchain Public Addresses binding/unbinding them to a given phoneNumber of the Customer |
16
+ | ***Pre-conditions*** | Blockchain Public Address exists in advance |
17
+ | ***Activities/Steps*** | **BINDING PROCESS**<br> **Starts when:** The API Consumer makes a POST request to the Blockchain Public Address API to bind a specific Blockchain Public Addresses to a provided phoneNumber.<br> **Ends when:** The API Consumer receives POST response with this unique binding identifier.<br><br/>**UNBINDING PROCESS**<br> **Starts when:** The API Consumer makes a DELETE request to the Blockchain Public Address API to unbind a specific Blockchain Public Addresses - phoneNumber relationship, providing the binding identifier that identifies such relationship.<br> **Ends when:** The API Consumer receives DELETE response indicating a successful process performed (i.e. deletion). |
18
+ | ***Post-conditions*** | **BINDING PROCESS**<br/> Binding relationship between Blockchain Public Address and phoneNumber is created. If making GET request an item showing that binding is included.<br><br>**UNBINDING PROCESS**<br/> Binding relationship between Blockchain Public Address and phoneNumber is deleted. If making GET request the item showing that binding is no longer included. |
19
+ | ***Exceptions*** | Several exceptions might occur during the Blockchain Public Address management<br><br>**BINDING PROCESS**<br>- Unauthorized: Not valid credentials (e.g. use of already expired access token).<br>- Invalid Argument: Not valid phoneNumber and/or BlockChain Public Address Information.<br>- Internal: Server Error when fetching information.<br><br>**UNBINDING PROCESS**<br>- Unauthorized: Not valid credentials (e.g. use of already expired access token).<br>- Invalid Argument: Not valid binding identifier.<br>- Internal: Server Error when fetching information. |
20
+ | **US#3** | User Story #3 |
21
+ | ***Summary*** | As an application developer, I want a feature to manage bind Telco Operator customers Blockchain Public Addresses in a user-friendly way, using Customers Mobile Subscription (i.e. phoneNumber), as a natural and regular pair for the public address of a blockchain, and also performing Binding Enforcement by ensuring the phoneNumber and the blockchainPublicAddress belongs to the same owner |
22
+ | ***Roles, Actors and Scope*** | **Roles:** Customer:User<br> **Actors:** Application service providers, hyperscalers, application developers. <br> **Scope:** Manage Blockchain Public Addresses binding to a given phoneNumber of the Customer with Binding enforcement feature requested |
23
+ | ***Pre-conditions*** | Blockchain Public Address exists in advance |
24
+ | ***Activities/Steps*** | **BINDING PROCESS**<br> **Starts when:** The API Consumer makes a POST request to the Blockchain Public Address API to bind a specific Blockchain Public Addresses to a provided phoneNumber, also indicating the nonce and signature fields.<br> **Ends when:** The API Consumer receives POST response with this unique binding identifier. |
25
+ | ***Post-conditions*** | **BINDING PROCESS**<br/> Binding relationship between Blockchain Public Address and phoneNumber is created. If making GET request an item showing that binding is included. |
26
+ | ***Exceptions*** | Several exceptions might occur during the Blockchain Public Address management<br><br>**BINDING PROCESS**<br>- Unauthorized: Not valid credentials (e.g. use of already expired access token).<br>- Invalid Argument: Not valid phoneNumber, BlockChain Public Address, nonce or signature Information.<br>- Internal: Server Error when fetching information. |
marked/BlockchainPublicAddress/documentation/API_documentation/blockchain-public-address-validation-API-Readiness-Checklist/raw.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # API Readiness Checklist
2
+
3
+ Checklist for BlockChain Public Address Validation v0.1.0 in r2.2
4
+
5
+ | Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Reference information |
6
+ |----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|:----:|
7
+ | 1 | API definition | M | M | M | M | Y | [link](/code/API_definitions/blockchain-public-address-validation.yaml) |
8
+ | 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) |
9
+ | 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) |
10
+ | 4 | API versioning convention applied | M | M | M | M | Y | |
11
+ | 5 | API documentation | M | M | M | M | Y | [link](/code/API_definitions/blockchain-public-address-validation.yaml) |
12
+ | 6 | User stories | O | O | O | M | Y | [link](/documentation/API_documentation/blockchain-public-address-validation-User-Story.md) |
13
+ | 7 | Basic API test cases & documentation | O | M | M | M | Y | [link](/code/Test_definitions) |
14
+ | 8 | Enhanced API test cases & documentation | O | O | O | M | N | link |
15
+ | 9 | Test result statement | O | O | O | M | N | link |
16
+ | 10 | API release numbering convention applied | M | M | M | M | Y | |
17
+ | 11 | Change log updated | M | M | M | M | Y | [link](/CHANGELOG.md) |
18
+ | 12 | Previous public release was certified | O | O | O | M | N | |
19
+ | 13 | API description (for marketing) | O | O | M | M | Y | [wiki link](https://lf-camaraproject.atlassian.net/wiki/x/AYASD) |
20
+
21
+ To fill the checklist:
22
+ - in the line above the table, replace the api-name, api-version and the rx.y by their actual values for the current API version and release.
23
+ - in the Status column, put "Y" (yes) if the release asset is available or fulfilled in the current release, a "N" (no) or a "tbd". Example use of "tbd" is in case an alpha or release-candidate API version does not yet provide all mandatory assets for the release.
24
+ - in the Reference information column, provide the relative links (from the API repository home folder) to the release asset once available, the applicable release numbers (not versions) of Commonalities and ICM, and any other relevant links or information.
25
+ - For the point 12: The Reference information comment shall reference a note (e.g. "see (1)") under the checklist table to be added that states the certified company(s) as can be found on the following link: [GSMA Open Gateway Portal](https://open-gateway.gsma.com/).
26
+
27
+ Note: the checklists of a public API version and of its preceding release-candidate API version can be the same.
28
+
29
+ The documentation for the content of the checklist is here: see API Readiness Checklist section in the [API Release Process](https://lf-camaraproject.atlassian.net/wiki/x/jine).
marked/BlockchainPublicAddress/documentation/API_documentation/blockchain-public-address-validation-User-Story/raw.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BlockchainPublicAddress Validation API User Stories
2
+
3
+ | **Item** | **Details** |
4
+ | ---------- | ------------- |
5
+ | **US#1** | User Story #1 |
6
+ | ***Summary*** | As an application developer, I want a feature to generate a nonce (one-time challenge) associated to a blockchain public address, in order for the customer to be able to sign it off-chain, generating a signature. This will allow afterwards to perform binding enforment via Blockchain Public Address binding process. |
7
+ | ***Roles, Actors and Scope*** | **Roles:** Customer:User<br> **Actors:** Application service providers, hyperscalers, application developers.<br> **Scope:** Obtain a nonce associated to a blockchainPublicAdress of the Customer |
8
+ | ***Pre-conditions*** | N/A |
9
+ | ***Activities/Steps*** | **Starts when:** The API Consumer makes a POST request to the Blockchain Public Address Validation API to obtain a nonce associated to a blockchainPublicAdress (indicated as an input) of the Customer.<br>**Ends when:** The API Consumer receives POST response with the nonce value. |
10
+ | ***Post-conditions*** | N/A |
11
+ | ***Exceptions*** | Several exceptions might occur during the nonce generation<br>- Unauthorized: Not valid credentials (e.g. use of already expired access token).<br>- Invalid Argument: Not valid blockchainPublicAddress.<br>- Internal: Server Error when fetching information. |
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-07-06/raw.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 06-jul-2023<br/>
4
+ **Status:** FINAL
5
+
6
+
7
+ ## Attendees
8
+ - Klaus Reifenrath (Vodafone)
9
+ - Sebastian Köller (Vodafone)
10
+ - Krzysztof Sielski (Deutsche Telekom)
11
+ - Georgios Papadopoulos (Deutsche Telekom)
12
+ - Jose Antonio Ordoñez Lucena (Telefonica)
13
+ - Pedro Díez (Telefonica)
14
+
15
+
16
+ ## Goals
17
+ WG Kick-Off Meeting</br>
18
+
19
+
20
+ Item | Who | Description
21
+ ---- | ---- | ----
22
+ Members Presentation | WG | Members Presentation
23
+ [Issue#2](https://github.com/camaraproject/BlockchainPublicAddress/issues/2) | Telefonica | Kick-Off 6th July
24
+ [Issue#3](https://github.com/camaraproject/BlockchainPublicAddress/issues/3) | Telefonica | Initial Use Cases Proposal
25
+ [PR#4](https://github.com/camaraproject/BlockchainPublicAddress/pull/4) | Telefonica | BlockChain Use Cases
26
+ [Issue#6](https://github.com/camaraproject/BlockchainPublicAddress/issues/6) | Telefonica | Baseline Proposal
27
+ [PR#5](https://github.com/camaraproject/BlockchainPublicAddress/pull/5) | Telefonica | Baseline Proposal (API YAML Code)
28
+
29
+
30
+ ### Items Discussion
31
+
32
+ Item | Discussion
33
+ ---- | ----
34
+ Members Presentation | Attendees from Deustche Telekom, Vodafone and Telefonica introduce themselves.
35
+ [Issue#2](https://github.com/camaraproject/BlockchainPublicAddress/issues/2) | Introduced by Telefonica. Compiles the agenda for Kick-Off meeting points:<br/> • Meetings schedule: Agreed to have, in a bi-weekly basis, on Thursdays 13:00 - 14:00 CET/CEST<br/> • Kind request for Maintainers and Codeowners. Explained the roles and provided more info offline. As tentative candidates we have: Klaus (VF) and Georgios (DT) for maintainers; Klaus (VF) and Krzysztof (DT) for codeowners. To be confirmed in the next days.<br/> • Presenting initial proposal in the following item.
36
+ [Issue#3](https://github.com/camaraproject/BlockchainPublicAddress/issues/3), [PR#4](https://github.com/camaraproject/BlockchainPublicAddress/pull/4) | Presented Use Cases proposal, based on the rationale of providing some features to third parties to be able to manage Blockchains from end users via the phone numbers of the users. Features to fetch blockchain public addresses per phone number and to bind/unbind a Blockchain to/from a phone number.<br> • Comments raised by DT and VF that proposal is needed to be enhanced based on WG output in order to have some mentioned regarding AuthN/AuthZ and privacy considerations
37
+ [Issue#6](https://github.com/camaraproject/BlockchainPublicAddress/issues/6), [PR#5](https://github.com/camaraproject/BlockchainPublicAddress/pull/5) | Going through the Baseline API definition. Explaining the endpoints: <br/> - Endpoint to fetch blockchain public addresses linked for a given phoneNumber<br/> - Endpoint to bind a blockchain public address to a phoneNumber<br/> - Endpoint to unbind a blockhain public address <-> phoneNumber<br/> Rationale/Background of the proposal in this [PR-WG#154](https://github.com/camaraproject/WorkingGroups/pull/154)<br/><br/>Main comments provided:<br> • Vodafone: Concerns about the use of DID as blockchain identifier as other standards/identifiers also could be used. Also comments about AuthN/AuthZ model for this API.<br><br> • Deutsche Telekom: Need to work in AuthN/AuthZ model for this API as well as management of User Consent. DT indicated their concern about using the phone number of the user to have such an association. Also DT provided during the meeting information about other forums where work about blockchain is being made:<br/> - https://github.com/ChainAgnostic/CASA<br/> - https://chainagnostic.org/<br/> - https://chainagnostic.org/CAIPs/caip-2<br/> - https://github.com/UCRegistry/chain-registry<br><br> • Telefonica commented that they are good comments to start and bear in mind; also regarding consents that there is a WG (Identity and Consent Management) where this kind of topics are been addressed.
38
+
39
+
40
+ ### Next Steps
41
+ - Next Meetings:<br/>
42
+ • 20th July - 13:00 - 14:00 CEST<br>
43
+ • 27th July - 13:00 - 14:00 CEST<br>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-07-20/raw.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+
3
+ ## Meeting Information
4
+ **Meeting Date:** 20-jul-2023<br/>
5
+ **Status:** FINAL
6
+
7
+
8
+ ## Attendees
9
+ - Klaus Reifenrath (Vodafone)
10
+ - Sebastian Köller (Vodafone)
11
+ - Rafał Artych (Deutsche Telekom)
12
+ - Pedro Díez (Telefonica)
13
+
14
+
15
+ ## Goals
16
+
17
+ Review Members Access to WG </br>
18
+ Next Actions </br>
19
+
20
+
21
+ Item | Who | Description
22
+ ---- | ---- | ----
23
+ Review Members Access to WG | WG | Check susbcription status of members
24
+ Next Actions | WG | Actions for next meeting
25
+
26
+
27
+ ### Items Discussion
28
+
29
+ Item | Discussion
30
+ ---- | ----
31
+ Review Members Access to WG | Commented in the meeting, in order to be able to manage maintainers and code owners for the WG. Being checked by VF members (Sebastian, Klaus). Sebastian seems to have access, Klaus is managing it. Issue will be opened when members have access to WG in order to include them as maintainers/codeowners based on their github user.
32
+ Next Actions | Commented about the following: <br/> • Adopting github templates as per Commonalities. To be more agile, Rafał (DT) will generate PR so it can be reviewed and merged (currently only Pedro as codeowner) [PR#8](https://github.com/camaraproject/BlockchainPublicAddress/pull/8). Generated after meeting. Reviewed and Merged.<br><br/> • Blockchain identification: Use of a DID is to ensure the "user identification" within a blockchain. The fact of binding it to a phoneNumber is to make a friendly way for Devs and Users to manage transactions between blockchains in a more natural way.<br><br/> • Comments raised by VF in order to provide more detail in Use Cases. Deeping into access to the functionality and privacy topics. Issue to be opened by TEF in order to provide information and begin discussion (that can be lead into Use Cases description enhancements and API spec adjustments).<br><br/> • Question raised by VF within [Issue#6](https://github.com/camaraproject/BlockchainPublicAddress/issues/6) about the need of indicating a currency in binding and fetch blockchain functionality. Within a given blockchain, several currencies may be used, so it might not be considered as mandatory in design. Also, Use Cases can guide in the inclusion of this metainformation. TEF will also check internally this.
33
+
34
+
35
+ ### Next Steps
36
+
37
+ - Next Meetings:<br/>
38
+ • 27th July - 13:00 - 14:00 CEST<br>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-07-27/raw.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+
3
+ ## Meeting Information
4
+
5
+ **Meeting Date:** 27-jul-2023<br/>
6
+ **Status:** FINAL
7
+
8
+
9
+
10
+ ## Attendees
11
+
12
+ - Klaus Reifenrath (Vodafone)
13
+ - Sebastian Köller (Vodafone)
14
+ - Georgios Papadopoulos (Deutsche Telekom)
15
+ - Rafał Artych (Deutsche Telekom)
16
+ - Pedro Díez (Telefonica)
17
+
18
+
19
+
20
+ ## Goals
21
+
22
+ Review Members Access to WG </br>
23
+ Open Issues </br>
24
+
25
+
26
+ Item | Who | Description
27
+ ---- | ---- | ----
28
+ Review Members Access to WG - [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | WG | Main WG participants have subscription enabled
29
+ [Issue#11](https://github.com/camaraproject/BlockchainPublicAddress/issues/11) | TEF | Deep Into Use Cases
30
+ [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | TEF | Required 'currency' information in API design
31
+
32
+
33
+ ### Items Discussion
34
+
35
+ Item | Discussion
36
+ ---- | ----
37
+ Review Members Access to WG - [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | Sebastian (VF) already has access to WG. Klaus (VF) is managing it. Georgios (DT) will manage it. After that, PR will be generated to indicate maintainers and codeowners.
38
+ Deep Into Use Cases - [Issue#11](https://github.com/camaraproject/BlockchainPublicAddress/issues/11) | Telefonica provides more info about Use Cases. Vodafone comments the topic of how to manage the consent of accessing the information (GET List of Blockchains of a given phonenumber). If this endpoint can be accessed vía 2-legged how this access can be controlled in a way the user's phone owner can control the list of people they can view his blockchain addresses. Several initial options commented during the meeting (functionality to have whitelist option where indicate phonenumbers that can access blockchain of other phone numbers, hashing of blockchain and/or phone number). Need to have more discussion around the issue.
39
+ Required 'currency' information in API design - [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | Issue opened to reflect the point raised by Vodafone regarding 'currency' as mandatory parameter. Vodafone indicates there are many use cases (e.g. smart contract tokens) where transactions within the same blockchain can be performed with different currencies. Deutsche Telekom also agrees on that. Telefonica needs to check internally (mentioned that initial proposal was to consider one currency but open to cover also other scenarios). TEF will provide feedback and proposal about this topic.
40
+ AoB | Control of rate limit of requests, commented by Deustche Telekom. To have some rate control policy in Telco Operator API GW, needed to cover it in API design. There is some exception defined in commonalities: https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#32-http-response-codes (HTTP 429). Agreed to include within API design. AP@Pedro to include in API Proposal
41
+
42
+ ### Next Steps
43
+
44
+ - Next Meetings:<br/>
45
+ • 10th August - 13:00 - 14:00 CEST<br>
46
+ • 31th August - 13:00 - 14:00 CEST<br>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-08-10/raw.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+
3
+ ## Meeting Information
4
+
5
+ **Meeting Date:** 10-ago-2023<br/>
6
+ **Status:** FINAL
7
+
8
+
9
+
10
+ ## Attendees
11
+
12
+ - Sebastian Köller (Vodafone)
13
+ - Georgios Papadopoulos (Deutsche Telekom)
14
+ - Krzysztof Sielski (Deutsche Telekom)
15
+ - Rafał Artych (Deutsche Telekom)
16
+ - Pedro Díez (Telefonica)
17
+
18
+
19
+
20
+ ## Goals
21
+
22
+ Review Members Access to WG </br>
23
+ Open Issues </br>
24
+
25
+
26
+ Item | Who | Description
27
+ ---- | ---- | ----
28
+ Review Members Access to WG - [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | WG | Main WG participants have subscription enabled
29
+ [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | TEF | Required 'currency' information in API design
30
+ Consent management in API | WG | Discussion about consent Management
31
+ Baseline API Proposal | TEF | Ongoing API v0.1
32
+
33
+
34
+ ### Items Discussion
35
+
36
+ Item | Discussion
37
+ ---- | ----
38
+ Review Members Access to WG - [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | Sebastian (VF) and Georgios (DT) are fully operative. Klaus (VF) and Krzysztof (DT) are managing its access. PRs triggered to update [Maintaners](https://github.com/camaraproject/BlockchainPublicAddress/pull/14) and CodeOwners (pending) accordingly.
39
+ Deep Into Use Cases - [Issue#11](https://github.com/camaraproject/BlockchainPublicAddress/issues/11) | Telefonica provides more info about Use Cases. Vodafone comments the topic of how to manage the consent of accessing the information (GET List of Blockchains of a given phonenumber). If this endpoint can be accessed vía 2-legged how this access can be controlled in a way the user's phone owner can control the list of people they can view his blockchain addresses. Several initial options commented during the meeting (functionality to have whitelist option where indicate phonenumbers that can access blockchain of other phone numbers, hashing of blockchain and/or phone number). Need to have more discussion around the issue. New [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) created
40
+ Required 'currency' information in API design - [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | Proposal presented by Telefonica in order to address this comment. VF(Sebastian) seems OK to this proposal. Georgios (DT) would like to check offline, to identify whether can be 'scam' scenarios that may need currency.
41
+ Enhancement due to consent management | Explain the context of consent management within API. After meeting new [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) opened, summarizing info. Main topic concern raised here are (DT, VF) the following:<br> • Whether this consent is "forever" or "one time use". Once User B gives consent, anyone could access to such info.<br> • Whether this consent has to be more fine-grained, so as provided only for the User A access (i.e. have granularity to be settled per user phoneNumber level). <br><br> TEF asks whether according to these comments it is being thinking in an UX where User B is prompted with a screen to give their consent for any API call for any User A's request, and response is yes. TEF will also check internally about its product view on that. Related to this, Rafał indicates that this has relationship with Identity&ConsentManagement WG and regarding picture provided just not to include (at least) within CAMARA API spec as it includes conventions outside CAMARA. It will be taken out and in future check if makes sense to add something GSMA OpenGateway agnostic.
42
+ AoB | Control of rate limit of requests, commented by Deustche Telekom. To have some rate control policy in Telco Operator API GW, needed to cover it in API design. Exception 429 already considered into the proposal.
43
+ Baseline API Proposal [PR#5](https://github.com/camaraproject/BlockchainPublicAddress/pull/5)| Points performed:<br> • Renamed OB to Telco Operator<br> • Adding Exception 429<br> • Removed Image.<br>Pending Points:<br> • `currency` topic <br>• Impacts in API derived from Consent Management
44
+
45
+
46
+ ### Next Steps
47
+
48
+ - Next Meetings:<br/>
49
+ • 31th August - 13:00 - 14:00 CEST<br>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-08-31/raw.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+
3
+ ## Meeting Information
4
+
5
+ **Meeting Date:** 31-ago-2023<br/>
6
+ **Status:** FINAL
7
+
8
+
9
+
10
+ ## Attendees
11
+
12
+ - Stefan Engelbert (Aloaha)
13
+ - Georgios Papadopoulos (Deutsche Telekom)
14
+ - Krzysztof Sielski (Deutsche Telekom)
15
+ - Rafał Artych (Deutsche Telekom)
16
+ - Sebastian Köller (Vodafone)
17
+ - Pedro Díez (Telefonica)
18
+
19
+
20
+
21
+ ## Goals
22
+
23
+ Review Members Access to WG </br>
24
+ Next Actions </br>
25
+
26
+
27
+ Item | Who | Description
28
+ ---- | ---- | ----
29
+ MOM-2023-08-10 - [PR#17](https://github.com/camaraproject/BlockchainPublicAddress/pull/17) | WG | MOM-2023-08-10
30
+ Review Members Access to WG - [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | WG | Main WG participants have subscription enabled
31
+ Baseline Proposal [Issue#6](https://github.com/camaraproject/BlockchainPublicAddress/issues/6), [PR#5](https://github.com/camaraproject/BlockchainPublicAddress/pull/5) | TEF | Basline API Proposal
32
+ [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | TEF | Required 'currency' information in API design
33
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
34
+
35
+
36
+ ### Items Discussion
37
+
38
+ Item | Discussion
39
+ ---- | ----
40
+ Welcome to new members | Stefan Engelbert (Aloaha) joins the WG.
41
+ MOM-2023-08-10 - [PR#17](https://github.com/camaraproject/BlockchainPublicAddress/pull/17) | Pending Approval, reviewed by Georgios and Sebastian. Will ask Jose Antonio Lucena (TEF) in the meantime other codeowners are added to approve them, so it can be merged. CODEOWNERS and Maintainers files cannot be updated until involved people has WG access. Also Krzysztof will trigger PR to include as a codeowner so Pedro can approve it and therefore have codeowners in the short-term from two companies at least.
42
+ Review Members Access to WG - [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | No news about Klaus status. Asked him offline. Check again next week.
43
+ Baseline Proposal [Issue#6](https://github.com/camaraproject/BlockchainPublicAddress/issues/6), [PR#5](https://github.com/camaraproject/BlockchainPublicAddress/pull/5) | Pedro comments TEF has intention to perform an MVP based on initial proposal and asks WG if we can merge it in order to be able to indicate CAMARA compliance. This does not enter in contradiction with the fact that API can and will be evolved based on output of discussions and future requirements. This version will be set as "v0.1". Also we will have a reference to evolve from it. It is understood within the WG and it is OK to move forward and merge. Pedro will check and make some refinements and advise for review. Intention is to merge (if possible) during 4th September week.
44
+ Required 'currency' information in API design - [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | Georgios comments it will be needed more time to have a view about currency relationship with the Public Address. Then this issue will be KEPT OPEN. Also comments from Stefan, Krzysztof (topic of having some model to signal/identify chain_id), mentioning [https://chainagnostic.org/CAIPs/caip-2](https://chainagnostic.org/CAIPs/caip-2) (this reference was also provided during July) and Sebastian about potential anidated blockchain "type" model. Summary gathered within then issue and participants will comment over this.
45
+ API Enhancement due to Consent Management - [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | Pedro comments that this topic has raised internally but no feedback yet due to holidays period. In two directions:<br> • About product perspective to manage consent in every GET access to the blockchain information of a given user<br> • In the way of "having" API functionality to manage some kind of whitelists to "allow trusted contacts" the access without request consent.
46
+ AoB | Next Meetings, next meeting scheduled for 28th September. Pedro is on holidays next weeks and comments to the WG if any meeting would like to be managed in the meantime, 14th September could be an option (up to WG in case other members consider suitable)
47
+
48
+ ### Next Steps
49
+
50
+ - Next Meetings:<br/>
51
+ • 28th September - 13:00 - 14:00 CEST<br>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-09-28/raw.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 28-sep-2023<br/>
4
+ **Status:** FINAL
5
+
6
+ ## Attendees
7
+
8
+ - Stefan Engelbert (Aloaha/CodeB)
9
+ - Rafał Artych (Deutsche Telekom)
10
+ - Sebastian Köller (Vodafone)
11
+ - Pedro Díez (Telefonica)
12
+
13
+
14
+ ## Goals
15
+ Review of Issues/PRs and next steps</br>
16
+
17
+
18
+ Item | Who | Description
19
+ ---- | ---- | ----
20
+ WG Status | WG | WG current status
21
+ [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | WG | Main WG participants have subscription enabled
22
+ [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | TEF | Required 'currency' information in API design
23
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
24
+ [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | VF | Solving the chain identification issue
25
+
26
+ ### Items Discussion
27
+
28
+ Item | Discussion
29
+ ---- | ----
30
+ WG Status | Currently, initial baseline version (v0.1) is generated. A tag will be generated to track this baseline version (PR to be generated). Next steps are to progress in open issues and after that review Use Stories description. After meeting, Pedro (TEF) synchronized status with Krzysztof (DT) that joined later. Also bi-weekly meetings will be scheduled.
31
+ Review Members Access to WG - [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | Klaus (VF) and Krzysztof (DT) pending to enable their subscription to the WG. Sebastian (VF) will comment internally to Klaus and Pedro (TEF) comments offline to Krzysztof.
32
+ Required 'currency' information in API design - [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | Pending comments by Georgios, issue is kept OPEN and to be reviewed in next meeting.
33
+ API Enhancement due to Consent Management - [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | Pedro comments it will be reviewed internally with Product next week in order to have feedback. Initially, Use Case addressed by TEF is to set up consent once per user.
34
+ Solving the chain identification issue - [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | Sebastian (VF) explains rationale for this topic. Underlying idea is to have a (reduced) set of manually defined layer 1 blockchains and optionally use the chainId for layer 2 blockchains or testnets within that ecosystem. For instance for EVM-based chains, there is an already defined chainId for them in https://chainlist.org/. Stefan (CodeB) agrees with this proposal baseline. Pedro (TEF) will check in detail.
35
+
36
+
37
+ ### Next Steps
38
+ - Next Meetings:<br/>
39
+ • Next meeting: 5th October - 13:00 - 14:00 CEST<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-10-05/raw.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 05-oct-2023<br/>
4
+ **Status:** FINAL
5
+
6
+ ## Attendees
7
+
8
+ - Stefan Engelbert (Aloaha/CodeB)
9
+ - Rene Reinsberg (Celo Foundation)
10
+ - Kevin Tharayil (Celo Foundation)
11
+ - Rafał Artych (Deutsche Telekom)
12
+ - Georgios Papadopoulos (Deutsche Telekom)
13
+ - Sebastian Köller (Vodafone)
14
+ - Pedro Díez (Telefonica)
15
+
16
+
17
+ ## Goals
18
+ Review of Issues/PRs and next steps</br>
19
+
20
+
21
+ Item | Who | Description
22
+ ---- | ---- | ----
23
+ WG Status | WG | WG current status
24
+ [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | WG | Main WG participants have subscription enabled
25
+ [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | TEF | Required 'currency' information in API design
26
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
27
+ [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | VF | Solving the chain identification issue
28
+
29
+ ### Items Discussion
30
+
31
+ Item | Discussion
32
+ ---- | ----
33
+ WG Status | New members from Celo Foundation joined the meeting (Rene, Kevin). They refer during the meeting to some initiatives they have been involved: [Minipay](https://www.opera.com/de/products/minipay) and [Valora](https://valoraapp.com/)<br><br> With regards to WG status, next step is to generate a release for the initial version v0.1.0, [PR#23](https://github.com/camaraproject/BlockchainPublicAddress/pull/23) to generate `CHANGELOG.md` is ready and will be merged after meeting.<br> Work done after the meeting.<br> • New Release tag [v0.1.0](https://github.com/camaraproject/BlockchainPublicAddress/releases/tag/v0.1.0) generated.<br> • Release content [release-0.1.0](https://github.com/camaraproject/BlockchainPublicAddress/tree/release-0.1.0)
34
+ Review Members Access to WG - [Issue#10](https://github.com/camaraproject/BlockchainPublicAddress/issues/10) | To make more agile WG work, Georgios (DT) and Sebastian (VF) are settled as both maintainers [PR#14](https://github.com/camaraproject/BlockchainPublicAddress/pull/14) and codeowners [PR#24](https://github.com/camaraproject/BlockchainPublicAddress/pull/24). When Klaus (VF) and Krzysztof (DT) enable their subscription we will comment to include as maintainers and codeowners. Both PRs are `MERGED` and the Issue is `CLOSED`.
35
+ Required 'currency' information in API design - [Issue#12](https://github.com/camaraproject/BlockchainPublicAddress/issues/12) | Agreed to be closed. `CLOSED` after the meeting.
36
+ API Enhancement due to Consent Management - [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | Pedro (TEF) illustrates the topic for anyone to have some background and also indicates have internally address this with their product team and their concern is that the checking for the permission for every transaction may be a stopper for business cases as it is not the best performance, also indicates that probably some product guidance from GSMA OGW would be helpful. Sebastian indicates that it should be avoided that personal information can be leaked by anyone and we should ensure the restricted access to this information. Georgios also comments not only the access to blockchain info but the knowledge of phone numbers that can be used for spaming services. In this context, Celo comments about some work they have performed in [user identity in blockchain](https://docs.celo.org/protocol/identity/odis-use-case-phone-number-privacy).
37
+ Solving the chain identification issue - [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | Rationale of the proposal explained by Sebastian is understood. Georgios comments the proposal is in line with the objective of a better blockchain identification scheme. Pedro also comments it is a good way forward and asks some clarification questions, about the identification of ethereum mainnet in this model (blockchain=evm, chainId=1) and to check this proposal does not enter in contradiction with the use of DID for the identification of the blockchain address, where Sebastian indicates there is no constrain/restriction. Pedro will draft a proposal within the issue to get a consensus on this.
38
+
39
+
40
+ ### Next Steps
41
+ - Next Meetings:<br/>
42
+ • Next meeting: 19th October - 13:00 - 14:00 CEST<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-10-19/raw.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 19-oct-2023<br/>
4
+ **Status:** FINAL
5
+
6
+
7
+ ## Attendees
8
+
9
+ - Kevin Tharayil (Celo Foundation)
10
+ - Rafał Artych (Deutsche Telekom)
11
+ - Krzysztof Sielski (Deutsche Telekom)
12
+ - Georgios Papadopoulos (Deutsche Telekom)
13
+ - Klaus Reifenrath (Vodafone)
14
+ - Sebastian Köller (Vodafone)
15
+ - Pedro Díez (Telefonica)
16
+
17
+
18
+ ## Goals
19
+ WG Kick-Off Meeting</br>
20
+
21
+
22
+
23
+ Item | Who | Description
24
+ ---- | ---- | ----
25
+ WG Status | WG | WG current status
26
+ [Issue#11](https://github.com/camaraproject/BlockchainPublicAddress/issues/11) | TEF | Deep Into Use Cases
27
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
28
+ [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | VF | Solving the chain identification issue
29
+
30
+ ### Items Discussion
31
+
32
+ Item | Discussion
33
+ ---- | ----
34
+ WG Status | Two topics commented:<br> • WG repository information after release generation and merging of [PR#25](https://github.com/camaraproject/BlockchainPublicAddress/pull/25). New release is available [Release v0.1.0](https://github.com/camaraproject/BlockchainPublicAddress/releases/tag/v0.1.0) and [CHANGELOG.md](https://github.com/camaraproject/BlockchainPublicAddress/blob/main/CHANGELOG.md) and [README.md](https://github.com/camaraproject/BlockchainPublicAddress/blob/main/README.md) are updated.<br> • Manage members subscription: Klaus and Krzysztof will re-trigger the WG subscription request so as they will enable their subscription and link their github user. Later on, it will be possible to manage them as maintainers/codeowners.
35
+ Solving the chain identification issue - [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | Sebastian presented a proposal in order to manage every type of blockchain. Relying in one parameter to identify L1 Ecoystems and other one for identifying L2 and subsequent levels. Pedro and George seems initially OK. Latest comment of using `ethereum` instead of `evm` was in line to indicate real L1 ecosystems within 'blockchain' field, so the reason to also indicate other ecosystems like Avalanch even they have a chainId in evm naming format. This was explained in the meeting as asked by Krzysztof as a doubt. Krzysztof also mentioned whether the list of supported chainIds has to be restricted, Klaus comments that should be left open (initially no restriction in API input); Pedro indicates that in principle API design can support all and to deal with those business scenarios where a given chainId is not supported (a user wallt that does not manage specific blockchains) an exception may be defined. There is more discussion around this topic ( Krzysztof refers to CAIP - https://chainagnostic.org/CAIPs/caip-2, Klaus also mention to other scheme https://eips.ethereum.org/EIPS/eip-3220), in order to have a flexible way to identify a huge amount of blockchain ecosystems. There is certainty about evm chainId (https://chainid.network/, https://chainid.network/chains.json) is unique for evm based chains. After some discussion, Klaus comment the idea of having the identification in a common parameter (name to be decided, WG thinks offline) and that parameter indicates the L1-"sub-id" in a flexible way. It seems a way forward and WG will think about a name. In the meantime Pedro will trigger WIP PR to begin to detail this proposal and also improve/evolve with comments received.
36
+ Deep Into Use Cases - [Issue#11](https://github.com/camaraproject/BlockchainPublicAddress/issues/11) | TEF (Pedro) explains this topic can be resumed in order to improve/enhance description of Use Cases with the context discussed these months. Also provides information about Use Cases TEF business is thinking about. To be checked offline and provide feedback by WG members.
37
+ API Enhancement due to Consent Management - [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | Not covered during this meeting.
38
+
39
+
40
+ ### Next Steps
41
+ - Next Meetings:<br/>
42
+ • Next meeting: 2nd November - 13:00 - 14:00 CEST<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-11-02/raw.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 02-nov-2023<br/>
4
+ **Status:** FINAL
5
+
6
+
7
+ ## Attendees
8
+
9
+ - Rafał Artych (Deutsche Telekom)
10
+ - Krzysztof Sielski (Deutsche Telekom)
11
+ - Georgios Papadopoulos (Deutsche Telekom)
12
+ - Sebastian Köller (Vodafone)
13
+ - Pedro Díez (Telefonica)
14
+
15
+
16
+ ## Goals
17
+ Review of Issues/PRs and next steps</br>
18
+
19
+
20
+ Item | Who | Description
21
+ ---- | ---- | ----
22
+ [PR#29](https://github.com/camaraproject/BlockchainPublicAddress/pull/29) | WG | Create MOM-2023-10-19
23
+ [PR#31](https://github.com/camaraproject/BlockchainPublicAddress/pull/31) | DT | Alignment with changes in https://github.com/camaraproject/Template_Lead_Repository
24
+ [Issue#11](https://github.com/camaraproject/BlockchainPublicAddress/issues/11) | TEF | Deep Into Use Cases
25
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
26
+ [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | VF | Solving the chain identification issue
27
+
28
+ ### Items Discussion
29
+
30
+ Item | Discussion
31
+ ---- | ----
32
+ Create MOM-2023-10-19 - [PR#29](https://github.com/camaraproject/BlockchainPublicAddress/pull/29) | Meeting Minutes of 19th October Meeting ready for review. Commented during the meeting the review of them to have the approval and merge them.
33
+ Alignment with changes in https://github.com/camaraproject/Template_Lead_Repository - [PR#31](https://github.com/camaraproject/BlockchainPublicAddress/pull/31) | PR triggered by DT (Rafał) in order to align WG repository with the guidelines of CAMARA regarding [Testing Folder](https://github.com/camaraproject/Template_Lead_Repository/pull/1). Reviewed and approved. `MERGED` after the meeting
34
+ Solving the chain identification issue - [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | As commented during last meeting, Pedro triggered a PR to compile the output of the Issue. The proposal is under [PR#30](https://github.com/camaraproject/BlockchainPublicAddress/pull/30), along with other Commonalities alignments and editorial enhancements. The target name of the parameter to identify the blockchain is still TBD (currently appears as `blockchain`). Pedro (TEF) indicates it is still pending to add the exception to manage the scenario mentioned by Krzysztof (DT) in the last meeting, but generated in advance to receive comments from the participants. Georgios (DT) gave an OK to the proposal in terms of the description provided. Krzysztof (DT) and Sebastian (VF) will review offline. Sebastian also asks two points:<br/> • If Issue#19 will be closed after the merging of this PR, and Pedro indicates that this is the objective (keeping v0.2.0-wip, just to discuss later within the WG the next steps).<br/> • The meaning of `<sub_id>` within the blockchain identification model, where Pedro answers it is the name given to the concept under L2 and Testnets blockchain identification (in EVM it matches the concept of chainId), and it is open to receive inputs if other name is considered more suitable, and for sure it can be reviewed in the future.
35
+ Deep Into Use Cases - [Issue#11](https://github.com/camaraproject/BlockchainPublicAddress/issues/11) | Commented during the meeting to check this issue by participants in order to receive comments and see if further description is incorporated into Use cases description document.
36
+ API Enhancement due to Consent Management - [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF indicates next week will synchronize this point internally with Business and comment back to the issue.
37
+
38
+
39
+ ### Next Steps
40
+ - Next Meetings:<br/>
41
+ • Next meeting: 16th November - 13:00 - 14:00 CEST<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-11-16/raw.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 16-nov-2023<br/>
4
+ **Status:** FINAL
5
+
6
+
7
+ ## Attendees
8
+
9
+ - Rafał Artych (Deutsche Telekom)
10
+ - Georgios Papadopoulos (Deutsche Telekom)
11
+ - Jorge Ordovas (Telefónica)
12
+ - Pedro Díez (Telefónica)
13
+
14
+
15
+ ## Goals
16
+ Review of Issues/PRs and next steps</br>
17
+
18
+
19
+ Item | Who | Description
20
+ ---- | ---- | ----
21
+ WG Status | WG | BlockchainPublicAddress WG Status
22
+ [Issue#11](https://github.com/camaraproject/BlockchainPublicAddress/issues/11) | TEF | Deep Into Use Cases
23
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
24
+ [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | VF | Solving the chain identification issue
25
+
26
+ ### Items Discussion
27
+
28
+ Item | Discussion
29
+ ---- | ----
30
+ WG Status | Today joins meeting Jorge Ordovas (TEF, Business Unit Web3 proyects). Currently main focus within WG is an aligment in Blockchain Identification Model. Meeting Minutes from [19/OCT](https://github.com/camaraproject/BlockchainPublicAddress/blob/main/documentation/MeetingMinutes/MOM-2023-10-19.md) and [02/NOV](https://github.com/camaraproject/BlockchainPublicAddress/blob/main/documentation/MeetingMinutes/MOM-2023-11-02.md) are available.
31
+ Solving the chain identification issue - [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | Proposal is under [PR#30](https://github.com/camaraproject/BlockchainPublicAddress/pull/30), some wording comments provided by Rafał (DT), already fixed. Also he refers to Commonalities Issues [camaraproject/Commonalities#77](https://github.com/camaraproject/Commonalities/issues/77) and [camaraproject/Commonalities#80](https://github.com/camaraproject/Commonalities/issues/80), which are noted to be addressed in this PR or a future one, based on their respective output.<br>Some background context is provided for Jorge (TEF) also understands the rationale of this track.<br>Pending point is to agree on a field name for this concept, some suggestions provided by Pedro (TEF) within the Issue. Georgios (DT) indicates his preference is `blockchainNetworkId` and also asks whether makes sense to have some alignment in the wording for the BlockChainPublicAddress. Pedro (TEF) comments doesn't think so as this field is to indicate which Blockchain Network the BlockchainPublicAddress belongs to. Some days will be given to provide preferences among participants and selected name will be updated within PR, so as setting for final review.
32
+ Deep Into Use Cases - [Issue#11](https://github.com/camaraproject/BlockchainPublicAddress/issues/11) | Will be closed during this week if no further comment provided. It can be also discussed in the future.
33
+ API Enhancement due to Consent Management - [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | Feedback from TEF. Business Unit is performing Privacy Assesment about this funcionality, therefore will be kept On-Hold until having their input about this.
34
+
35
+
36
+ ### Next Steps
37
+ - Next Meetings:<br/>
38
+ • Next meeting: 30th November - 13:00 - 14:00 CEST<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-11-30/raw.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 30-nov-2023<br/>
4
+ **Status:** FINAL
5
+
6
+
7
+ ## Attendees
8
+
9
+ - Rafał Artych (Deutsche Telekom)
10
+ - Georgios Papadopoulos (Deutsche Telekom)
11
+ - Sebastian Köller (Vodafone)
12
+ - Pedro Díez (Telefónica)
13
+
14
+
15
+ ## Goals
16
+ Review of Issues/PRs and next steps</br>
17
+
18
+
19
+ Item | Who | Description
20
+ ---- | ---- | ----
21
+ WG Status | WG | BlockchainPublicAddress WG Status
22
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
23
+ [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | VF | Solving the chain identification issue
24
+ AoB | WG | Other topics
25
+
26
+ ### Items Discussion
27
+
28
+ Item | Discussion
29
+ ---- | ----
30
+ WG Status | After [PR#30](https://github.com/camaraproject/BlockchainPublicAddress/pull/30) merge, v0.2.0-wip is available in code folder. So far, it will be kept `ON-HOLD`, until some Commonalities guidance are being resolved (i.e. AuthN/AuthZ section), so it can take advantage before generating a new release if required.
31
+ Solving the chain identification issue - [Issue#19](https://github.com/camaraproject/BlockchainPublicAddress/issues/19) | `CLOSED` after review and approval of [PR#30](https://github.com/camaraproject/BlockchainPublicAddress/pull/30) by Georgios (DT) and Sebastian (VF) respectively. [PR#30](https://github.com/camaraproject/BlockchainPublicAddress/pull/30) is `MERGED` during the meeting.
32
+ API Enhancement due to Consent Management - [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | Feedback from Pedro (TEF). Business Unit Privacy Assesment is still pending and probably will happen next year. Will be kept `ON-HOLD` until it.
33
+ AoB | Some topics during the meeting:<br> • Georgios (DT) asks whether implementation topics are discussed within CAMARA WG scope. Pedro (TEF) comments implementation is not under the scope of CAMARA but probably hosted in the context of Operators meetings within each country, where alignment about implementation of different APIs/features is taking place (a.k.a. local champions). <br> • Pedro (TEF) indicates it will trigger a new PR to add Krzysztof as codeowner. <br> • Sebastian (VF) shares with the WG he will be leaving it by the end of this year. WG appreciates the effort and contribution from Sebastian during these months. A PR will be triggered to removed him as a maintainer and codeowner.<br> • Agreed to have next meeting on 12th December (same slot), being the latest during this year.
34
+
35
+
36
+ ### Next Steps
37
+ - Next Meetings:<br/>
38
+ • Next meeting: 12th December - 13:00 - 14:00 CEST<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2023-12-12/raw.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 12-dec-2023<br/>
4
+ **Status:** FINAL
5
+
6
+
7
+ ## Attendees
8
+
9
+ - Rafał Artych (Deutsche Telekom)
10
+ - Georgios Papadopoulos (Deutsche Telekom)
11
+ - Krzysztof Sielski (Deutsche Telekom)
12
+ - Jorge Ordovas (Telefónica)
13
+ - Pedro Díez (Telefónica)
14
+
15
+
16
+ ## Goals
17
+ Review of Issues/PRs and next steps</br>
18
+
19
+
20
+ Item | Who | Description
21
+ ---- | ---- | ----
22
+ WG Status | WG | BlockchainPublicAddress WG Status
23
+ Maintainers and Codeowners | WG | Update Maintainers and Codeowners
24
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
25
+ AoB | WG | Other topics
26
+
27
+ ### Items Discussion
28
+
29
+ Item | Discussion
30
+ ---- | ----
31
+ WG Status | API specification v0.2.0-wip is available in code folder. Kept `ON-HOLD`, until some Commonalities guidance are being resolved (i.e. AuthN/AuthZ section), so it can take advantage before generating a new release if required. To be reviewed next year.
32
+ Maintainers and Codeowners | Update of maintainers and codeowners:<br> • Maintainers - [PR#35](https://github.com/camaraproject/BlockchainPublicAddress/pull/35) `MERGED`: Removed Jose Antonio (TEF) and Sebastian (VF).<br> • Codeowners - [PR#36](https://github.com/camaraproject/BlockchainPublicAddress/pull/36) `MERGED`: Removed Jose Antonio (TEF) and Sebastian (VF). Added Krzysztof (DT).
33
+ API Enhancement due to Consent Management - [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | Kept `ON-HOLD` until next year.
34
+ AoB | Some topics during the meeting:<br> • Pedro (TEF) will ping offline Klaus (VF) to check whether is going to participate within the WG next year as Sebastian has leaved the WG.<br> • Pedro (TEF) comments WG about existance of slack channel that may help to be more agile in tech discussions. [Link](https://join.slack.com/t/camara-project/shared_invite/zt-23bjzwes5-4aLBtE_E1sO0BJhCLBdZVQ). <br> • Rafał (DT) comments about traversal work regarding CAMARA linting rules. Main contributions are [Commonalities/PR#74](https://github.com/camaraproject/Commonalities/pull/74) and [Commonalities/PR#110](https://github.com/camaraproject/Commonalities/pull/110). Ask for volunteers to apply in Blockchain (Pedro offers as volunteer, will open an issue to track it). Krzysztof (DT) asks about the WoW and Rafał comments the initial intention is to test these linting rules in every CAMARA WG to check its behaviour and make refinements if any.
35
+
36
+
37
+ ### Next Steps
38
+ - Next Meetings:<br/>
39
+ • Next meeting: 11th January - 13:00 - 14:00 CEST<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2024-01-25/raw.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 25-jan-2024<br/>
4
+ **Status:** FINAL
5
+
6
+
7
+ ## Attendees
8
+
9
+ - Rafał Artych (Deutsche Telekom)
10
+ - Georgios Papadopoulos (Deutsche Telekom)
11
+ - Jorge Ordovás (Telefónica)
12
+ - Pedro Díez (Telefónica)
13
+
14
+
15
+ ## Goals
16
+ Review of Issues/PRs and next steps</br>
17
+
18
+
19
+ Item | Who | Description
20
+ ---- | ---- | ----
21
+ WG Status | WG | BlockchainPublicAddress WG Status
22
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
23
+ [Issue#38](https://github.com/camaraproject/BlockchainPublicAddress/issues/38) | WG | Linting rule set for Blockchain Public Address API
24
+ AoB | WG | Other topics
25
+
26
+ ### Items Discussion
27
+
28
+ Item | Discussion
29
+ ---- | ----
30
+ WG Status | The meeting was a brief update on some administrative and technical topics of the blockchain working group. The main points discussed were:<br> • Asked Georgios as codeowner to review and approve the minutes of the last meeting.<br> • Pedro said that he will be contacting Klaus to know if he is planning to attend again the working group.<br> • Pedro proposed to have meetings based on demand and to use the blockchain slack channel to communicate the topics of the next meetings. Georgios and Rafał agreed with Pedro's approach.<br> • Pedro suggested to keep the current evolution of the justification until the discussions on the blockchain identification and the commonalities were resolved.
31
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | Still `ON-HOLD` waiting for the business feedback on a privacy evaluation/assesment.
32
+ [Issue#38](https://github.com/camaraproject/BlockchainPublicAddress/issues/38) | Pedro shared that he already applied the linter in a fork. Thanks to Rafał support and guidelines to enable this. A thread will be opened in the Issue#38 to comment on the results and the necessary particularizations for blockchain. Rafał added that the linter rules might need some changes or updates comming from Commonalities track.
33
+ AoB | Next pending points are:<br> • Review the output of the linter and make the necessary adjustments in the API specification.<br> • Follow the thread of the Issue#38 and provide comments or suggestions.<br> • Consult with the business team if there was any new requirement or prioritization for the new year.<br> • Be attentive to the business feedback on the issue #16 and decide how to proceed.<br> • Join the slack channel of blockchain for participants and be aware of the calls for the next meetings.
34
+
35
+
36
+ ### Next Steps
37
+ - Next Meetings:<br/>
38
+ • Next meeting: TBD, on demand<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2024-02-22/raw.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 22-feb-2024<br/>
4
+ **Status:** FINAL
5
+
6
+
7
+ ## Attendees
8
+
9
+ - Rafał Artych (Deutsche Telekom)
10
+ - Georgios Papadopoulos (Deutsche Telekom)
11
+ - Krzysztof Sielski (Deutsche Telekom)
12
+ - Jorge Ordovás (Telefónica)
13
+ - Pedro Díez (Telefónica)
14
+
15
+
16
+ ## Goals
17
+ Review of Issues/PRs and next steps</br>
18
+
19
+
20
+ Item | Who | Description
21
+ ---- | ---- | ----
22
+ WG Status | WG | BlockchainPublicAddress WG Status
23
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
24
+ [Issue#38](https://github.com/camaraproject/BlockchainPublicAddress/issues/38) | WG | Linting rule set for Blockchain Public Address API
25
+ AoB | WG | Other topics
26
+
27
+ ### Items Discussion
28
+
29
+ Item | Discussion
30
+ ---- | ----
31
+ WG Status | **Linter Rules**: The linter rules from commonalities have been tested successfully and will be applied to the working group repository. New Issue and related PR will be triggered in the next weeks. AP@Pedro<br> **New Topic**: An issue will be created to discuss how to handle the scenario of requesting a binding for a configuration that already exists. The proposed solution is to use the 409 conflict error code. AP@Pedro
32
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | The issue of consent management and privacy will be resumed in the next meeting, as there is no clear business feedback yet. Pedro wants to have some guidelines or conclusions to move forward with this topic. Agreed by Jorge, Georgios, Krzysztof, Rafał.
33
+ [Issue#38](https://github.com/camaraproject/BlockchainPublicAddress/issues/38) | Linter tested OK, then issue is `CLOSED`.
34
+ AoB | Pedro contacted Klaus (VF) offline and informed that Klaus will not join the working group for the time being (short-term). Maybe in the mid-term. He will follow offline the progress.<br> Next meetings (next two months due to Pedro personal matter) will be moved temporarily to 11:00 - 12:00 CET Time. Agreed by the team. NOTE: Changed after the meeting to 11:30 - 12:30 for Jorge to be able to attend.<br><br>Pending points for the next meeting are:<br>• Discuss the issue of consent management and privacy and try to reach a conclusion or a way-forward. <br>• Review the issue and the pull request for the 409 conflict error code scenario.
35
+
36
+
37
+ ### Next Steps
38
+ - Next Meetings:<br/>
39
+ • Next meeting: 7th March, 11:30 - 12:30 CET<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/MOM-2024-03-07/raw.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meeting Minutes
2
+ ## Meeting Information
3
+ **Meeting Date:** 07-mar-2024<br/>
4
+ **Status:** FINAL
5
+
6
+
7
+ ## Attendees
8
+
9
+ - Rafał Artych (Deutsche Telekom)
10
+ - Pedro Díez (Telefónica)
11
+
12
+
13
+ ## Goals
14
+ Review of Issues/PRs and next steps</br>
15
+
16
+
17
+ Item | Who | Description
18
+ ---- | ---- | ----
19
+ WG Status | WG | BlockchainPublicAddress WG Status
20
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | TEF, WG | API Enhancement due to Consent Management
21
+ [Issue#46](https://github.com/camaraproject/BlockchainPublicAddress/issues/46) | TEF | Manage Duplicated Bindings and Improve Description
22
+ AoB | WG | Other topics
23
+
24
+ ### Items Discussion
25
+
26
+ Item | Discussion
27
+ ---- | ----
28
+ WG Status | **Linter Rules**: Linter rules applied and working successfully. Thanks to all support from Rafał.<br> **Meeting Minutes 22th/February**: [Minutes](https://github.com/camaraproject/BlockchainPublicAddress/pull/43) approved and `MERGED`.
29
+ [Issue#16](https://github.com/camaraproject/BlockchainPublicAddress/issues/16) | Georgios, Rafal and Jorge cannot attend the meeting. The issue is postponed until the next meeting.
30
+ [Issue#46](https://github.com/camaraproject/BlockchainPublicAddress/issues/46) | Manage Duplicated Bindings and Improve Description. Issue opened by Telefonica, to address the case when a binding with a specific configuration (phoneNumber, blockchainNetworkId, blockchainPublicAddress and optionally currency) already exists, and a new one (POST) with the same configuration is triggered. The proposed exception is `HTTP 409 - CONFLICT`. Also some description rewording and fixing is proposed. Commented during the meeting to be reviewed offline and talk in the next meeting. Generated related [PR#47](https://github.com/camaraproject/BlockchainPublicAddress/pull/47).
31
+ AoB | Pedro indicates he is not able to attend next meeting (21th March). Rafał also cannot. Then the next meeting will be held on 4th April.
32
+
33
+
34
+ ### Next Steps
35
+ - Next Meetings:<br/>
36
+ • Next meeting: 4th April, 11:30 - 12:30 CET<br/>
marked/BlockchainPublicAddress/documentation/MeetingMinutes/README/raw.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ ## RELEVANT INFORMATION
2
+
3
+ Since 4th April WG Meeting, meeting minutes are placed in [CAMARA Blockchain Public Address WG Wiki Confluence site](https://lf-camaraproject.atlassian.net/wiki/x/thDe)
marked/BlockchainPublicAddress/documentation/SupportingDocuments/README/raw.md ADDED
@@ -0,0 +1 @@
 
 
1
+ This README.MD can be deleted when the first file is added to this directory.
marked/CallForwardingSignal/README/raw.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <a href="https://github.com/camaraproject/CallForwardingSignal/commits/" title="Last Commit"><img src="https://img.shields.io/github/last-commit/camaraproject/CallForwardingSignal?style=plastic"></a>
2
+ <a href="https://github.com/camaraproject/CallForwardingSignal/issues" title="Open Issues"><img src="https://img.shields.io/github/issues/camaraproject/CallForwardingSignal?style=plastic"></a>
3
+ <a href="https://github.com/camaraproject/CallForwardingSignal/pulls" title="Open Pull Requests"><img src="https://img.shields.io/github/issues-pr/camaraproject/CallForwardingSignal?style=plastic"></a>
4
+ <a href="https://github.com/camaraproject/CallForwardingSignal/graphs/contributors" title="Contributors"><img src="https://img.shields.io/github/contributors/camaraproject/CallForwardingSignal?style=plastic"></a>
5
+ <a href="https://github.com/camaraproject/CallForwardingSignal" title="Repo Size"><img src="https://img.shields.io/github/repo-size/camaraproject/CallForwardingSignal?style=plastic"></a>
6
+ <a href="https://github.com/camaraproject/CallForwardingSignal/blob/main/LICENSE" title="License"><img src="https://img.shields.io/badge/License-Apache%202.0-green.svg?style=plastic"></a>
7
+ <a href="https://github.com/camaraproject/CallForwardingSignal/releases/latest" title="Latest Release"><img src="https://img.shields.io/github/release/camaraproject/CallForwardingSignal?style=plastic"></a>
8
+ <a href="https://github.com/camaraproject/Governance/blob/main/ProjectStructureAndRoles.md" title="Incubating API Repository"><img src="https://img.shields.io/badge/Incubating%20API%20Repository-green?style=plastic"></a>
9
+
10
+ # CallForwardingSignal
11
+
12
+ Incubating API Repository to evolve and maintain the definitions and documentation of CallForwardingSignal Service API within the Sub Project [Call Forwarding Signal](https://lf-camaraproject.atlassian.net/wiki/x/IIAfBQ).
13
+
14
+ * API Repository [wiki page](https://lf-camaraproject.atlassian.net/wiki/x/HADe)
15
+
16
+ ## Scope
17
+ * Service APIs for “CallForwardingSignal” (see APIBacklog.md)
18
+ * It provides the API consumer with the ability to:
19
+ * retrieve information about the status of the Call Forwarding Service on a specific phone number.
20
+ * avoid fraud leveraging the Call Forwarding Service.
21
+ * The main scope of the Call Forwarding Signal API is anti fraud to avoid fraudsters to use the Call Forwarding Service to carry on a scam. Other use cases are anyway supported by the Call Forwarding Signal API that also provides additional endpoints to detect the general Call Forwarding Service settings.
22
+ * Describe, develop, document and test the API
23
+ * Started: February 2024
24
+ * Incubating stage since: February 2025
25
+
26
+ <!-- CAMARA:RELEASE-INFO:START -->
27
+ <!-- The following section is automatically maintained by the CAMARA project-administration tooling: https://github.com/camaraproject/project-administration -->
28
+
29
+ ## Release Information
30
+
31
+ > [!NOTE]
32
+ > Please be aware that the project will have frequent updates to the main branch. There are no compatibility guarantees associated with code in any branch, including main, until a new release is created. For example, changes may be reverted before a release is created. **For best results, use the latest available release**.
33
+
34
+ * **NEW**: The latest public release is [r3.3](https://github.com/camaraproject/CallForwardingSignal/releases/tag/r3.3) (Fall25), with the following API versions:
35
+ * **call-forwarding-signal v0.4.0**
36
+ [[YAML]](https://github.com/camaraproject/CallForwardingSignal/blob/r3.3/code/API_definitions/call-forwarding-signal.yaml)
37
+ [[ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/CallForwardingSignal/r3.3/code/API_definitions/call-forwarding-signal.yaml&nocors)
38
+ [[Swagger]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/CallForwardingSignal/r3.3/code/API_definitions/call-forwarding-signal.yaml)
39
+ * The latest public release is always available here: https://github.com/camaraproject/CallForwardingSignal/releases/latest
40
+ * Other releases of this repository are available in https://github.com/camaraproject/CallForwardingSignal/releases
41
+ * For changes see [CHANGELOG.md](https://github.com/camaraproject/CallForwardingSignal/blob/main/CHANGELOG.md)
42
+
43
+ _The above section is automatically synchronized by CAMARA project-administration._
44
+ <!-- CAMARA:RELEASE-INFO:END -->
45
+
46
+ ## Contributing
47
+ * Meetings are held virtually
48
+ * Schedule: Monday 15h-16 CET, usually every two weeks. For the next meetings information, have a look on the [API Wiki Page](https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/14549020/CallForwardingSignal).
49
+ * [Registration / Join](https://zoom-lfx.platform.linuxfoundation.org/meeting/96706226837?password=2d113354-bf97-4441-8d6d-9fd0ae69f2d1)
50
+ * Minutes: Access [meeting minutes](https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/14574452/CallForwardingSignal+Minutes?atlOrigin=eyJpIjoiNjc1Mzc3ZWIwNGI4NGRhMmE2YjBkMGFjNmFjMTNiZDUiLCJwIjoiYyJ9)
51
+ * Mailing List
52
+ * Subscribe / Unsubscribe to the mailing list <https://lists.camaraproject.org/g/sp-cfs>.
53
+ * A message to all Contributors of this Sub Project can be sent using <sp-cfs@lists.camaraproject.org>.
marked/CallForwardingSignal/code/API_definitions/call-forwarding-signal/raw.md ADDED
@@ -0,0 +1,603 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # call-forwarding-signal
2
+
3
+ ```yaml
4
+ ---
5
+ openapi: 3.0.3
6
+ ############################################################################
7
+ # API info #
8
+ ############################################################################
9
+ info:
10
+ title: Call Forwarding Signal
11
+ description: |
12
+ # Overview
13
+ The Call Forwarding Signal API provides the API Consumer with
14
+ information about the status of the Call Forwarding Service on a specific
15
+ phone number. The main scope of the Call Forwarding Signal API is "anti
16
+ Fraud" to avoid fraudsters to use the Call Forwarding Service to carry
17
+ on a scam. Other use cases are anyway supported by the Call Forwarding
18
+ Signal API that also
19
+ provides additional endpoints to detect the general Call Forwarding
20
+ Service settings.
21
+ # Introduction
22
+ The Call Forwarding Service is provided by the Network to a phone
23
+ number. This service redirects the incoming call to that phone number
24
+ to an alternative destination such as another phone number or a voice mail
25
+ system. There are two main types of call forwarding settings:
26
+ unconditional and conditional.
27
+ The Call Forwarding Signal API can be invoked to detect if the unconditional
28
+ call forwarding service is active. The Call Forwarding Signal API can also
29
+ be invoked to
30
+ get the general status of the Call Forwarding Service (inactive,
31
+ conditional, unconditional). If conditional call forwarding is active,
32
+ the different type of settings are returned ('conditional_busy',
33
+ 'conditional_not_reachable', 'conditional_no_answer').
34
+
35
+ **Example use cases:**
36
+
37
+ [**Bank Frauds**](https://github.com/camaraproject/CallForwardingSignal/discussions/3#discussioncomment-8694420)
38
+
39
+ [**Alert Interception**](https://github.com/camaraproject/CallForwardingSignal/discussions/3#discussioncomment-8701847)
40
+
41
+ [**Call Forwarding Verification**](https://github.com/camaraproject/CallForwarding\Signal/discussions/3#discussioncomment-8915595)
42
+ # Quick Start
43
+ The Call Forwarding Signal API is a REST API based on the
44
+ CreateCallForwardingSignal resource.
45
+ This resource can be used, by the API Consumer, to specify the phone number
46
+ on which the Call Forwarding Service status must be verified, in case of
47
+ two-legged authentication. If three-legged authentication is used the phone
48
+ number is instead detected, by the API Producer, from the access token.
49
+
50
+ Before starting to use the Call Forwarding API, the developer needs to know
51
+ about the below specified details:
52
+
53
+ **phoneNumber**
54
+ This is the end user phone number. The Call Forwarding Signal API verifies
55
+ if a call forwarding
56
+ service is active on this phone number. Note: this parameter must be
57
+ must be provided/valued only in case of two-legged authentication.
58
+ In case of three-legged authentication the phone number is retrieved by
59
+ the access token.
60
+
61
+ **CreateCallForwardingSignal**
62
+ This is the resource the API Consumer uses to define the phone number to
63
+ be verified about the status of the Network Call Forwarding service.
64
+
65
+ **UnconditionalCallForwardingSignal**
66
+ This is the resource the API Consumer gets back, containing the information
67
+ about the Unconditional Call Forwarding Service status for the given phone
68
+ number (PhoneNumber).
69
+
70
+ **CallForwardingSignal**
71
+ This is the resource the API Consumer gets back, containing the information
72
+ about the general status of the Network Call Forwarding service for the
73
+ specified phone number.
74
+
75
+ The Call Forwarding Signal API provides two endpoints fulfilling the
76
+ following intents:
77
+ - **unconditional-call-forwardings**: Is the unconditional call fwd service
78
+ active on a specific phone number?
79
+ - **call-forwardings**: Which is the status of the call forwarding for a
80
+ specific phone number?
81
+ # API Documentation
82
+ ## Details
83
+ The Call Forwarding Signal API is invoked by an API Consumer after the
84
+ Consent Management flow.
85
+
86
+ The API Consumer can request the API Producer for the status of the
87
+ Unconditional Call Forwarding service using the
88
+ unconditional-call-forwardings POST method. A boolean, with the information
89
+ about the activation status of the call forwarding service, will be
90
+ provided back via the UnconditionalCallForwardingSignal resource.
91
+
92
+ The API Consumer can also request the API Producer for the generic status of
93
+ the Call Forwarding service using the call-forwardings POST method. An array
94
+ of strings with the information of the type of active call forwarding
95
+ services will be provided back via the CallForwardingSignal resource.
96
+ # Authorization and authentication
97
+ The "Camara Security and Interoperability Profile" provides details of how
98
+ an API consumer requests an access token. Please refer to Identity and
99
+ Consent Management
100
+ (https://github.com/camaraproject/IdentityAndConsentManagement/)
101
+ for the released version of the profile.
102
+
103
+ The specific authorization flows to be used will be agreed upon during the
104
+ onboarding process, happening between the API consumer and the API
105
+ provider, taking into account the declared purpose for accessing the API,
106
+ whilst also being subject to the prevailing legal framework dictated by
107
+ local legislation.
108
+
109
+ In cases where personal data is processed by the API and users can
110
+ exercise their rights through mechanisms such as opt-in and/or opt-out,
111
+ the use of three-legged access tokens is mandatory. This ensures that
112
+ the API remains in compliance with privacy regulations, upholding the
113
+ principles of transparency and user-centric privacy-by-design.
114
+ # Identifying the phone number from the access token
115
+ This API requires the API consumer to identify a phone number as the
116
+ subject of the API as follows:
117
+ - When the API is invoked using a two-legged access token, the subject
118
+ will be identified from the optional `phoneNumber` object field, which
119
+ therefore MUST be provided.
120
+ - When a three-legged access token is used however, this optional
121
+ identifier MUST NOT be provided, as the subject will be uniquely
122
+ identified from the access token.
123
+
124
+ This approach simplifies API usage for API consumers using a
125
+ three-legged access token to invoke the API by relying on the
126
+ information that is associated with the access token and was
127
+ identified during the authentication process.
128
+ ## Error handling:
129
+
130
+ - If the subject cannot be identified from the access token and the
131
+ optional `phoneNumber` object field is not included in the request, then
132
+ the server will return an error with the
133
+ `422 MISSING_IDENTIFIER` error code.
134
+
135
+ - If the subject can be identified from the access token and the
136
+ optional `phoneNumber` object field is also included in the request, then
137
+ the server will return an error with the `422 UNNECESSARY_IDENTIFIER`
138
+ error code. This will be the case even if the same device is
139
+ identified by these two methods, as the server is unable to make
140
+ this comparison.
141
+
142
+ # Additional CAMARA error responses
143
+ The list of error codes in this API specification is not exhaustive.
144
+ Therefore the API specification may not document some non-mandatory error
145
+ statuses as indicated in `CAMARA API Design Guide`.
146
+
147
+ Please refer to the `CAMARA_common.yaml` of the Commonalities Release
148
+ associated to this API version for a complete list of error responses.
149
+ The applicable Commonalities Release can be identified in the
150
+ `API Readiness Checklist` document associated to this API version.
151
+
152
+ As a specific rule, error `501 - NOT_IMPLEMENTED` can be only a possible
153
+ error response if it is explicitly documented in the API.
154
+ # FAQ's
155
+ (FAQs will be added in a later version of the documentation)
156
+
157
+ version: wip
158
+ license:
159
+ name: Apache 2.0
160
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
161
+ x-camara-commonalities: 0.6
162
+ externalDocs:
163
+ description: Product documentation at CAMARA
164
+ url: https://github.com/camaraproject/CallForwardingSignal
165
+ ############################################################################
166
+ # Servers #
167
+ ############################################################################
168
+ servers:
169
+ - url: "{apiRoot}/call-forwarding-signal/vwip"
170
+ variables:
171
+ apiRoot:
172
+ default: http://localhost:9091
173
+ description: API root, defined by the service provider, e.g. `api.example.com` or `api.example.com/somepath`
174
+ ############################################################################
175
+ # Tags #
176
+ ############################################################################
177
+ tags:
178
+ - name: Unconditional Call Forwarding information retrieval
179
+ description: Provides information on Unconditional Call Forwarding
180
+ settings for the provided phone number (PhoneNumber)
181
+ - name: Call Forwarding information retrieval
182
+ description: Provides information on Call Forwarding settings for the
183
+ provided phone number (PhoneNumber).
184
+ ############################################################################
185
+ # Paths #
186
+ ############################################################################
187
+ paths:
188
+ /unconditional-call-forwardings:
189
+ post:
190
+ tags:
191
+ - Unconditional Call Forwarding information retrieval
192
+ security:
193
+ - openId:
194
+ - 'call-forwarding-signal:unconditional-call-forwardings:read'
195
+ summary: Retrieve the information about the status of the
196
+ unconditional call forwarding service on a phone number (PhoneNumber)
197
+ description: This endpoint provides information about the status
198
+ of the unconditional call forwarding, being active or not.
199
+ operationId: retrieveUnconditionalCallForwarding
200
+ parameters:
201
+ - $ref: '#/components/parameters/x-correlator'
202
+ requestBody:
203
+ content:
204
+ application/json:
205
+ schema:
206
+ $ref: '#/components/schemas/CreateCallForwardingSignal'
207
+ required: true
208
+ responses:
209
+ '200':
210
+ description: OK.
211
+ headers:
212
+ x-correlator:
213
+ $ref: '#/components/headers/x-correlator'
214
+ content:
215
+ application/json:
216
+ schema:
217
+ $ref: '#/components/schemas/UnconditionalCallForwardingSignal'
218
+ "400":
219
+ $ref: "#/components/responses/Generic400"
220
+ '404':
221
+ $ref: '#/components/responses/Generic404'
222
+ "401":
223
+ $ref: "#/components/responses/Generic401"
224
+ "403":
225
+ $ref: "#/components/responses/Generic403"
226
+ "422":
227
+ $ref: "#/components/responses/Generic422"
228
+ "429":
229
+ $ref: "#/components/responses/Generic429"
230
+ /call-forwardings:
231
+ post:
232
+ tags:
233
+ - Call Forwarding information retrieval
234
+ security:
235
+ - openId:
236
+ - 'call-forwarding-signal:call-forwardings:read'
237
+ summary: Retrieve the information about the type of call forwarding
238
+ service active on a phone number (PhoneNumber)
239
+ description: This endpoint provides information about which type of
240
+ call forwarding service is active. More than one service can be
241
+ active, e.g. conditional and unconditional. This endpoint exceeds
242
+ the main scope of the Call Forwarding Signal API, for this reason
243
+ an error code 501 can be returned.
244
+ operationId: retrieveCallForwarding
245
+ parameters:
246
+ - $ref: '#/components/parameters/x-correlator'
247
+ requestBody:
248
+ content:
249
+ application/json:
250
+ schema:
251
+ $ref: '#/components/schemas/CreateCallForwardingSignal'
252
+ required: true
253
+ responses:
254
+ '200':
255
+ description: OK.
256
+ headers:
257
+ x-correlator:
258
+ $ref: '#/components/headers/x-correlator'
259
+ content:
260
+ application/json:
261
+ schema:
262
+ $ref: '#/components/schemas/CallForwardingSignal'
263
+ "400":
264
+ $ref: "#/components/responses/Generic400"
265
+ '404':
266
+ $ref: '#/components/responses/Generic404'
267
+ "401":
268
+ $ref: "#/components/responses/Generic401"
269
+ "403":
270
+ $ref: "#/components/responses/Generic403"
271
+ "422":
272
+ $ref: "#/components/responses/Generic422"
273
+ "429":
274
+ $ref: "#/components/responses/Generic429"
275
+ "501":
276
+ $ref: "#/components/responses/Generic501"
277
+ ############################################################################
278
+ # Components #
279
+ ############################################################################
280
+ components:
281
+ securitySchemes:
282
+ openId:
283
+ description: to support Consent Management
284
+ type: openIdConnect
285
+ openIdConnectUrl: https://example.com/.well-known/openid-configuration
286
+ parameters:
287
+ x-correlator:
288
+ name: x-correlator
289
+ in: header
290
+ description: Correlation id for the different services
291
+ schema:
292
+ $ref: "#/components/schemas/XCorrelator"
293
+ headers:
294
+ x-correlator:
295
+ description: Correlation id for the different services
296
+ schema:
297
+ $ref: "#/components/schemas/XCorrelator"
298
+ ############################################################################
299
+ # Resources #
300
+ ############################################################################
301
+ schemas:
302
+ UnconditionalCallForwardingSignal:
303
+ description: resource containing the information about the Unconditional
304
+ Call Forwarding Service for the given phone number (PhoneNumber)
305
+ type: object
306
+ properties:
307
+ active:
308
+ type: boolean
309
+ description: Indicates if the unconditional call forwarding service
310
+ is active.
311
+ CallForwardingSignal:
312
+ description: resource containing the list of the Call
313
+ Forwarding Services active for the given phone number (PhoneNumber). The
314
+ possible states are, 'inactive' (no call forwarding service activated),
315
+ 'unconditional' (call forwarded independently from the device status),
316
+ 'conditional_busy' (call forwarded if the device is on an active call),
317
+ 'conditional_not_reachable' (call forwarded if the device is not
318
+ reachable), 'conditional_no_answer' (call forwarded if the device doesn't
319
+ answer the incoming call).
320
+ type: array
321
+ items:
322
+ type: string
323
+ enum:
324
+ - 'inactive'
325
+ - 'unconditional'
326
+ - 'conditional_busy'
327
+ - 'conditional_not_reachable'
328
+ - 'conditional_no_answer'
329
+ example:
330
+ - 'unconditional'
331
+ - 'conditional_busy'
332
+ - 'conditional_no_answer'
333
+ minItems: 1
334
+ XCorrelator:
335
+ type: string
336
+ pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$
337
+ example: "b4333c46-49c0-4f62-80d7-f0ef930f1c46"
338
+ ############################################################################
339
+ # Request #
340
+ ############################################################################
341
+ CreateCallForwardingSignal:
342
+ description: resource containing the phone number (PhoneNumber) regarding
343
+ which the Call Forwarding Service must be checked. To be provided/valued
344
+ only in case of two-legged authentication. If provided/valued with
345
+ three-legged authentication a 422-UNNECESSARY_IDENTIFIER error code is
346
+ returned.
347
+ type: object
348
+ properties:
349
+ phoneNumber:
350
+ $ref: "#/components/schemas/PhoneNumber"
351
+ ############################################################################
352
+ # Types #
353
+ ############################################################################
354
+ PhoneNumber:
355
+ description: A public identifier addressing a telephone subscription.
356
+ In mobile networks it corresponds to the MSISDN (Mobile Station
357
+ International Subscriber Directory Number). In order to be globally
358
+ unique it has to be formatted in international format, according to E.164
359
+ standard, prefixed with '+'.
360
+ type: string
361
+ pattern: '^\+[1-9][0-9]{4,14}$'
362
+ example: "+123456789"
363
+ ############################################################################
364
+ # Responces #
365
+ ############################################################################
366
+ ErrorInfo:
367
+ type: object
368
+ required:
369
+ - status
370
+ - code
371
+ - message
372
+ properties:
373
+ status:
374
+ type: integer
375
+ description: HTTP response status code
376
+ code:
377
+ type: string
378
+ description: A human-readable code to describe the error
379
+ message:
380
+ type: string
381
+ description: A human-readable description of what the event represents
382
+ responses:
383
+ Generic400:
384
+ description: Bad Request
385
+ headers:
386
+ x-correlator:
387
+ $ref: "#/components/headers/x-correlator"
388
+ content:
389
+ application/json:
390
+ schema:
391
+ allOf:
392
+ - $ref: "#/components/schemas/ErrorInfo"
393
+ - type: object
394
+ properties:
395
+ status:
396
+ enum:
397
+ - 400
398
+ code:
399
+ enum:
400
+ - INVALID_ARGUMENT
401
+ examples:
402
+ GENERIC_400_INVALID_ARGUMENT:
403
+ description: Invalid Argument. Generic Syntax Exception
404
+ value:
405
+ status: 400
406
+ code: INVALID_ARGUMENT
407
+ message: Client specified an invalid argument, request body or
408
+ query param.
409
+ Generic401:
410
+ description: Unauthorized
411
+ headers:
412
+ x-correlator:
413
+ $ref: "#/components/headers/x-correlator"
414
+ content:
415
+ application/json:
416
+ schema:
417
+ allOf:
418
+ - $ref: "#/components/schemas/ErrorInfo"
419
+ - type: object
420
+ properties:
421
+ status:
422
+ enum:
423
+ - 401
424
+ code:
425
+ enum:
426
+ - UNAUTHENTICATED
427
+ examples:
428
+ GENERIC_401_UNAUTHENTICATED:
429
+ description: Request cannot be authenticated and a new authentication
430
+ is required
431
+ value:
432
+ status: 401
433
+ code: UNAUTHENTICATED
434
+ message: Request not authenticated due to missing, invalid, or expired
435
+ credentials. A new authentication is required.
436
+ Generic403:
437
+ description: Forbidden
438
+ headers:
439
+ x-correlator:
440
+ $ref: "#/components/headers/x-correlator"
441
+ content:
442
+ application/json:
443
+ schema:
444
+ allOf:
445
+ - $ref: "#/components/schemas/ErrorInfo"
446
+ - type: object
447
+ properties:
448
+ status:
449
+ enum:
450
+ - 403
451
+ code:
452
+ enum:
453
+ - PERMISSION_DENIED
454
+ examples:
455
+ GENERIC_403_PERMISSION_DENIED:
456
+ description: Permission denied. OAuth2 token access does not have
457
+ the required scope or when the user fails operational security
458
+ value:
459
+ status: 403
460
+ code: PERMISSION_DENIED
461
+ message: Client does not have sufficient permissions to perform
462
+ this action.
463
+ Generic404:
464
+ description: Not found
465
+ headers:
466
+ x-correlator:
467
+ $ref: "#/components/headers/x-correlator"
468
+ content:
469
+ application/json:
470
+ schema:
471
+ allOf:
472
+ - $ref: "#/components/schemas/ErrorInfo"
473
+ - type: object
474
+ properties:
475
+ status:
476
+ enum:
477
+ - 404
478
+ code:
479
+ enum:
480
+ - NOT_FOUND
481
+ - IDENTIFIER_NOT_FOUND
482
+ examples:
483
+ GENERIC_404_NOT_FOUND:
484
+ description: Resource is not found
485
+ value:
486
+ status: 404
487
+ code: NOT_FOUND
488
+ message: The specified resource is not found.
489
+ GENERIC_404_IDENTIFIER_NOT_FOUND:
490
+ description: Call forwarding check can't be done because the
491
+ phone number is unknown.
492
+ value:
493
+ status: 404
494
+ code: IDENTIFIER_NOT_FOUND
495
+ message: Device identifier not found.
496
+ Generic422:
497
+ description: Unprocessable Content
498
+ headers:
499
+ x-correlator:
500
+ $ref: "#/components/headers/x-correlator"
501
+ content:
502
+ application/json:
503
+ schema:
504
+ allOf:
505
+ - $ref: "#/components/schemas/ErrorInfo"
506
+ - type: object
507
+ properties:
508
+ status:
509
+ enum:
510
+ - 422
511
+ code:
512
+ enum:
513
+ - SERVICE_NOT_APPLICABLE
514
+ - MISSING_IDENTIFIER
515
+ - UNNECESSARY_IDENTIFIER
516
+ examples:
517
+ GENERIC_422_SERVICE_NOT_APPLICABLE:
518
+ description: Service not applicable for the provided
519
+ identifier
520
+ value:
521
+ status: 422
522
+ code: SERVICE_NOT_APPLICABLE
523
+ message: The service is not available for the
524
+ provided identifier.
525
+ GENERIC_422_MISSING_IDENTIFIER:
526
+ description: An identifier is not included in the
527
+ request and the device or phone number identification
528
+ cannot be derived from the 3-legged access token
529
+ value:
530
+ status: 422
531
+ code: MISSING_IDENTIFIER
532
+ message: The phone number cannot be identified.
533
+ GENERIC_422_UNNECESSARY_IDENTIFIER:
534
+ description: An explicit identifier is provided when
535
+ a device or phone number has already been identified
536
+ from the access token
537
+ value:
538
+ status: 422
539
+ code: UNNECESSARY_IDENTIFIER
540
+ message: The phone number is already identified by the
541
+ access token.
542
+ Generic429:
543
+ description: Too Many Requests
544
+ headers:
545
+ x-correlator:
546
+ $ref: "#/components/headers/x-correlator"
547
+ content:
548
+ application/json:
549
+ schema:
550
+ allOf:
551
+ - $ref: "#/components/schemas/ErrorInfo"
552
+ - type: object
553
+ properties:
554
+ status:
555
+ enum:
556
+ - 429
557
+ code:
558
+ enum:
559
+ - QUOTA_EXCEEDED
560
+ - TOO_MANY_REQUESTS
561
+ examples:
562
+ GENERIC_429_QUOTA_EXCEEDED:
563
+ description: Request is rejected due to exceeding a
564
+ business quota limit
565
+ value:
566
+ status: 429
567
+ code: QUOTA_EXCEEDED
568
+ message: Out of resource quota.
569
+ GENERIC_429_TOO_MANY_REQUESTS:
570
+ description: Access to the API has been temporarily
571
+ blocked due to rate or spike arrest limits being reached
572
+ value:
573
+ status: 429
574
+ code: TOO_MANY_REQUESTS
575
+ message: Rate limit reached.
576
+ Generic501:
577
+ description: Not Implemented
578
+ headers:
579
+ x-correlator:
580
+ $ref: "#/components/headers/x-correlator"
581
+ content:
582
+ application/json:
583
+ schema:
584
+ allOf:
585
+ - $ref: "#/components/schemas/ErrorInfo"
586
+ - type: object
587
+ properties:
588
+ status:
589
+ enum:
590
+ - 501
591
+ code:
592
+ enum:
593
+ - NOT_IMPLEMENTED
594
+ examples:
595
+ GENERIC_501_NOT_IMPLEMENTED:
596
+ description: Service not implemented. The use of this code
597
+ should be avoided as far as possible to get the objective
598
+ to reach aligned implementations
599
+ value:
600
+ status: 501
601
+ code: NOT_IMPLEMENTED
602
+ message: This functionality is not implemented yet.
603
+ ```
marked/CallForwardingSignal/documentation/API_documentation/Call-Forwarding-Signal-UserStory-UseCase-1/raw.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ | Item | Description | Support Qualifier |
3
+ |----|----|----|
4
+ |Summary|Banks offer the option for end users to receive telephone calls to solve problems, e.g. in case of issues with the bank App, issues with Smartphones, the bank website or any tool providing access to the online bank account management system. How does the fraudster operate? <br>• Through social engineering, the fraudster gathers information about bank end users who are engaged in such a situation, needing the bank to contact them.<br>• Once they identify the service provider and the phone number of an end user, they manage to successfully activate, on the end user's profile, the 'unconditional call forwarding' to a phone number they control.<br>• After successfully setting up 'unconditional call forwarding,' the fraudster then contacts the bank, claiming an inability to access online banking services and requesting a call from a bank representative.<br>• When the bank calls the registered contact number of the end user, the active 'unconditional call forwarding' diverts the call directly to the fraudster, thus completing their scheme.<br> The Bank Application, before contacting the end user's phone number, invokes the Call Forwarding Signal API to verify if a "unconditional call forwarding" option is active on the end user's phone, avoiding such a fraud| M |
5
+ |Roles, Actor(s) and scope|Bank Application: role of Call Forwarding Signal API consumer<br>API Provider: role of Call Forwarding Signal API provider<br>End User: role of owner of the phone number to be verified<br>Scope: Anti fraud| M |
6
+ |NF Requirements|| O |
7
+ |Pre-conditions|• The Bank Application is aware of the End User's phone number<br>• The End User gave the consent to check for the Call Forwarding Service activation on his phone number.| M |
8
+ |Begins when|The Bank Application invokes the Call Forwarding Signal API to get the information on the status of the Unconditional Call Forwarding Service for his End User's phone number.| M |
9
+ |Step 1|The API Provider identifies the Bank Application as a valid Call Forwarding Signal API Consumer| M |
10
+ |Step 2|The API Provider verifies the User Consent| M|
11
+ |Step 3|The Bank Application invokes the Call Forwarding Signal API Producer providing the End User's phone number asking for the status of the Unconditional Call Forwarding Service | M |
12
+ |Step 4|The Call Forwarding Signal API Producer checks if the End User's phone number has an active Unconditional Call Forwarding Service| M |
13
+ |Ends when|The Call Forwarding Signal API Producer notifies the Bank Application about the status of the Unconditional Call Forwarding Service| M |
14
+ |Post-conditions|The Bank Application is aware of the status for the Unconditional Call Forwarding Service for the End User's phone number | M |
15
+ |Exceptions|Step 4 can generate an exception to be notified to the Bank Application| M |
marked/CallForwardingSignal/documentation/API_documentation/call-forwarding-signal-API-Readiness-Checklist/raw.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # API Readiness Checklist
3
+
4
+ Checklist for API call-forwarding-signal v0.4.0 in r3.3
5
+
6
+
7
+ | Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Reference information |
8
+ |----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|:----|
9
+ | 1 | API definition | M | M | M | M | Y | [link](/code/API_definitions/call-forwarding-signal.yaml) |
10
+ | 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) |
11
+ | 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) |
12
+ | 4 | API versioning convention applied | M | M | M | M | Y | v0.4.0 |
13
+ | 5 | API documentation | M | M | M | M | Y | inline in YAML |
14
+ | 6 | User stories | O | O | O | M | Y | [link](/documentation/API_documentation/CFS_UserStory_UseCase-1.md) |
15
+ | 7 | Basic API test cases & documentation | O | M | M | M | Y | [call-forwarding-signal-every-forwarding](/code/Test_definitions/call-forwarding-signal-every-forwarding.feature), [call-forwarding-signal-unconditional](/code/Test_definitions/call-forwarding-signal-unconditional.feature) |
16
+ | 8 | Enhanced API test cases & documentation | O | O | O | M | Y | [call-forwarding-signal-every-forwarding](/code/Test_definitions/call-forwarding-signal-every-forwarding.feature), [call-forwarding-signal-unconditional](/code/Test_definitions/call-forwarding-signal-unconditional.feature) |
17
+ | 9 | Test result statement | O | O | O | M | N | |
18
+ | 10 | API release numbering convention applied | M | M | M | M | Y | r3.3 |
19
+ | 11 | Change log updated | M | M | M | M | Y | [link](/CHANGELOG.md) |
20
+ | 12 | Previous public-release was certified | O | O | O | M | N | |
21
+ | 13 | API description (for marketing) | O | O | M | M | Y | [wiki link](https://lf-camaraproject.atlassian.net/wiki/x/uoDVB) |
22
+
23
+ The documentation for the content of the checklist is here: see API Readiness Checklist section in the [API Release Process](https://lf-camaraproject.atlassian.net/wiki/x/jine).