Feature/add node api

should check if the node we're given in the body has the same id as whats in the path and 400 if they're different.