Cosense icon

Cosense

Read and write pages in Cosense (formerly Scrapbox)

Page → Get Pages

AI-generated

Overview

This node operation lists pages in a specified Cosense (formerly Scrapbox) project. It allows users to retrieve either all pages or a limited number of pages based on the provided parameters. This is useful for scenarios where you want to fetch an overview or catalog of pages within a project for further processing or analysis.

Use Case Examples

  1. Fetching all pages from a project to generate a site map or index.
  2. Retrieving a limited number of pages to display recent or popular content in an application.

Properties

Name Meaning
Project Name The name of your Cosense/Scrapbox project from which to list pages.
Return All Whether to return all pages or only up to a specified limit.
Limit The maximum number of pages to return when 'Return All' is false.

Output

JSON

  • json - The JSON object representing each page's data returned from the project.

Dependencies

  • Requires an API key credential for Cosense API authentication.

Troubleshooting

  • If the project name is incorrect or the project does not exist, the node will fail to retrieve pages. Verify the project name is accurate.
  • If 'Return All' is false and the limit is set too low, you may not get all desired pages. Adjust the limit accordingly.
  • API rate limits or authentication issues may cause errors; ensure valid credentials and handle errors appropriately.

Links

  • Cosense API Documentation - Official API documentation for Cosense, useful for understanding available endpoints and parameters.

Discussion