Uploading a file with a custom type to the Repository means creating a node with a type other than cm:content.
API Explorer URL: http://localhost:8080/api-explorer/#!/nodes/createNode
See also:
- Update Metadata for a Folder or File - includes information about multi-value properties
- Add Aspects to a Folder or File
- Working with Relationships Between Folders/Files
In the last section we saw how to upload a file and set an out-of-the-box content type (i.e. cm:content). Another common scenario is to upload a file and set a custom content type. To demonstrate this we need to first apply a custom content model to the Repository.