{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","results":{"codes":[]},"settings":"","examples":{"codes":[]},"method":"post","params":[{"name":"action","type":"string","default":"setPlayer","desc":"","required":true,"in":"body","ref":"","_id":"570b8849441a922200e701bc"},{"name":"playerPartnerIdentifier","type":"string","default":"123456-FF","desc":"","required":true,"in":"body","ref":"","_id":"570b8849441a922200e701bb"},{"name":"playerIdentifier","type":"string","default":"e0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6","desc":"","required":false,"in":"body","ref":"","_id":"570b8849441a922200e701ba"},{"name":"siteId","type":"int","default":"4","desc":"","required":true,"in":"body","ref":"","_id":"570b8849441a922200e701b9"},{"name":"alias","type":"string","default":"oldYeller","desc":"","required":true,"in":"body","ref":"","_id":"570b8849441a922200e701b8"},{"name":"sessionIdentifier","type":"string","default":"125425-kk","desc":"","required":true,"in":"body","ref":"","_id":"570b8849441a922200e701b7"}]},"next":{"description":"","pages":[]},"title":"setPlayer","type":"endpoint","slug":"setplayer","excerpt":"This action creates a player in Spigo's backend. If the player is already created it updates the information on the player with the supplied information.<br>PlayerPartnerIdentifier or playerIdentifier must be supplied.","body":"","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b14af85c3a0032f10e8b","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Player API","slug":"inbound-core-api","order":1,"from_sync":false,"reference":false,"_id":"5a55b149f85c3a0032f10e57","version":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2016-04-11T11:11:42.539Z","__v":0},"project":"550dd1756c0b4c0d00fd436e","user":"5514315e67d97f2500b774ed","parentDoc":null,"version":{"version":"1.5","version_clean":"1.5.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5a55b149f85c3a0032f10e56","5a55b149f85c3a0032f10e57","5a55b149f85c3a0032f10e58","5a55b149f85c3a0032f10e59","5a55b149f85c3a0032f10e5a","5a55b149f85c3a0032f10e5b","5a55b149f85c3a0032f10e5c","5a55b149f85c3a0032f10e5d","5d1da68fa911a50226595581"],"_id":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2018-01-10T06:23:05.406Z","releaseDate":"2018-01-10T06:23:05.406Z","__v":2},"createdAt":"2016-04-11T11:19:37.044Z","githubsync":"","__v":1}

postsetPlayer

This action creates a player in Spigo's backend. If the player is already created it updates the information on the player with the supplied information.<br>PlayerPartnerIdentifier or playerIdentifier must be supplied.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

action:
required
stringsetPlayer
playerPartnerIdentifier:
required
string123456-FF
playerIdentifier:
stringe0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6
siteId:
required
integer4
alias:
required
stringoldYeller
sessionIdentifier:
required
string125425-kk

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}