/rest/atlassian-connect/latest/license endpoint returns 404

Hi team,

Some of our customers’ hosts started to return 404 when our add-on asks for the license information using the (old) endpoint

/rest/atlassian-connect/latest/license

I know there is a new one

/rest/atlassian-connect/latest/addons/TheAddonKey

but the new one doesn’t provide the instance number of users. The old license data has the buggy maximumNumberOfUsers. There is an old bug regarding the number of users in the new license data [AC-1481] - Ecosystem Jira

Questions:

  1. Have you finally removed the /rest/atlassian-connect/latest/license endpoint? It works in some instance, but not in new ones.
  2. What’s the current way to know the host’s number of users, Our addon requires to know the host’s number of users.

UPDATE

Hi guys, I’ve found the problem. 404 in /rest/atlassian-connect/latest/license means the host doesn’t have a license. This is ok. There was a new issue that fired this question. The json payload has an empty string as date creationDateString: “” and this broke some of our clients. We have just fixed this.

I still would like to know if [AC-1481] - Ecosystem Jira will be eventually fixed so we can update to the new endpoint.

Cheers
Fernando

3 Likes