Venue Maps API Developer's Guide

Metadata API Request

The Metadata API is the first API to call in the venues data consumption process. The API provides information on how to access different venue content, namespaces and endpoints. The request returns a doument describing all allowed access models for a specific user. The service supports authentication with app_id and app_code, and also with HERE Account token.

A typical request looks as follows:

http://dynamicvenues.venue.maps.cit.api.here.com/venues/metadata/v1
  ?app_id={YOUR_APP_ID}
  &app_code={YOUR_APP_CODE}
Example Response:
{
  "status": {
    "code": "200",
    "message": "OK"
  },
  "authorization": [{
    "authType": "HERE_CREDENTIALS",
    "identity": {
      "keys": ["some key",
      "*"]
    },
    "namespaces": {
      "ONEAPP": {
        "description": "PUBLIC VENUES",
        "prefix": "",
        "signature": {
          "SignedQueryString": "?Policy\u003deyJTdGF0ZW1lbnQiOiBbeyJSZXNv...",
          "Expires": "2017-10-28T10:12:40Z",
          "SignatureTokens": {
            "app_id": "some app_id",
            "app_code": "some app_code",
            "Signature": "AYLeCgu85klArjwRY~PaiWFsPUiVkLucbooa91...",
            "Policy": "eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6I...",
            "KeyPairId": "APK..."
          }
        },
        "type": "ONEAPP",
        "id": "ONEAPP",
        "endpoint": "static-1.venue.maps.api.here.com",
        "lifecycleSpec": {
          "from": "HOUR:-1",
          "to": "DAY:+1"
        }
      },
      "CUSTOM": {
        "description": "MY COMPANY VENUES",
        "prefix": "CUST-xxx",
        "signature": {
          "SignedQueryString": "?Policy\u003deyJTdGF0ZW1lbXhXMGRKeXci2hUahzUHBqfHd...",
          "Expires": "2017-10-28T10:12:40Z",
          "SignatureTokens": {
            "app_id": "some app_id",
            "app_code": "some app_code",
            "Signature": "IJ0p9VVa6W-9Lwumm1W8lnfSQ6Y28G...",
            "Policy": "eyJTdGF0ZW1lbnQiOiBbeyJSZXNv...",
            "KeyPairId": "APKAJYHWIIHIUVYKYWZA"
          }
        },
        "type": "SDK_CUSTOM",
        "id": "CUSTOM",
        "endpoint": "private-static-1.venue.maps.api.here.com",
        "lifecycleSpec": {
          "from": "HOUR:-1",
          "to": "DAY:+1"
        }
      }
    }
  }
  ]
}

For detailed request and response attributes, see Metadata API.