Breaking v3 to v4 changes in API (organizationId -> tenantId)

We have an application using the Chirpstack REST API on v3 and plan to upgrade to Chirpstack v4. The chirpstack-rest-api is installed on the test server with ChirpStack server v4 to be able to continue using the REST API.

We are doing some testing, and it seems that some (haven’t tested all) of the endpoints have breaking changes.

v3 GET /api/applications did not require organizationID to be set. It could be empty (or set to 0).

v4 GET /api/applications do require tenantId to be able to complete. Empty value returns error 400 (code 3: Invalid length…") We tested using ‘00000000-0000-0000-0000-000000000000’, but this returned an empty list.

Question: Is there any way to do a “global” application search across all tenants in v4?

Edit: Updated tpic and some formatting

There is not. Maybe I missed this in the v3 to v4 breaking changes section of the documentation or maybe this should be more clearly documented in the API source.

The reason for this is that there was a fair amount of complexity in these queries to make sure users would only see the data of organizations to which they belonged.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.