BookStack icon

BookStack

Manage BookStack resources

Overview

This node integrates with BookStack, a platform for organizing and managing documentation content. Specifically, the "Shelf" resource's "Get" operation retrieves detailed information about a single shelf by its unique identifier.

Use cases include:

  • Fetching metadata and contents of a specific shelf to display or process in workflows.
  • Automating documentation management by retrieving shelf details for reporting or synchronization.
  • Integrating BookStack shelf data into other systems or dashboards.

For example, you might use this node to get the details of a shelf identified by ID "789" to list all books it contains or to update another system with the shelf's description.

Properties

Name Meaning
Shelf ID The unique identifier of the shelf to retrieve (e.g., "789"). This is a required field.

Output

The node outputs JSON data representing the shelf object retrieved from BookStack. This typically includes fields such as:

  • id: The shelf's unique identifier.
  • name: The name of the shelf.
  • description: A textual description of the shelf.
  • books: An array of book IDs or book objects contained within the shelf.
  • tags: Any tags associated with the shelf.

The output is structured as one item per input, with the shelf data under the json property.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the BookStack API.
  • The node uses HTTP requests to communicate with the BookStack server endpoints.
  • Proper configuration of the BookStack API URL and credentials in n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Shelf ID will cause the request to fail.
    • Incorrect API credentials or endpoint configuration can lead to authentication errors.
    • Network connectivity problems may prevent successful API calls.
  • Error messages:

    • Errors thrown by the node will include messages from the BookStack API or internal validation errors.
    • For example, if the shelf ID does not exist, the API may return a "Not Found" error.
    • Authentication failures will result in authorization error messages.
  • Resolutions:

    • Ensure the Shelf ID is correct and exists in BookStack.
    • Verify that the API key credential is valid and has sufficient permissions.
    • Check network access and API endpoint URLs.

Links and References

Discussion