Add a resource to a component

POST /components/{name}/resources for Open Component Model API.