Open akoshunyadi opened 1 month ago
I think it would make a sense to first discuss and agree here on the general functionality e.g. endpoints and data in & out
As I understand, something like this is required:
base path: device-quality-indicator
POST /retrieve Request:
Response:
POST /subscriptions Request:
Questions:
Just checking , whether it's better to have one consolidated endpoint (/retrieve) that provides all information like "network-status" and "congestion-history" etc in a single response, or whether it's more efficient to separate these concerns into multiple endpoints (e.g., one for real-time status and another for historical congestion data).
@akoshunyadi Could you also confirm whether the following two things should be included in this API or not, as they will be available in the DeviceDataVolume API as well I guess? 1) Remaining data volume of the contract: <200MB/<1GB/... 2) Speed limitations of the contract: ?
@akoshunyadi I also wanted to ask if I should create two separate MRs: one for the /retrieve endpoint and another for the /subscriptions endpoint. This would make it easier to review them individually. Please let me know your thoughts.
@akoshunyadi Could you also confirm whether the following two things should be included in this API or not, as they will be available in the DeviceDataVolume API as well I guess?
1. Remaining data volume of the contract: <200MB/<1GB/... 2. Speed limitations of the contract: ?
Yes, that's our requirement. DeviceDataVolume is clear, that's the other new API we should work on. About Speed limitations of the contract I don't have informations yet.
@akoshunyadi I also wanted to ask if I should create two separate MRs: one for the /retrieve endpoint and another for the /subscriptions endpoint. This would make it easier to review them individually. Please let me know your thoughts.
I would prefer 1 PR, that's easier to keep in sync, because similar changes may be necessary in both, after the reviews. But first we should agree here, how the API should work. How to combine these inputs? I mean creating an OAS which just returns a number, it's easy, but that doesn't solve the problem.
To summarize the current ideas:
Problem description Create initial version based on https://github.com/camaraproject/APIBacklog/blob/main/documentation/API%20proposals/APIProposal_Device_Connection_Quality_Indicator.md
Input:
Possible evolution Provide OAS file(s)
Alternative solution
Additional context