Participant Counter: Difference between revisions
Jump to navigation
Jump to search
| Line 68: | Line 68: | ||
# curl 'https://www.socsci.ru.nl/wilberth/nocms/radcloud/participant_counter.php?experiment=1&participant=john' | # curl 'https://www.socsci.ru.nl/wilberth/nocms/radcloud/participant_counter.php?experiment=1&participant=john' | ||
{"experiment":"1","counter":"0","timeout":""} # first counter value | {"experiment":"1","counter":"0","timeout":"","participant:"john"} # first counter value | ||
# curl 'https://www.socsci.ru.nl/wilberth/nocms/radcloud/participant_counter.php?experiment=1&participant=john' | # curl 'https://www.socsci.ru.nl/wilberth/nocms/radcloud/participant_counter.php?experiment=1&participant=john' | ||
{"experiment":"1","counter":"0","timeout":""} # The same counter value that john received last time. | {"experiment":"1","counter":"0","timeout":"","participant:"john"} # The same counter value that john received last time. | ||
If you combine a ''participant'' value with a ''timeout'', the ''timeout'' will be reset to the new value, giving the participant more time to complete the experiment. Setting timeout on a finalized experiment will not result in an error, but will not reset the ''timeout'' value. | If you combine a ''participant'' value with a ''timeout'', the ''timeout'' will be reset to the new value, giving the participant more time to complete the experiment. Setting timeout on a finalized experiment will not result in an error, but will not reset the ''timeout'' value. | ||