POST api/JellySlice/PostGameData
Request Information
URI Parameters
None.
Body Parameters
JellySliceMetricsName | Description | Type | Additional information |
---|---|---|---|
UserID | string |
Required |
|
GameScore | integer |
Required Range: inclusive between 0 and 10000 |
|
isLevelSuccessful | boolean |
Required |
|
LevelNumber | integer |
Required Range: inclusive between 1 and 100 |
|
Stars | integer |
Required Range: inclusive between 0 and 100 |
|
Focus | decimal number |
Required Range: inclusive between 0 and 100 |
|
Coordination | decimal number |
Required Range: inclusive between 0 and 100 |
|
AverageReactionTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
Overall | decimal number |
Required Range: inclusive between 0 and 100 |
|
JelliesData | Collection of JellyData |
Required |
|
TotalObjectsSpawned | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalCorrectobjectsCaught | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalEnemiesSpawned | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalEnemiesCaught | integer |
Required Range: inclusive between 0 and 10000 |
|
CorrectObjectCaughtFromLeftHand | integer |
Required Range: inclusive between 0 and 10000 |
|
WrongObjectCaughtFromLeftHand | integer |
Required Range: inclusive between 0 and 10000 |
|
CorrectObjectCaughtFromRightHand | integer |
Required Range: inclusive between 0 and 10000 |
|
WrongObjectCaughtFromRightHand | integer |
Required Range: inclusive between 0 and 10000 |
|
AvgFPS | decimal number |
Required Range: inclusive between 0 and 10000 |
|
MinFPS | decimal number |
Required Range: inclusive between 0 and 10000 |
|
MaxFPS | decimal number |
Required Range: inclusive between 0 and 10000 |
|
FPSBelow19Time | decimal number |
Required Range: inclusive between 0 and 10000 |
|
FPSBetween19And30Time | decimal number |
Required Range: inclusive between 0 and 10000 |
|
FPSAbove30Time | decimal number |
Required Range: inclusive between 0 and 10000 |
|
TotalTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
EngagedTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
NoUserFoundTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
NoUserFoundCount | integer |
Required Range: inclusive between 0 and 10000 |
|
PauseCount | integer |
Required Range: inclusive between 0 and 10000 |
|
WaitTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
PauseTime | decimal number |
Required Range: inclusive between 0 and 10000 |
Request Formats
application/json, text/json
{ "UserID": "sample string 1", "GameScore": 2, "isLevelSuccessful": true, "LevelNumber": 4, "Stars": 5, "Focus": 6.1, "Coordination": 7.1, "AverageReactionTime": 8.1, "Overall": 9.1, "JelliesData": [ { "ObjectSpawnTime": 1.1, "ObjectCaughtTime": 2.1, "isEnemy": true }, { "ObjectSpawnTime": 1.1, "ObjectCaughtTime": 2.1, "isEnemy": true } ], "TotalObjectsSpawned": 10, "TotalCorrectobjectsCaught": 11, "TotalEnemiesSpawned": 12, "TotalEnemiesCaught": 13, "CorrectObjectCaughtFromLeftHand": 14, "WrongObjectCaughtFromLeftHand": 15, "CorrectObjectCaughtFromRightHand": 16, "WrongObjectCaughtFromRightHand": 17, "AvgFPS": 18.1, "MinFPS": 19.1, "MaxFPS": 20.1, "FPSBelow19Time": 21.1, "FPSBetween19And30Time": 22.1, "FPSAbove30Time": 23.1, "TotalTime": 24.1, "EngagedTime": 25.1, "NoUserFoundTime": 26.1, "NoUserFoundCount": 27, "PauseCount": 28, "WaitTime": 29.1, "PauseTime": 30.1 }
application/xml, text/xml
<JellySliceMetrics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers.MongoDB"> <AverageReactionTime>8.1</AverageReactionTime> <AvgFPS>18.1</AvgFPS> <Coordination>7.1</Coordination> <CorrectObjectCaughtFromLeftHand>14</CorrectObjectCaughtFromLeftHand> <CorrectObjectCaughtFromRightHand>16</CorrectObjectCaughtFromRightHand> <EngagedTime>25.1</EngagedTime> <FPSAbove30Time>23.1</FPSAbove30Time> <FPSBelow19Time>21.1</FPSBelow19Time> <FPSBetween19And30Time>22.1</FPSBetween19And30Time> <Focus>6.1</Focus> <GameScore>2</GameScore> <JelliesData> <JellyData> <ObjectCaughtTime>2.1</ObjectCaughtTime> <ObjectSpawnTime>1.1</ObjectSpawnTime> <isEnemy>true</isEnemy> </JellyData> <JellyData> <ObjectCaughtTime>2.1</ObjectCaughtTime> <ObjectSpawnTime>1.1</ObjectSpawnTime> <isEnemy>true</isEnemy> </JellyData> </JelliesData> <LevelNumber>4</LevelNumber> <MaxFPS>20.1</MaxFPS> <MinFPS>19.1</MinFPS> <NoUserFoundCount>27</NoUserFoundCount> <NoUserFoundTime>26.1</NoUserFoundTime> <Overall>9.1</Overall> <PauseCount>28</PauseCount> <PauseTime>30.1</PauseTime> <Stars>5</Stars> <TotalCorrectobjectsCaught>11</TotalCorrectobjectsCaught> <TotalEnemiesCaught>13</TotalEnemiesCaught> <TotalEnemiesSpawned>12</TotalEnemiesSpawned> <TotalObjectsSpawned>10</TotalObjectsSpawned> <TotalTime>24.1</TotalTime> <UserID>sample string 1</UserID> <WaitTime>29.1</WaitTime> <WrongObjectCaughtFromLeftHand>15</WrongObjectCaughtFromLeftHand> <WrongObjectCaughtFromRightHand>17</WrongObjectCaughtFromRightHand> <isLevelSuccessful>true</isLevelSuccessful> </JellySliceMetrics>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.