} else {
DatasetInstanceMeta info = new DatasetInstanceMeta(spec, implManager.getTypeInfo(spec.getType()));
responder.sendJson(HttpResponseStatus.OK, info);
}
}
<BUG>@POST
@Path("/data/instances/{instance-name}")</BUG>
public void add(HttpRequest request, final HttpResponder responder,
@PathParam("instance-name") String name) {
Reader reader = new InputStreamReader(new ChannelBufferInputStream(request.getContent()));

} else {
DatasetInstanceMeta info = new DatasetInstanceMeta(spec, implManager.getTypeInfo(spec.getType()));
responder.sendJson(HttpResponseStatus.OK, info);
}
}
@PUT
@Path("/data/instances/{instance-name}")
public void add(HttpRequest request, final HttpResponder responder,
@PathParam("instance-name") String name) {
Reader reader = new InputStreamReader(new ChannelBufferInputStream(request.getContent()));
