setTaskPushNotification

Sets push notification configuration for a task.

Configures how notifications about task status changes should be delivered. This allows clients to receive updates about task progress without polling.

Return

The response containing the updated push notification configuration.

Parameters

id

The ID of the task.

config

The push notification configuration containing delivery settings.


Sets push notification configuration for a task using a pre-constructed request object.

This method allows for more control over the request, including setting a custom request ID and complete notification parameters.

Return

The response containing the updated push notification configuration.

Parameters

request

The fully constructed request containing ID, task ID, and notification configuration.