Upsert game popularity data (concurrent player counts). Requires admin auth.
Input
Encoding
application/jsongames
array
Required
List of games with popularity data to upsert.
Output
Encoding
application/jsonupserted
integer
Required
Number of records upserted.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Upsert game popularity data (concurrent player counts). Requires admin auth.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"games": {
"description": "List of games with popularity data to upsert.",
"items": {
"ref": "#gamePopularity",
"type": "ref"
},
"type": "array"
}
},
"required": [
"games"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"upserted": {
"description": "Number of records upserted.",
"type": "integer"
}
},
"required": [
"upserted"
],
"type": "object"
}
},
"type": "procedure"
}