A character string specifying the HITTypeId of the HITType for which notifications are being configured.
notification
A character string containing a URL query parameter-formatted Notification structure (e.g., returned by GenerateNotification).
active
A logical indicating whether the Notification is active or inactive.
keypair
A two-item character vector containing an AWS Access Key ID in the first position and the corresponding Secret Access Key in the second position. Set default with credentials.
print
Optionally print the results of the API request to the standard output. Default is TRUE.
browser
Optionally open the request in the default web browser, rather than opening in R. Default is FALSE.
log.requests
A logical specifying whether API requests should be logged. Default is TRUE. See readlogfile for details.
sandbox
Optionally execute the request in the MTurk sandbox rather than the live server. Default is FALSE.
Value
A dataframe containing details of the Notification and whether or not the request was successfully executed by MTurk.
Details
Configure a notification to be sent to the requester whenever an event (specified in the Notification object) occurs. This is useful for receiving email notifications about, for example, when assignments are submitted or HITs are completed.
setnotification() is an alias.
a <- GenerateNotification("requester@example.com",event.type="HITExpired")
SetHITTypeNotification(hit.type="2FFNCWYB49F9BBJWA4SJUNST5OFSOW",notification=a,active=TRUE)