To add aspects to a node, use the NodesApi.updateNode method. The way you do this is described in Updating Metadata for a Folder or File. Note that you only need to add aspects to a node when they are so called “marker” aspects without properties.
For more information about this ReST API endpoint, see Add Aspects to a Folder or File.