sourceWiki | type | "string" |
---|
description | "Identifier of the local wiki where the response was generated (for example: 'enwiki')" |
---|
required | true |
---|
|
---|
pageId | type | "integer" |
---|
required | true |
---|
description | "ID of the page where the WikiGrok response was submitted." |
---|
|
---|
userToken | type | "string" |
---|
required | true |
---|
description | "A token that represents a unique user persisting across sessions." |
---|
|
---|
userEditCount | type | "integer" |
---|
required | false |
---|
description | "The edit count of the user at the time a response was submitted." |
---|
|
---|
taskToken | type | "string" |
---|
required | true |
---|
description | "A token that represents the current task. The token is renewed when the page is refreshed or the user visits a new page: a user submitting two WikiGrok responses in subsequent sessions will have distinct taskTokens." |
---|
|
---|
subjectId | type | "string" |
---|
required | true |
---|
description | "Wikidata item ID for the subject of the response." |
---|
|
---|
subject | type | "string" |
---|
required | true |
---|
description | "Label (in user's content language) for the subject of the response." |
---|
|
---|
propertyId | type | "string" |
---|
required | true |
---|
description | "Property identifier for the response." |
---|
|
---|
property | type | "string" |
---|
required | true |
---|
description | "Property label (in user's content language) for the response." |
---|
|
---|
valueId | type | "string" |
---|
required | true |
---|
description | "Value identifier for the response." |
---|
|
---|
value | type | "string" |
---|
required | true |
---|
description | "Value label (in user's content language) for the response." |
---|
|
---|
response | type | "boolean" |
---|
required | false |
---|
description | "Stores the response associated with a specific value.
Possible values are:
-(TRUE, FALSE) for the binary question design (since we're not storing 'not sure' as a response);
-(TRUE, NULL) for the tagging design (since a value can only be selected or unselected)." |
---|
|
---|
taskType | type | "string" |
---|
required | true |
---|
description | "A string identifying the version/design of the WikiGrok widget." |
---|
|
---|
mobileMode | type | "string" |
---|
required | true |
---|
enum | |
---|
description | "Whether the user is using the stable, beta, or alpha version of the mobile site." |
---|
|
---|
testing | type | "boolean" |
---|
required | false |
---|
description | "Whether the response was submitted as a test." |
---|
|
---|
isLoggedIn | type | "boolean" |
---|
required | true |
---|
description | "Whether the user is logged in." |
---|
|
---|