Usage Scenario: Obtain and show UI preview of a AMR
A web UI or REST client wishes to show a preview of the resource to a user without obtaining the entire resource and formatting the properties itself. The UI preview allows a simple client to display a quick view of a resource managed by some other service provider without knowing anything about how to properly display its properties.
This scenario is in accordance with the Core 2.0 specification of UI Preview.
Display UI Preview
- The service provider responds with an RDF compact resource. This resource includes information about one or two possible previews (small and large).
- The web client decides to display the small preview by default.
- The web client creates a new popup window over the link. Using the the small preview URL it GETs it requesting a HTML media type.
- The response is placed in a new window.