Inconsistency in Marketplace Rest Api Apps endpoint

Hello there,

I am trying to write an automation that uses the Atlassian Marketplace Rest API (v2) to analyze the addons in the Marketplace. In order to do this, I need a list of all addons and using this list, I will then pull the detail information of each addon.

As far as I see in the documentation, I am using the https://marketplace.atlassian.com/rest/2/addons?offset=0&limit=50 (docs) service for this process but I am having a problem here.

As you know, this service is a paginated and during my tests, the “count” value that gives the number of all addons is sometimes different. For example, without changing the “limit” and “offset” parameters, sometimes the “count” value comes as 6585, sometimes it comes as “6006”.

Is there something I’m missing, or is there something else going on here? As far as I’ve looked at the documentation, there is no rate-limit, because even if there was a rate-limit, I would expect a more understandable error instead of this behavior.

It’s a bit strange, but I found the sample scripts while going through the documentation and I realized that the marketplace api versioning used here is different as “https://marketplace.atlassian.com/rest/2.0-beta/addons”.

I did not encounter the problem I mentioned in my tests with this version. What is the reason for this inconsistency?

1 Like