Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create initial version #7

Open
akoshunyadi opened this issue Sep 18, 2024 · 5 comments
Open

Create initial version #7

akoshunyadi opened this issue Sep 18, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@akoshunyadi
Copy link

Problem description
Initial version of the API(s) should be created, based on https://github.com/camaraproject/APIBacklog/blob/main/documentation/API%20proposals/APIProposal_DeviceDataVolume.md

Possible evolution
Provide OAS file(s)

Alternative solution

Additional context

@akoshunyadi akoshunyadi added the enhancement New feature or request label Sep 18, 2024
@akoshunyadi
Copy link
Author

akoshunyadi commented Sep 19, 2024

I think it would make a sense to first discuss and agree here on the general functionality e.g. endpoints and data in & out

@akoshunyadi
Copy link
Author

As I understand, something like this is required:

base path: device-data-volume

POST /retrieve
Request:

  • device

Response:

  • enum of predefined volume categories (e.g. <200MB, <1GB, <5GB, >=5GB)

POST /subscriptions
Request:

  • device
  • enum of predefined volume categories, when changing to the specific cat: (e.g. <200MB, <1GB, <5GB, >=5GB) or on all changes

Questions:

  • Do we need percentual value in the response?
  • Do we need the booked volume in the response?
  • Do we need a free volume value in the request to check against?
  • Do we need 3-legged auth?

@sachinvodafone
Copy link
Contributor

Hi All, I need some scope clarification on a scenario where the user has multiple active data plans, such as a 4-hour time-bound package purchased within a specific timeframe and a separate 5GB mobile data plan, how should the API manage notifications?

  • Should the user receive separate notifications for each plan ?
  • Should there be a single, unified notification summarizing both plans?

@bigludo7
Copy link

bigludo7 commented Oct 4, 2024

Hello
Another idea here. Can we think also about an check operation? In this case the requester will provide device identifier and data volume to be checked. The answer will just provide a boolean to indicate if remaining data volume is above this volume to be checked.

I propose this because, first, it is less sensitive on user data to be provided and second because we imagine UC where the app developer wants to check before an update, a download or a session that there is enough data credit on the line to trigger it.

@akoshunyadi
Copy link
Author

@bigludo7 I agree, a check against an input value is the most flexible solution and it doesn't expose additional (sensitive) information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants