AnyWebsites icon

AnyWebsites

Interact with AnyWebsites HTML hosting service

Overview

This node integrates with the AnyWebsites HTML hosting service, allowing users to manage HTML content programmatically. It supports operations such as uploading new HTML content, retrieving lists of uploaded content, fetching details of specific content, updating existing content, and deleting content.

A common use case is automating website content management workflows, for example:

  • Automatically publishing HTML pages generated by other processes.
  • Retrieving paginated lists of hosted content for reporting or synchronization.
  • Updating or deleting content based on external triggers or schedules.

For the Get Content List operation specifically, the node fetches a paginated list of all uploaded HTML content, which is useful for browsing or processing multiple hosted pages in batches.

Properties

Name Meaning
Page Page number for pagination when retrieving the content list. Must be 1 or higher.
Limit Number of items per page to retrieve. Minimum 1, maximum 100.

These properties control pagination of the content list returned by the service.

Output

The output JSON structure for the Get Content List operation contains the response from the AnyWebsites API endpoint that lists uploaded content. This typically includes an array of content items with their metadata such as IDs, titles, descriptions, visibility status, and URLs.

Example output JSON snippet (conceptual):

{
  "contents": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "title": "My HTML Page",
      "description": "Description of the HTML page",
      "is_public": true,
      "published_url": "https://example.anywebsites.com/view/123e4567-e89b-12d3-a456-426614174000",
      "expires_at": null
    },
    ...
  ],
  "page": 1,
  "limit": 10,
  "total": 50
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the AnyWebsites service.
  • The node uses an internal helper function to make HTTP requests to the AnyWebsites API endpoints.
  • The base URL for the API is obtained from the credentials configuration.

Troubleshooting

  • Common issues:

    • Invalid or missing API authentication token will cause authorization errors.
    • Requesting a page number beyond available pages may return empty results.
    • Exceeding the maximum limit (over 100) will likely result in validation errors from the API.
  • Error messages:

    • "The operation \"getList\" is not supported!" — indicates an unsupported operation was requested; ensure the operation parameter is set correctly.
    • Network or API errors will be propagated; enabling "Continue On Fail" allows partial processing of multiple inputs.
  • Resolution tips:

    • Verify API credentials are correctly configured.
    • Use valid pagination parameters within allowed ranges.
    • Check network connectivity and API service status if requests fail.

Links and References

Discussion