If I want to follow the practice of using a custom content type for my REST API, am I supposed to define a single custom content type for my entire project or define custom content types for each resource representation (what is sent to/back from my REST API) used on my project?
That is, if I am building a "Bookstore" REST API where the services say are in the namespace com.mycompany.mybookstoreapp, do I create a single content type:
Content-Type: application/com.mycompany.mybookstoreapp+xml
Or do I create a content type for each type of data that can be posted/retreived via my Bookstore REST APIs?
Content-Type: application/com.mycompany.mybookstoreapp.user+xml
Content-Type: application/com.mycompany.mybookstoreapp.order+xml
Content-Type: application/com.mycompany.mybookstoreapp.book+xml