Skip to main content
Version: 2.10

Viewing contents in Web Reader via REST

This document explains how to view contents in Web Reader via the D1 REST API.

  1. Log in to Document.One (D1).

  2. 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.

  3. 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.

  4. 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.

  5. Click Execute and check the response. Response 200 (success) is expected.

  6. 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

Open content URL by ID