Geovisualization Developer's Guide

Publish Password-Protected Queries

The publish password-protected queries request body is a JSON object sent in the body of a Geovisualization REST API request to publish one or more queries with an associated password. The result is to make the queries available to the public, under the condition that users must provide basic authentication using the specified password when accessing those queries.

Note that a query can only be made password-protected once. To reset the password (thus making the resource private again), pass the password null.

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 Password-Protected Queries Request Elements
Element Data Type Mandatory Description
queries Object Yes A list containing the following fields:
  • password – the password to set to the queries in the request. The password must be a minimum of six characters long. To reset the password, use "password": null
  • ids – a list of query IDs to be published

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

{
  "queries": {
    "password": "s3cret",
    "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.