Blocklet Service icon

Blocklet Service

Consume Blocklet Service API

Blocklet → Get Blocklet

AI-generated

Overview

This node interacts with the Blocklet Service API to retrieve information about a blocklet. Specifically, the 'Get Blocklet' operation fetches details of a blocklet, with optional parameters to attach runtime information, disk information, and optional components. This node is useful in scenarios where users need to monitor or manage blocklets by obtaining detailed status and configuration data.

Use Case Examples

  1. A user wants to monitor the current runtime status of a blocklet in their system, so they use this node with 'Attach Runtime Info' enabled to get real-time metrics.
  2. An administrator needs to check the disk usage and optional components of a blocklet for maintenance purposes, so they enable 'Attach Disk Info' and 'Get Optional Components' to gather comprehensive blocklet data.

Properties

Name Meaning
Attach Runtime Info Whether to attach the runtime info of the blocklet, providing real-time operational data.
Attach Disk Info Whether to attach the disk info of the blocklet, providing storage usage details.
Get Optional Components Whether to get the optional components of the blocklet, listing additional features or modules.

Output

JSON

  • id - The unique identifier of the blocklet.
  • name - The name of the blocklet.
  • runtimeInfo - Runtime information of the blocklet, if attached.
  • diskInfo - Disk usage information of the blocklet, if attached.
  • optionalComponents - List of optional components of the blocklet, if requested.

Dependencies

  • Blocklet Service API access with appropriate API key credentials

Troubleshooting

  • Common issues include API authentication failures due to invalid or missing credentials. Ensure the API key credential is correctly configured.
  • If the blocklet data is not returned as expected, verify that the blocklet service is accessible and the blocklet exists.
  • Errors like 'Not implemented blocklet action' indicate an unsupported operation; ensure the operation parameter is correctly set to 'getBlocklet'.

Links

Discussion