Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This page is the bonus dev page for getting the graph data. Welcome to my happy place.


A good example doc to look at with all the changes is: http://nsight-api-1.rr.ikanow.com/nsight/event/53680852e4b08812fcb36d61?graph_data=true&fake_geo=true&fake_mediatype=true&hide_data=true&num_feed_items=1&max_ents=20&fake_date_spread=24

Query Options

graph_data=true
required to get the new data model

...

max_ents=20
overrides the maximum number of entities that will be added per document

fake_date_spread=24
adds a random date that is between NOW and the previous number of hours you send (e.g. if you send 24 a date can be between now and 24 hours ago)

 

This will turn on the api to add the new data model (eventually I'll just roll the regular call over to default graph_data to true so we don't have to make any changes, I just didn't want to break the current UI).

...