Add webmachine resource for getting partitions.