diff --git a/api/v1/routes.go b/api/v1/routes.go index 673a562a..0b3a383b 100644 --- a/api/v1/routes.go +++ b/api/v1/routes.go @@ -89,6 +89,13 @@ func postLayer(w http.ResponseWriter, r *http.Request, p httprouter.Params, ctx } w.WriteHeader(http.StatusCreated) + writeResponse(w, http.StatusCreated, LayerEnvelope{Layer: &Layer{ + Name: request.Layer.Name, + ParentName: request.Layer.ParentName, + Path: request.Layer.Path, + Format: request.Layer.Format, + IndexedByVersion: worker.Version, + }}) return postLayerRoute, http.StatusCreated }