Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
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
- Monitoring CPU usage history to detect performance bottlenecks.
- 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
- WARest API Documentation - Official documentation for the WARest WhatsApp REST API endpoints and usage.
