すべての変更セットを取得します

インタラクティブマップ レイヤー への正常な書き込みトランザクションは、 1 つの変更セットとして保存されます。この変更セットには、 1 つ以上の機能に適用された変更を含めることができます。

次のリクエストは、 "startVersion" および "endVersion" クエリパラメータを使用して、インタラクティブマップ レイヤー から既存のすべての変更セットを取得し、読み取るレイヤーのバージョン数を定義します。

応答ペイロードは複数のページに分割できます。次のページはプロパティ「 nextPageToken 」に記述され、「 pageToken 」パラメータを使用して取得できます。

GET /<Base path for the interactive API from the API Lookup Service>/layers/{layerId}/changesets
Host: <Hostname for the interactive API from the API Lookup Service>
Authorization: Bearer <Authorization Token>
Cache-Control: no-cache

次のサンプル応答が返されます。

{
  "type": "ChangesetCollection",
  "startVersion": 1,
  "endVersion": 2,
  "versions": {
    "1": {
      "type": "Changeset",
      "inserted": {
        "type": "FeatureCollection",
        "features": [
          {
            "type": "Feature",
            "id": "Q1369587",
            "geometry": {
              "type": "Point",
              "coordinates": [
                -62.696667,
                8.3125
              ]
            },
            "properties": {
              "name": "Polideportivo Cachamay",
              "@ns:com:here:xyz": {
                "version": 1
              },
              "sport": "association football",
              "capacity": 41600
            }
          }
        ]
      },
      "updated": {
        "type": "FeatureCollection",
        "features": [
          {
            "type": "Feature",
            "id": "Q947065",
            "geometry": {
              "type": "Point",
              "coordinates": [
                -110.948889,
                32.228889
              ]
            },
            "properties": {
              "name": "Arizona Stadium",
              "@ns:com:here:xyz": {
                "version": 1
              },
              "sport": "American football",
              "capacity": 56037
            }
          }
        ]
      },
      "deleted": {
        "type": "FeatureCollection",
        "features": []
      }
    }
  },
  "nextPageToken": 1000
}

代わりに、認可ヘッダーで OAuth ベアラトークン の代わりに API キー を使用することもできます。

」に一致する結果は 件です

    」に一致する結果はありません