Previous Page Next Page

Lists

Lists correspond to your Domino views and are lists of documents.

By default, no lists will be exposed. You need to choose which views should be accessible.

Configure Lists

Back in the Domino REST API Admin UI, access the todorest Domino REST API Database again. This time, switch from “Database Forms” to “Database Views”. Select all views. Lists Remember to click “Save” to submit the changes.

Show Available Lists

  1. Hover over the “domino-restapi-todo” collection name and click on the ellipsis (three dots). Select “Add Request”.
  2. Name the request “get-lists” and click “Save to domino-restapi-todo”.
  3. Set the URL as “{{HOST}}/lists?dataSource=todorest”.
  4. Set the headers for “Authorization”.
  5. Click “Send”. You will get a list of all views available in the database. Domino REST API allows you to exclude access to certain views. Get Lists
  6. Save and close the request.

Get Entries from a View

  1. Hover over the “domino-restapi-todo” collection name and click on the ellipsis (three dots). Select “Add Request”.
  2. Name the request “get-todo” and click “Save to domino-restapi-todo”.
  3. Set the URL as “{{HOST}}/lists/todosView?db=todorest”.
  4. Set the headers for “Authorization”.
  5. Click “Send”. You will get a list of entries in the view. The request can be refined with various querystring parameters:
    1. count specifies the number of entries to return.
    2. start specifies the number of entries entries to skip in a view
    3. documents set to true returns the full document data, using the “default” Form Access Mode.
    4. mode can select the mode to display, only applicable if documents is set to true. ToDo List
  6. Save and close the request.

By default, the column values are returned. This will include hidden columns, because visibility settings are being defined for the Notes Client. Domino REST API is designed for API access for other developers, not for end users. However, if documents is set to true, then the column values will be replaced with the fields on the underlying document as defined by the mode.

Previous Page Next Page