Context
I have created a SPA (Single Page Application) along with a REST API. Backbone.js was used to develop the SPA and Codeigniter was used for the server side implementation of the REST API.
Question
For a MVC application we could draw a single class diagram as usual. But how do you create a class diagram for a system that has a SPA and a REST API? Do you create two separate class diagrams for each of the applications or a single class diagram for both? If there is one diagram, what relationships/associations can be used to connect the SPA and REST API?