You can translate the question and the replies:

Custom Pagination for REST API

We trying to connect to a third party REST API with denodo, but all the various pagination options which denodo supports are not suiting for this API. so, we like to customize the response header(for to support pagination) by writing some custom wrapper. But we dont know which JAVA class to extend and write. I gone through the documenation which denodo provides but it is not helping me much in this case. it would be great, If you can provide any sample code snippet on where to modify OR guide us where to make the changes to customize the pagination.
user
10-06-2021 09:36:45 -0400

1 Answer

Hi, If there is no way to set up the available pagination settings to connect to your API, and you wish to use a custom wrapper instead, I suggest that you first refer to the documentation on [developing custom wrappers](https://community.denodo.com/docs/html/browse/8.0/en/vdp/developer/developing_extensions/developing_custom_wrappers/developing_custom_wrappers) and the articles that follow it. Also, sample custom wrapper code, provided by default in your Denodo installation, can be found at: <DENODO_HOME>/samples/vdp/customWrappers Assuming the data provided is JSON, a common issue when configuring the data source is choosing the tuple root. I would try to make sure this is set up correctly. You may refer to this [similar Q&A thread](https://community.denodo.com/answers/question/details?questionId=9064u000000CewXAAS&title=Pagination+related+question) for more information. Hope this helps!
Denodo Team
10-06-2021 17:56:31 -0400
You must sign in to add an answer. If you do not have an account, you can register here