Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Cookie Scanner → Get JS Code

AI-generated

Overview

This node interacts with the Commanders Act API to retrieve the JavaScript code for the Cookie Scanner. This JavaScript code is intended to be added to a legal page on a website to automatically build the cookie list table, facilitating compliance with cookie regulations.

Use Case Examples

  1. A website administrator wants to automatically generate and display a cookie list on their legal page to comply with privacy laws. They use this node to fetch the required JavaScript code from Commanders Act and embed it in their site.
  2. A developer integrates this node in an automation workflow to periodically update the cookie list JavaScript code on a client's website.

Properties

Name Meaning
Query Parameters Optional query parameters to customize the API request, such as filters, pagination, sorting, and tokens.

Output

JSON

  • json - The JSON response from the Commanders Act API containing the JavaScript code for the Cookie Scanner.

Dependencies

  • Commanders Act API with API token credentials

Troubleshooting

  • Missing or invalid API credentials will cause the node to throw an error indicating missing Commanders Act API credentials.
  • If required parameters like Cookie Notice Version ID are not provided, the node will throw an error specifying the missing parameter.
  • API request failures will result in errors with messages from the Commanders Act API, which should be checked for details.

Links

Discussion