APIs & Integrations

mwelch
Ancien salarié HubSpot
Ancien salarié HubSpot

Announcing a change of behavior for the “prev” paging response value

When returning a large amount of data, HubSpot endpoints frequently employ a paging mechanism, where a subset of the response data is returned, along with a paging object. This object contains information about how to get new pages of information.

 

Currently, our endpoints always return a prev value in that paging object, even if there isn’t a previous page. In these cases, prev has a value of null, which is accurate, but unnecessary.

 

Starting on January 25th, 2021, we will only include the prev value when there is in fact a previous page of data to return. For this to be the case, the endpoint must support reverse paging, and the current page can’t be the first. In all other cases, the prev value will be omitted from the paging object in the response.

 

If you have any questions about this change, please comment here on the forum thread.

0 Votes
0 Réponses

0 Réponses

Aucune réponse publiée pour l'instant

Personne n'a encore répondu à ce post. Revenez plus tard pour voir si une solution a été proposée, ou soumettez votre propre réponse pour aider d'autres utilisateurs.

Répondre à ce post

Si vous avez besoin d'aide pour publier une réponse, consultez la politique d'utilisation de la communauté.