Http api shards

We'll need to persist it to the metastore here in the `apply` method.