I would like to retrieve license details in bulk using their keys.
As far as I can tell, we have:
GET /v3/licenses : we can filter the list based on a license key using the key parameter, but my understanding is that we can only provide a single key. Is that right?
GET /v3/licenses/{id} : this can only be used to get a single license at a time.
I would like to avoid sending many requests, is there a way to do this in bulk?
As of now, we do not support retrieving license details in bulk, But we are planning to do so by adding support for various operators in query parameters in a month or so.
We ignore all the query params which are empty, hence [in] is ignored if you don’t pass any value. We can’t change this as this has been the default behaviour for all the query params even before we introduced query operators.
I guess it is not a security issue because anyone having access to the access token can anyways read all the licenses.
Yes this is what we already do, the above is just an exemple. But we first implemented the check to avoid unnecessary requests. It’s just because I noticed the behavior by chance that I realised how important the check is, security-wise.