Viewing contents in Web Reader via REST
This document explains how to view contents in Web Reader via the D1 REST API.
Log in to Document.One (D1).
On the landing page, click the API link under the repository where you want to view the content:
The OpenAPI page opens, showing the available D1 endpoints.
Find the
/access.adx.content.demo/v1/content/view-url (Open Content Url By Id)
endpoint and expand it. Click Try it out to activate the fields.Paste the content's technical ID into the contentId field.
You can leave the default value in the urlTemplate field or fill it with your own URL template by following the structure shown in this field.Click Execute and check the response. Response
200
(success) is expected.To view the content in Web Reader, copy the returned
uri
field from the response and paste it in your web browser.
OpenAPI
For a code sample, see