Replies: 8 comments
-
TEF stand is option 2. The more atomic/granular API definition, the easier to make progress on versioning/releasing (or to deprecate features that didn't succeed). |
Beta Was this translation helpful? Give feedback.
-
We from DT think that APIs shouldn't be atomic which would cause a big overhead on both provider and user sides and also here in Camara. But for future we support the idea of splitting APIs to prevent too complex APIs. |
Beta Was this translation helpful? Give feedback.
-
In order to move forward on this topic we opened an issue on Device Status API there to get member feedback: camaraproject/DeviceStatus#34 I'm wondering if, finally, this question could be handled globally in Commonalities instead to be at API working group level. We can probably list in commonalities pros/cons for both pattern and make recommendation to pick one or the other depending on the case - but I doubt we can have a golden rule enforcing one pattern in all situation. |
Beta Was this translation helpful? Give feedback.
-
As this issue is still open, I'll comment that Vodafone's preference is for the second approach, where additional endpoints are implemented as separate APIs. The primary reason for this was flexibility in implementation and API management. However, it is recognised that both approaches could be made to work. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Thank you @sachinvodafone for the exhaustive analysis. |
Beta Was this translation helpful? Give feedback.
-
Thank @sachinvodafone for this material |
Beta Was this translation helpful? Give feedback.
-
In the working group of DeviceStatus API a document is prepared to store & discuss arguments and preferences of each company. |
Beta Was this translation helpful? Give feedback.
-
Hello
We have a pattern question in Device location (that was also raised in device status) that probably require a global gouvernance.
As of now we have one feature in this API: Check Device Location. We'll add subscription management but globally this is always same function to check where is a device with a geo location provided as input.
We have a request to add another feature: Provides (Get) Device location (I will not comment on privacy in this issue). This is a distinct feature .
We are hesitating on the pattern:
Solution 1. seems the more straightforward are both features are very close... but with additional thinking solution 2. bring flexibility for versioning but also to expose clearly to developer the capabilities (indeed if a Telco offers the check but not the get, this is explicit with solution 2 while in solution 1, except if we add a home resource, developer will get a 501).
Same debate occurs in device status with roaming and connectivity.
cc: https://github.com/jlurien https://github.com/monamok
Beta Was this translation helpful? Give feedback.
All reactions