0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

Storage → JSON Storage

AI-generated

Overview

The node provides a set of JSON storage operations that allow users to manage JSON data bins remotely. It supports creating, retrieving, updating, deleting, and listing JSON bins. This is useful for scenarios where you want to persist structured data temporarily or share it across workflows without setting up a dedicated database.

Practical examples include:

  • Storing user session data or temporary configurations as JSON.
  • Retrieving configuration or state information stored in JSON format.
  • Updating existing JSON records with new data.
  • Deleting obsolete JSON bins to clean up storage.
  • Listing all available JSON bins for management or auditing purposes.

Properties

Name Meaning
Operation Type The action to perform on the JSON storage. Options: "Delete JSON", "Get JSON", "List JSON Objects", "Store JSON", "Update JSON".
JSON Data The JSON content to store or update in a bin. Required when storing or updating JSON bins.
Bin ID The unique identifier of the JSON bin to retrieve, update, or delete.

Output

The node outputs JSON data representing the result of the selected operation:

  • For Store JSON and Update JSON, the output contains the stored or updated JSON bin data including its unique identifier.
  • For Get JSON, the output contains the JSON data retrieved from the specified bin.
  • For Delete JSON, the output confirms the deletion status of the specified bin.
  • For List JSON Objects, the output contains an array of JSON bins available in storage.

No binary data output is involved; all outputs are JSON objects reflecting the state or contents of JSON bins.

Dependencies

  • Requires an API key credential to authenticate requests to the remote JSON storage service.
  • The node sends HTTP POST requests to endpoints under /storage/json/{operation} on the configured base URL.
  • No additional external dependencies beyond the API authentication and network access to the service.

Troubleshooting

  • Invalid or missing Bin ID: Operations like get, update, or delete require a valid bin ID. Ensure the bin ID is correctly provided; otherwise, the request will fail.
  • Malformed JSON Data: When storing or updating JSON, ensure the JSON data is well-formed. Invalid JSON will cause errors.
  • Authentication Errors: If the API key credential is missing or invalid, requests will be rejected. Verify the credential setup.
  • Network Issues: Connectivity problems to the remote service will cause request failures. Check network access and service availability.
  • Operation Not Supported: Selecting an unsupported operation or resource combination may lead to errors. Confirm the operation matches the resource "Storage" and operation "JSON Storage".

Links and References

  • No direct external links are provided in the source code.
  • For more details on JSON bin services or similar APIs, consult the documentation of the specific JSON storage provider used by the node (not included here).

Discussion