Skip to content

Schema V4 World Surveys

Greg Malcolm edited this page Apr 29, 2016 · 2 revisions

World Surveys are read only and respresent a composite of materials found as Survey. Each material is stored as a boolean value; either it has been found or it has not.

Full Listing URL

Example with filtering:

http://api.edmaterializer.com/api/v4/world-surveys

World Nested URL

You can also access World Surveys by nesting off of a Worlds route:

http://api.edmaterializer.com/api/v3/worlds/1588/world-surveys

This will show all the worlds_surveys for the world of id 1588.

Other details

Currently worlds materials are imported from the "Monster" Distant Worlds spreadsheet Surveys page.

Filters

Add filters on the GET "index" round as querystring params in the url:

(eg http://example.com/things/?filter1=a&filter2=b)

  • page
  • system
  • world
  • updated_before
  • updated_after

Sorting

Use sort (column name) and direction (asc or desc). Eg:

?sort=created_at&direction=desc

Notes / Updates

  • World Surveys can no longer be updated, created or deleted. They are generated by Survey changes.