action | required | true |
---|
description | "Type of event
- receive: user received a tag suggestion
- confirm: user confirmed the tag
- reject: user rejected the tag
- skip: user skipped the file" |
---|
type | "string" |
---|
enum | "receive" |
"confirm" |
"reject" |
"skip" |
|
---|
|
---|
service | description | "Service used to obtain the tag suggestion (e.g. 'Google Vision API'); only present in action='receive' events" |
---|
type | "string" |
---|
required | false |
---|
|
---|
confidence_score | description | "Confidence score of the suggested tag from service; only present in action='receive' events" |
---|
type | "number" |
---|
required | false |
---|
|
---|
wait_time | description | "Time it took to receive suggestion from initial request (in milliseconds); only present in action='receive' events" |
---|
type | "integer" |
---|
required | false |
---|
|
---|
tag_id | description | "The ID of the suggested depict tag as logged on the back-end, for connecting multiple events pertaining to the same depict tag suggestion (e.g. which received suggestions were confirmed or rejected)
Note: not present in action='skip' events" |
---|
type | "integer" |
---|
required | false |
---|
|
---|
page_id | description | "The MediaWiki page ID of the File that the user is adding machine-aided depicts for
Note: any given File may have multiple tags suggested" |
---|
type | "integer" |
---|
required | true |
---|
|
---|