Done
Details
Priority
MediumAssignee
Pascal CadottePascal CadotteReporter
Pascal CadottePascal CadotteApprovers
Nabil Ben YoussefPair
Nabil Ben YoussefFix versions
Sprint
NoneLabels
Details
Details
Priority
Assignee
Pascal Cadotte
Pascal CadotteReporter
Pascal Cadotte
Pascal CadotteApprovers
Nabil Ben Youssef
Pair
Nabil Ben Youssef
Fix versions
Sprint
None
Labels
Zendesk Support
Zendesk Support
Zendesk Support
Created October 4, 2023 at 2:53 PM
Updated November 1, 2023 at 7:31 PM
Resolved October 30, 2023 at 2:31 PM
As a UI developer I need to know which extensions are available in a given context to propose my user with an available extension.
The way to do that at the moment is to use the context API to find the range for my ressource type. Users from 10000 to 19999 for example.
Then I have to list all extensions filtered on my context to figure out which extensions are still available.
For contexts with 10000 extensions this can be quite taxing for the user to do that computation.
A new API should be added that would allow the UI to get these available extensions easily.
The API could be something like
GET /context/<id>/ranges/available/<type>?limit=10&offset=0&order=exten&direction=asc { "extensions": [ {"exten": "1000", context="<context-name>", tenant_uuid="<tenant-uuid>"}, {"exten": "1001", context="<context-name>", tenant_uuid="<tenant-uuid>"}, ... ], "total": 934 }
In this example the type could be
user
,group
,conference
,queue