Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You want to know how to merge two or more resources.
Design an application-specific controller resource to merge resources. The client submits a GET request to this URI with URIs or identifiers of the resources to be merged to this controller as query parameters. The server returns a Last-Modified, and an ETag header along with a summary of the resources to be merged in the body of the representation. In the entity tag, include a sequence number or a concatenation of a timestamp and a random number.