Data Lens Developer's Guide

Publishing

Use this resource to make a query or set of queries visible to the public, or to set a password on a query or set of queries.

The table below summarizes the available endpoints supported by the publishing resource along with their HTTP methods and responses.

Table 1. Publishing Endpoints
Resource Functions Method Response
/publishing Publish one or a list of queries with a request body containing one or more query IDs POST 200 OK with a response object containing one or more query IDs
Publish one or a list of password-protected queries with a request body containing one or more query IDs and passwords POST 200 OK with a response object containing one or more query IDs

Request Parameters

The table below documents the mandatory request parameters required by this resource.

Note: All the parameters below are required for authentication. For more information about authentication and authorization in general, see the authentication related topics under Getting Started.
Table 2. Request Parameters
Parameter Datatype Description
app_id String A 20-byte Base64 URL-safe encoded string used for the authentication of the client application
app_code String A 20-byte Base64 URL-safe encoded string used for the authentication of the client application
access_token String A temporary string used for authentication. Tokens are valid for one hour.

We recommend that the token be included in the HTTP Header when sending requests. For more information on setting up the access_token in the HTTP Header, see Authentication with Postman.

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.