?sortBy=lastactivity
Explanation:
To ensure the result set is returned in reverse chronological order based on when messages were entered, we need to use the sortBy parameter with the value lastactivity. This parameter sorts the rooms by their last activity timestamp, ensuring the most recent rooms are listed first.
Example:
GET /v1/rooms?sortBy=lastactivity
References:
* Cisco Webex Teams API Documentation (explains query parameters and their usage in API calls)
* Cisco DevNet Associate Exam Topics: APIs and Automation (understanding how to utilize query parameters to retrieve data)
