I’m able to query objects/types etc. according to the REST-API documentation.
BUT: I could NOT find a way to get ALL objects/types … WITHOUT pagination.
Yes I could get the pagination array, parse it out and iterate through all the pages.
In my opinion for getting all information this would create unnecessary traffic as Datagerry already has the full information internally.
In the source in the file “cmdb/interface/rest_api/responses/get_multi_response.py” the method export() is called with “export(self, pagination: bool=True)”.
As far as I could gather this means to ALWAYS use pagination - I found no EXTERNAL way to set this parameter via HTTP-URL-parameters
Question:
Is there a way to have NO pagination in a web request like so:
http://myhost/rest/objects/?disable_pagination=1
meaning to get the FULL result without the need to query any other pages?
thx