Map

The Map object is the entire bundled collection. As such, it is a large payload and should not be called more than once in your applications, if at all. We recommend using the Graph endpoint to get data on an as-needed basis.

Get map

GET /map

Required query parameters:

  • bucket: Bucket ID

NodeJS

CURL

Python


  const rp = require('request-promise');

  rp({
    method: 'GET',
    url: `/api/map?bucket=${bucketId}`,
    headers: {
      authorization: `Bearer ${token}`
    }
  })

Sample response


  {
    "bucket": Object,
    "data": {
      "entities": Array,
      "relationships": Array,
    }
  }