Wiki

Clone wiki

pleabargains / API for Plea Justice

Qualtrics URL Query String Interface Email Exchange

Our API:

URL Parameter Example value Status What is it?
Name test subject's name (for testing you must use something with test in it i.e. test)
module 1 determines which scenario will be used first
Locale en_US
S bip guilt
email test@student.uml.edu must include test for testing
modcounter 1 determines if the survey is on the first or second randomized scenario
SURL https://umasslowell.co1.qualtrics.com/jfe/form/SV_1ZgWdnbRrtFLPdr survey url
conviction_chance 0, 1 or 2 randomized between 0, 1, or 2 to determine if the defense attorneys estimated chance of conviction is 20, 50, or 80 percent respectively
conviction_months 0, 1 or 2 randomized between 0, 1, or 2 to determine if the plea deal jail sentence length would be 6, 12, or 18 months respectively
skinA
skinB
hairA
hairB
eyeA
eyeB
outfitA
outfitB
avatarSex
avatarNum
bwskinA secondary skin color, generated by color picker class
bwhairA secondary hair color, generated by color picker class
bweyeA secondary eye color, generated by color picker class
bwoutfitA secondary outfit color, generated by color picker class
skinA
skinB
hairA
hairB
eyeA
eyeB
outfitA
outfitB
avatarSex 0 Deprecated custom avatar figure
avatarNum 0
setSkin undefined
setHair undefined
setEye undefined
setOutfit undefined
setAvatarNum undefined
bwskinA %23AAAAAA Deprecated
bwhairA %23555555 Deprecated
bweyeA %23555555 Deprecated

Updated