Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
GITBOOK-1258: [Update] Deprecated endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
rachana-visavadiya authored and gitbook-bot committed Feb 26, 2024
1 parent 84f2cef commit ada8d20
Showing 1 changed file with 36 additions and 7 deletions.
43 changes: 36 additions & 7 deletions reference/api/deprecated-endpoints.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deprecation
# Deprecated Endpoints

The methods and endpoints of the **Realtime API** and **Rest API**, respectively that have been depreciated are listed below.
The methods and endpoints of the **Realtime API** and **Rest API** that have been depreciated are listed below.

## Realtime API

Expand All @@ -12,11 +12,40 @@ The methods and endpoints of the **Realtime API** and **Rest API**, respectively

## REST API

### Endpoints to be deprecated

| Endpoint | Description | Release removed |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ | --------------- |
| [`/licenses.get`](https://developer.rocket.chat/reference/api/rest-api/endpoints/miscellaneous/licenses/get-licenses) | The endpoint will be renamed to `/licenses.info` | 7.0.0 |
| [`/licenses.isEnterprise`](https://developer.rocket.chat/reference/api/rest-api/endpoints/miscellaneous/licenses/confirm-enterprise-license) | The endpoint will be renamed to `/licenses.info` | 7.0.0 |
| [`/livechat/room.visitor`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-room/update-room-visitor-info) | The endpoint will be removed. | 7.0.0 |
| [`/livechat/inquiries.queued`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-inquiries/inquiries-queued) | The endpoint will be removed. | 7.0.0 |

### Removed endpoints

| Endpoint | Release deprecated | Release removed |
| ------------------------ | ------------------ | --------------- |
| `/user.roles` | 0.63.0 | 0.66.0 |
| `/channels.cleanHistory` | 0.64.0 | 0.67.0 |
| `/permissions` | 0.66.0 | 0.69.0 |
| `/permissions.list` | 0.73.0 | 1.11.0 |
| `/emoji.custom` | 1.0.0 | 1.12.0 |
| `/livechat/office-hours` | | 5.0.0 |
| `/v1/info` | 1.0.0 | 1.12.0 |
| `/emoji.custom` | 1.0.0 | 1.12.0 |
| `/permissions.list` | 0.73.0 | 1.11.0 |
| `/permissions` | 0.66.0 | 0.69.0 |
| `/channels.cleanHistory` | 0.64.0 | 0.67.0 |
| `/user.roles` | 0.63.0 | 0.66.0 |

### Renamed endpoints

| Endpoint | Renamed endpoint | Release |
| ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `/livechat/business-hours.list` | [`/livechat/business-hours`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/business-hours/get-business-hours) | 5.0.0 |
| `/livechat/departments.available-by-unit/:unitId` | [`/livechat/units/:unitId/departments/available`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-units/get-available-departments-by-unit-id) | 5.0.0 |
| `/livechat/departments.by-unit/:unitId` | [`/livechat/units/:unitId/departments`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-units/get-departments-by-unit-id) | 5.0.0 |
| `/livechat/monitors.list` | [`/livechat/monitors`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-monitors/get-list-of-monitors) | 5.0.0 |
| `/livechat/units.getOne` | [`/livechat/monitors/:username`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-monitors/get-a-monitor) | 5.0.0 |
| `/livechat/priorities.list` | [`/livechat/priorities`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-priorities/get-priorities) | 5.0.0 |
| `/livechat/priority.getOne` | [`/livechat/priorities/:priorityId`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-priorities/get-a-priority) | 5.0.0 |
| `/livechat/tags.list` | [`/livechat/tags`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-tags/get-list-of-tags) | 5.0.0 |
| `/livechat/tags.getOne` | [`/livechat/tags/:tagId`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-tags/get-a-tag) | 5.0.0 |
| `/livechat/units.list` | [`/livechat/units`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-units/get-list-of-units) | 5.0.0 |
| `/livechat/units.getOne` | [`/livechat/units/:unitId`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-units/get-a-unit) | 5.0.0 |
| `/livechat/unitMonitors.list` | [`/livechat/units/:unitId/monitors`](https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/livechat-endpoints/livechat-units/get-list-of-unit-monitors) | 5.0.0 |

0 comments on commit ada8d20

Please sign in to comment.