Revision as of 11:53, 22 June 2020 by Admin (talk | contribs) (Created page with "<br /><syntaxhighlight lang="json"> { "url": "/v1/{game_id}/logs", "description": "Get all log data records for a single game.Note due the amount of data involved this req...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Log API

From GURaaS Developer Community


{
  "url": "/v1/{game_id}/logs",
  "description": "Get all log data records for a single game.Note due the amount of data involved this request might take a while to perform",
  "attributes": [
    "game_id: game unique identifier"
  ],
  "parameters": [
    "session:Session Unique ID",
    "tag1:Tag1",
    "tag2:Tag2",
    "tag3:Tag3",
    "tag4:Tag4",
    "limit:Page start index + max result size",
    "sdate:Start date (YYYY-MM-DD)",
    "stime:Start time (HH:mm:SS) Requires start date.",
    "edate:End date (YYYY-MM-DD)",
    "etime:End time (HH:mm:SS) Requires end date."
  ],
  "defaultHttpCode": "200",
  "example": {
    "request": "/v1/aaaa0000-aaaa-0000-aaaa-0000aaaa0000/logs",
    "result": [
      {
        "id_session": "a10c7111-16de-4ca3-84d0-a765b088c4d0",
        "time": "2017-08-17 16:44:00",
        "tag1": "Tag1 String",
        "tag2": "(optional|null) Tag2 String",
        "tag3": "(optional|null) Tag3 String",
        "tag4": "(optional|null) Tag4 String",
        "data": "String to save log information (max 4096 characters)"
      },
      null
    ]
  }
}