- Print
- DarkLight
- PDF
Deprecated Parameters
- Print
- DarkLight
- PDF
This document covers the parameters deprecated in Rocket.Chat’s REST API endpoints and Realtime API methods. These parameters will be removed in future releases, and alternatives should be adopted to ensure continued functionality.
REST API
The table below shows the deprecated parameters in our REST API endpoints:
Parameter | Endpoints affected | Release deprecated | Planned removal | Description |
---|---|---|---|---|
| 4.6.0 | 7.0.0 | The parameter will stop being interpreted as the role name as a fallback (enter the role ID instead). | |
| 4.6.0 | 7.0.0 | The parameter will stop being accepted (use the | |
| 4.6.0 | 7.0.0 | The parameter will stop being accepted (use the | |
| 6.0.0 | 7.0.0 | The parameter will stop being accepted (use the |
Query and fields query parameters
As of version 5.0.0, the query
and fields
query parameters have been deprecated across all endpoints that previously supported them, with planned removal in version 7.0.0. This deprecation aims to prevent malicious queries. The following endpoints are among those affected:
Endpoint |
|
|
---|---|---|
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | x | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
x | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | x | |
✓ | x | |
x | ✓ | |
x | ✓ | |
x | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | x | |
✓ | ✓ | |
✓ | ✓ | |
✓ | x | |
✓ | x | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | ✓ | |
✓ | x | |
✓ | ✓ | |
x | ✓ |
Realtime API
The table below outlines the deprecated parameters in our Realtime API methods:
Method | Parameters affected | Release deprecated | Planned removal | Description |
---|---|---|---|---|
|
| 6.6.0 | 7.0.0 | The parameter will stop being accepted. |
|
| 4.6.0 | 7.0.0 | The parameter will stop being interpreted as the role name as a fallback (use the role ID instead). |
|
| 4.6.0 | 7.0.0 | The parameter will stop being interpreted as the role name as a fallback (use the role ID instead). |
|
| 4.6.0 | 7.0.0 | The parameter will stop being interpreted as the role name as a fallback (use the role ID instead). |