Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 115

An application has been developed for monitoring rooms in Cisco Webex. An engineer uses the application to retrieve all the messages from a Cisco Webex room, but the results are slowly presented.
Which action optimizes calls to retrieve the messages from the /v1/messages endpoint?

Answer options

Correct answer: A

Explanation

The correct answer is A because defining the ma property through pagination allows for more efficient retrieval of messages in segments, thus speeding up the process. Options B and D are less efficient as they only manipulate the data after retrieval, and C is not directly related to optimizing message retrieval from the endpoint.