v1

latestOpenAPI 3.0.12026-07-24110189356.6 KB
subscription

Gets the configuration of the subscription

Returns the configuration of the subscription associated with the HRN.

get/subscriptions/{subscriptionHrn}

Response

OK

subscriptionNamestring required

The ID to use when referring to this subscription programmatically.

subscriptionHrnstring

The HERE Resource Name (HRN) of subscription

descriptionstring

A detailed description of the subscription.

sourceCatalogstring required

The HERE Resource Name (HRN) of the subscription source catalog.

sourceLayerstring required

The ID of the subscription source layer.

destinationCatalogstring required

The HERE Resource Name (HRN) of the subscription destination catalog.

destinationLayerstring required

The ID of the subscription destination layer.

versioninteger required

Version of the subscription configuration.

createdstring required

The subscription creation timestamp in ISO 8601 format.

updatedstring required

The subscription's last update timestamp in ISO 8601 format.

Example response

{
  "subscriptionName": "my-subscription",
  "subscriptionHrn": "hrn:here:data-subscription::olp-here:my-subscription-7d93563980d94f1b",
  "description": "Subscription to a layer",
  "sourceCatalog": "hrn:here:data::olp-here:my-source-catalog",
  "sourceLayer": "source-layer",
  "destinationCatalog": "hrn:here:data::olp-here:my-destination-catalog",
  "destinationLayer": "destination-layer",
  "owner": {
    "creator": {
      "id": "Mejk6DMxAq7kKI5lt2T2"
    },
    "organisation": {
      "id": "HERE"
    }
  },
  "created": "2017-08-04T17:19:03.853Z",
  "updated": "2017-08-04T17:19:03.853Z",
  "status": {
    "message": "Some error message"
  }
}