Write a set of API Integration tests for the ApiQueryExternalLinks module. This module is executed when the prop=extlinks param is included. See module documentation here. Try out example request and response in sandbox.
The tests should be added to the existing directory of action api integration tests found in: /tests/api-testing/action.