Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Cookie Scanner → Create Generated Version

AI-generated

Overview

This node operation creates a new generated version in the Commanders Act Cookie Scanner resource. It is useful for managing cookie scanner versions programmatically, such as automating the creation of new versions for cookie scanning configurations or updates.

Use Case Examples

  1. Automatically create a new generated version of the cookie scanner after updating cookie settings.
  2. Integrate with a CI/CD pipeline to generate a new cookie scanner version upon deployment.

Properties

Name Meaning
Query Parameters Optional query parameters to customize the API request, such as filters, pagination, sorting, and other parameters relevant to the cookie scanner generated versions creation.
Request Body JSON object representing the request body to create the generated version. This contains the data required by the API to create the new version.

Output

JSON

  • json - The JSON response from the Commanders Act API representing the created generated version or relevant data returned by the API.

Dependencies

  • Commanders Act API with API token credentials

Troubleshooting

  • Ensure that the API credentials (site ID and API token) are correctly configured and provided, as missing credentials will cause the node to throw an error.
  • Verify that the required parameters, especially the request body, are correctly formatted as JSON and contain all necessary fields for creating a generated version.
  • Check for required query parameters if the API endpoint expects them; missing required parameters will result in API errors.
  • If the API returns an error, inspect the error message and stack trace provided by the node to diagnose issues such as invalid IDs or malformed requests.

Discussion