WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node interacts with the WARest WhatsApp REST API to perform various server-related operations. Specifically, for the 'Server' resource and 'CPU History' operation, it fetches the CPU usage history data from the server. This can be useful for monitoring server performance and resource utilization over time, helping administrators to analyze CPU load trends and optimize server management.

Use Case Examples

  1. Monitoring CPU usage history to detect performance bottlenecks.
  2. Collecting CPU metrics for reporting or alerting in a WhatsApp integration environment.

Output

JSON

  • json - The CPU history data returned from the server API

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the API credentials (base URL and API key) are correctly configured and valid.
  • Verify that the server endpoint /api/v1/server/cpu-history is accessible and the server is running.
  • Common errors include authentication failures or network connectivity issues; check credentials and network settings if errors occur.

Links

Discussion