Skip to main content

API Request Meta Data

Currently, there is no meta data returned with a request. A good example would be calling the "/api/v1/companies" end-point. In our case, we have well over the default 25 returned. This is a problem programmatically. We solved the problem with ladder logic. However, its not clean nor efficient.

Example of a returned data set attached.

{    "companies": [],    "meta": {        "total_pages": 1,        "total_entries": 1,        "per_page": 100,        "page": 1    }}

Log in to comment and vote

No comments yet

Be the first to share your thoughts.