TI API: 3Legs problem for optional parameter #246
Labels
correction
Suggesting corrections of API specification or indicating misalignment with API design guidelines
Fixed
Traffic Influence API
Problem description
The TI API adopted 3Legs authentication because it can provide back some information about the local of a device as a feedback of the traffic being influences in a certain zone or region. Anyway the device information is an option, the TI API can also be invoked in a generic way effecting all the connection toward an application
Expected behavior
3legs is expected when a device info is passed and it is not expected when a device is not provided as input. Currently Device is an optional parameter for the /traffic-influences POST method. The "security schema" for that method is "openId" while actually if the Device parameter is not used it should just be client credential. Is there a way to manage this situation with just one operation?
Alternative solution
this is solved if we create two operations:
The text was updated successfully, but these errors were encountered: