-
Added admin endpoints for per-queue agent login/logoff
- PUT
/agents/{agent_id}/queues/{queue_id}/login - PUT
/agents/{agent_id}/queues/{queue_id}/logoff
- PUT
-
Added
all_queuesquery parameter to force relogging an agent into all of its assigned queues, restoring membership for queues the agent was previously logged off from individually.- POST
/agents/relog
- POST
-
Logging an agent off from their last remaining queue now also logs the agent off entirely.
- PUT
/agents/{agent_id}/queues/{queue_id}/logoff - PUT
/users/me/agents/queues/{queue_id}/logoff
- PUT
-
Added endpoints for user agents to login/logoff of its queues
- PUT
/users/me/agents/queues/{id}/login - PUT
/users/me/agents/queues/{id}/logoff
- PUT
-
The following resources now expose the
queuesfield containing per queue status for agents- GET
/agents - GET
/users/me/agents - GET
/agents/by-id/{agent_id} - GET
/agents/by-number/{agent_number}
- GET
-
The
logged,paused,paused_reasonfields are now deprecated in the payload of the following resources:- GET
/agents - GET
/users/me/agents - GET
/agents/by-id/{agent_id} - GET
/agents/by-number/{agent_number}
- GET
-
Changes to the bus configuration keys:
- key
exchange_namenow defaults towazo-headers - key
exchange_typewas removed
- key
- Remove unused
bus_publisherfield from/statusendpoint
/statusroute has now been included intowazo-agentd, and it returns the current status (okorfail) of the following:bus_consumerbus_publisherservice_token
-
Added endpoints for user agents pause/unpause:
- GET
/users/me/agents - POST
/users/me/agents/pause - POST
/users/me/agents/unpause
- GET
-
Added endpoints for user agents login/logoff:
- POST
/users/me/agents/login - POST
/users/me/agents/logoff
- POST
- Deprecate SSL configuration
- The
httpssection has been moved torest_apito be similar to other daemons.
-
The following endpoints are now multi-tenant.
This means that created resources will be in the same tenant as the creator or in the tenant specified by the Wazo-Tenant HTTP header. Listing resources will also only list the ones in the user's tenant unless a sub-tenant is specified using the Wazo-Tenant header. The
recurse=truequery string can be used to list from multiple tenants. GET, DELETE and PUT on a resource that is not tenant accessible will result in a 404. New readonly parameter has also been added:tenant_uuid./agents
-
Add an optional
reasonfield to the body of the pause resource.- POST
/agents/by-number/{agent_number}/pause
- POST
- Token authentication is now required for all routes, i.e. it is not possible to interact with xivo-agentd without a wazo-auth authentication token.
- xivo-agentd now uses HTTPS instead of HTTP.
-
The resources returning agent statuses, i.e.:
- GET
/agents - GET
/agents/by-id/{agent_id} - GET
/agents/by-number/{agent_number}
are now returning an additional argument named "state_interface", which is "the interface (e.g. SIP/alice) that is used to determine if an agent is in use or not".
- GET