Data Lens Developer's Guide

Publish Queries

The publish queries request body is a JSON object sent in the body of a Data Lens REST API request to publish one or more queries.

The maximum number of queries you can specify per request is 50.

If one of the specified queries cannot be changed, no changes are made and an error is returned.

Table 1. Publish Queries Request Elements
Element Data Type Mandatory Description
queries Object Yes A list containing the following fields:
  • visibility – the level of visibility to publish to, which can be one of:
    • public - everyone can view and run the specified queries
    • private - only the query creator has access to the specified queries
  • ids – a list of query IDs to be published

The code example below shows the data structure sent in a request to publish queries.

{
          "queries": {
          "visibility": "public",
          "ids": ["<query_id_1>", "<query_id_2>", "<query_id_3>"]
          }
}

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.