Inthegame · Example Payload

Inthegame Examples

CompanyStreamingCTVOTTVideoEngagementInteractiveGamificationSportsReal-time

Inthegame Examples is an example object payload from Inthegame, with 91 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

GET /admin/currentUserGET /adminApi/streamer/getAllGET /adminApi/streamer/getById/{streamerId}POST /adminApi/streamer/createPOST /adminApi/streamer/updatePOST /adminApi/streamer/injectPoll/{channelId}POST /adminApi/streamer/injectModule/{channelId}POST /adminApi/streamer/injectOffer/{channel_id}POST /adminApi/streamer/injectRating/{channelId}POST /adminApi/streamer/injectTrivia/{channelId}POST /adminApi/streamer/injectWiki/{channelId}POST /adminApi/streamer/addPollEngagement/{channelId}POST /adminApi/streamer/addTriviaEngagement/{channelId}/1POST /adminApi/streamer/addWikiEngagement/{channelId}POST /adminApi/prize/createGET /adminApi/prize/getAllGET /adminApi/prize/getById/{id}POST /adminApi/prize/update/{prizeId}GET /adminApi/analytics/getReportGET /adminApi/analytics/getParametersGET /adminApi/entity/getById/{id}GET /adminApi/entity/getAllPOST /adminApi/entity/createPOST /adminApi/entity/update/{id}GET /adminApi/items/getAllGET /adminApi/items/getById/{id}POST /adminApi/items/createPOST /adminApi/items/update/{id}POST /adminApi/items/importDefaultAvatarsGET /adminApi/moderatorData/getModeratorDataByUserIdOrCreate/{user_id}GET /adminApi/moderatorData/getModeratorDataCurrentUserGET /adminApi/poll/getAllGET /adminApi/poll/getById{pollId}POST /adminApi/poll/createPOST /adminApi/poll/update/{pollId}POST /adminApi/poll/result/{pollId}POST /adminApi/league/create_newGET /adminApi/league/getById_New/{id}GET /adminApi/league/getActive_NewPOST /adminApi/league/update_new/{id}GET /adminApi/rating/getById/{ratingId}POST /adminApi/rating/createPOST /adminApi/rating/update/{ratingId}GET /adminApi/shop/getAllPOST /adminApi/shop/createPOST /adminApi/shop/update/{id}GET /adminApi/shop/getById/{id}GET /adminApi/sponsor/getAllPOST /adminApi/sponsor/createGET /adminApi/sponsor/getById/{id}

Example Payload

Raw ↑
{
 "GET /admin/currentUser": {
  "name": "api_tester",
  "password": "5d93ceb70e2bf5daa84ec3d0cd2c731a",
  "email": "leonid.arenshteyn@inthegame.io",
  "broadcaster_name": "api_tester",
  "type": "moderator",
  "_id": {
   "$id": "5fbce6c58703d05e5a73b6f4"
  }
 },
 "GET /adminApi/streamer/getAll": {
  "streamers": [
   {
    "name": "Test page",
    "useUrl": false,
    "channel_name": "test_channel",
    "channel_id": "test_channel",
    "broadcaster_id": "api_tester",
    "pageUrl": "",
    "additionalPageSettings": "",
    "stream_url": "https://api-dev.inthegame.io/uploads/videos/streamers/9240e2fbfca8dcf912016b83541a6325.ba46792ede92a2eec53f35d8fd4c49e7.mp4",
    "chat_url": "",
    "registration_bonus": "",
    "game": "Test category",
    "game_id": "5fbceda5636497107a1cbdf3",
    "is_permanent": 1,
    "is_featured": 0,
    "status": 1,
    "modules": {
     "logo": true,
     "is_open_menu": false,
     "predictions": false,
     "predictions_menu": false,
     "leaderboard": true,
     "leaderboard_menu": true,
     "leaderboard_icon": false,
     "leaderboard_icon_image": "",
     "account": true,
     "account_menu": true,
     "account_icon": false,
     "account_icon_image": "",
     "shouts": false,
     "shouts_menu": false,
     "quiz": true,
     "polls": true,
     "polls_menu": true,
     "poll_icon": false,
     "poll_icon_image": "",
     "contact": false,
     "contact_menu": false,
     "chat": true,
     "chat_menu": true,
     "wiki": false,
     "rating": false,
     "rating_menu": false,
     "rating_icon": false,
     "rating_icon_image": "",
     "retention": false,
     "close": true,
     "shop": true,
     "shop_menu": true
    },
    "clocks": [],
    "streamSourceType": "file",
    "moderators": [],
    "banList": [],
    "offersInterval": 0,
    "direction": 0,
    "user_id": "5fbce6c58703d05e5a73b6f4",
    "chatDelay": 0,
    "profanityList": [
     ""
    ],
    "useCustomProfanity": false,
    "streamerLogo": "",
    "wikiList": [],
    "additionalInfo": {
     "wikiTitle": "Wiki"
    },
    "languagesList": [],
    "customCSS": "",
    "hide_on_smartphone_portrait_mode": true,
    "approvalMessageMode": "timer",
    "broadcasterUseBlocks": {
     "chat": {
      "customCoords": {
       "x": 0,
       "y": 0
      },
      "useCustomCoords": false
     },
     "rating": {
      "customCoords": {
       "x": 0,
       "y": 0
      },
      "useCustomCoords": false
     },
     "polls": {
      "customCoords": {
       "x": 0,
       "y": 0
      },
      "useCustomCoords": false
     }
    },
    "position": 0,
    "_id": {
     "$id": "5fbcee2e636497107a1cbdf4"
    }
   }
  ],
  "pagination": {
   "total": 1,
   "currentPage": 1,
   "totalPages": 1
  }
 },
 "GET /adminApi/streamer/getById/{streamerId}": {
  "streamer": {
   "name": "Test page",
   "useUrl": false,
   "channel_name": "test_channel",
   "channel_id": "test_channel",
   "broadcaster_id": "api_tester",
   "pageUrl": "",
   "additionalPageSettings": "",
   "stream_url": "https://api-dev.inthegame.io/uploads/videos/streamers/9240e2fbfca8dcf912016b83541a6325.ba46792ede92a2eec53f35d8fd4c49e7.mp4",
   "chat_url": "",
   "registration_bonus": "",
   "game": "Test category",
   "game_id": "5fbceda5636497107a1cbdf3",
   "is_permanent": 1,
   "is_featured": 0,
   "status": 1,
   "modules": {
    "logo": true,
    "is_open_menu": false,
    "predictions": false,
    "predictions_menu": false,
    "leaderboard": true,
    "leaderboard_menu": true,
    "leaderboard_icon": false,
    "leaderboard_icon_image": "",
    "account": true,
    "account_menu": true,
    "account_icon": false,
    "account_icon_image": "",
    "shouts": false,
    "shouts_menu": false,
    "quiz": true,
    "polls": true,
    "polls_menu": true,
    "poll_icon": false,
    "poll_icon_image": "",
    "contact": false,
    "contact_menu": false,
    "chat": true,
    "chat_menu": true,
    "wiki": false,
    "rating": false,
    "rating_menu": false,
    "rating_icon": false,
    "rating_icon_image": "",
    "retention": false,
    "close": true,
    "shop": true,
    "shop_menu": true
   },
   "clocks": [],
   "streamSourceType": "file",
   "moderators": [],
   "banList": [],
   "offersInterval": 0,
   "direction": 0,
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "chatDelay": 0,
   "profanityList": "",
   "useCustomProfanity": false,
   "streamerLogo": "",
   "wikiList": [],
   "additionalInfo": {
    "wikiTitle": "Wiki"
   },
   "languagesList": [],
   "customCSS": "",
   "hide_on_smartphone_portrait_mode": true,
   "approvalMessageMode": "timer",
   "broadcasterUseBlocks": {
    "chat": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "rating": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "polls": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    }
   },
   "position": 0,
   "_id": {
    "$id": "5fbcee2e636497107a1cbdf4"
   }
  }
 },
 "POST /adminApi/streamer/create": {
  "streamer": {
   "name": "Default Page",
   "useUrl": false,
   "channel_name": "new_page",
   "channel_id": "new_page",
   "broadcaster_id": "api_tester",
   "pageUrl": "",
   "additionalPageSettings": "",
   "stream_url": "",
   "chat_url": "",
   "registration_bonus": "",
   "game": "",
   "game_id": "",
   "is_permanent": 1,
   "is_featured": 0,
   "status": 1,
   "modules": {
    "logo": true,
    "is_open_menu": false,
    "predictions": false,
    "predictions_menu": false,
    "leaderboard": true,
    "leaderboard_menu": true,
    "leaderboard_icon": false,
    "leaderboard_icon_image": "",
    "account": true,
    "account_menu": true,
    "account_icon": false,
    "account_icon_image": "",
    "shouts": false,
    "shouts_menu": false,
    "quiz": true,
    "polls": true,
    "polls_menu": true,
    "poll_icon": false,
    "poll_icon_image": "",
    "contact": false,
    "contact_menu": false,
    "chat": false,
    "chat_menu": false,
    "wiki": false,
    "rating": false,
    "rating_menu": false,
    "rating_icon": false,
    "rating_icon_image": "",
    "retention": false,
    "close": false,
    "shop": true,
    "shop_menu": true
   },
   "clocks": [],
   "streamSourceType": "",
   "moderators": [],
   "banList": [],
   "offersInterval": 0,
   "direction": 0,
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "chatDelay": 0,
   "profanityList": [
    ""
   ],
   "useCustomProfanity": false,
   "streamerLogo": "",
   "wikiList": [],
   "additionalInfo": {
    "wikiTitle": "Wiki"
   },
   "languagesList": [],
   "customCSS": "",
   "hide_on_smartphone_portrait_mode": true,
   "approvalMessageMode": "timer",
   "broadcasterUseBlocks": {
    "chat": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "rating": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "polls": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    }
   },
   "_id": {
    "$id": "5fbcf7a7ddbd2068304f33d6"
   }
  }
 },
 "POST /adminApi/streamer/update": {
  "streamer": {
   "name": "Default Page",
   "useUrl": false,
   "channel_name": "new_page",
   "channel_id": "new_page",
   "broadcaster_id": "api_tester",
   "pageUrl": "",
   "additionalPageSettings": "",
   "stream_url": "",
   "chat_url": "",
   "registration_bonus": "",
   "game": "",
   "game_id": "",
   "is_permanent": 1,
   "is_featured": 0,
   "status": 1,
   "modules": {
    "logo": true,
    "is_open_menu": false,
    "predictions": false,
    "predictions_menu": false,
    "leaderboard": true,
    "leaderboard_menu": true,
    "leaderboard_icon": false,
    "leaderboard_icon_image": "",
    "account": true,
    "account_menu": true,
    "account_icon": false,
    "account_icon_image": "",
    "shouts": false,
    "shouts_menu": false,
    "quiz": true,
    "polls": true,
    "polls_menu": true,
    "poll_icon": false,
    "poll_icon_image": "",
    "contact": false,
    "contact_menu": false,
    "chat": false,
    "chat_menu": false,
    "wiki": false,
    "rating": false,
    "rating_menu": false,
    "rating_icon": false,
    "rating_icon_image": "",
    "retention": false,
    "close": false,
    "shop": true,
    "shop_menu": true
   },
   "clocks": [],
   "streamSourceType": "",
   "moderators": [],
   "banList": [],
   "offersInterval": 0,
   "direction": 0,
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "chatDelay": 0,
   "profanityList": "",
   "useCustomProfanity": false,
   "streamerLogo": "",
   "wikiList": [],
   "additionalInfo": {
    "wikiTitle": "Wiki"
   },
   "languagesList": [],
   "customCSS": "",
   "hide_on_smartphone_portrait_mode": true,
   "approvalMessageMode": "timer",
   "broadcasterUseBlocks": {
    "chat": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "rating": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "polls": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    }
   },
   "position": 0,
   "_id": {
    "$id": "5fbcf7a7ddbd2068304f33d6"
   }
  }
 },
 "POST /adminApi/streamer/injectPoll/{channelId}": {
  "poll": {
   "id": "5fbcf049f2d31b5bc07df5ce",
   "name": "Test poll",
   "question": "Filling good?",
   "questionType": "poll",
   "type": "streamer",
   "hideButtons": 0,
   "image": "",
   "time_limit": 0,
   "items": [
    {
     "id": "5fbcee2e636497107a1cbdf4",
     "name": "test_channel"
    }
   ],
   "viewType": "numbers",
   "answers": [
    {
     "answer": "Yes",
     "image": "",
     "reward": 0,
     "isRewardSent": false,
     "answerSending": false
    },
    {
     "answer": "No",
     "image": "",
     "reward": 0,
     "isRewardSent": false,
     "answerSending": false
    },
    {
     "answer": "So so",
     "image": "",
     "reward": 0,
     "isRewardSent": false,
     "answerSending": false
    }
   ],
   "answers_statistic": [],
   "answers_total": 0,
   "prizes": []
  },
  "streamer": {
   "name": "Test page",
   "useUrl": false,
   "channel_name": "test_channel",
   "channel_id": "test_channel",
   "broadcaster_id": "api_tester",
   "pageUrl": "",
   "additionalPageSettings": "",
   "stream_url": "https://api-dev.inthegame.io/uploads/videos/streamers/9240e2fbfca8dcf912016b83541a6325.ba46792ede92a2eec53f35d8fd4c49e7.mp4",
   "chat_url": "",
   "registration_bonus": "",
   "game": "Test category",
   "game_id": "5fbceda5636497107a1cbdf3",
   "is_permanent": 1,
   "is_featured": 0,
   "status": 1,
   "modules": {
    "logo": true,
    "is_open_menu": false,
    "predictions": false,
    "predictions_menu": false,
    "leaderboard": true,
    "leaderboard_menu": true,
    "leaderboard_icon": false,
    "leaderboard_icon_image": "",
    "account": true,
    "account_menu": true,
    "account_icon": false,
    "account_icon_image": "",
    "shouts": false,
    "shouts_menu": false,
    "quiz": true,
    "polls": true,
    "polls_menu": true,
    "poll_icon": false,
    "poll_icon_image": "",
    "contact": false,
    "contact_menu": false,
    "chat": true,
    "chat_menu": true,
    "wiki": false,
    "rating": false,
    "rating_menu": false,
    "rating_icon": false,
    "rating_icon_image": "",
    "retention": false,
    "close": true,
    "shop": true,
    "shop_menu": true
   },
   "clocks": [],
   "streamSourceType": "file",
   "moderators": [],
   "banList": [],
   "offersInterval": 0,
   "direction": 0,
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "chatDelay": 0,
   "profanityList": [
    ""
   ],
   "useCustomProfanity": false,
   "streamerLogo": "",
   "wikiList": [],
   "additionalInfo": {
    "wikiTitle": "Wiki"
   },
   "languagesList": [],
   "customCSS": "",
   "hide_on_smartphone_portrait_mode": true,
   "approvalMessageMode": "timer",
   "broadcasterUseBlocks": {
    "chat": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "rating": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "polls": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    }
   },
   "position": 0,
   "moderator_data": [
    {
     "_id": {
      "$oid": "5fbcf1b4a759e61e0f7b0bc4"
     },
     "user_id": "5fbce6c58703d05e5a73b6f4",
     "banList": [],
     "profanityList": [
      ""
     ],
     "useCustomProfanity": true,
     "customCSS": "",
     "levelsDefinition": [
      {
       "level": 1,
       "name": "novice",
       "expoints": 50
      },
      {
       "level": 2,
       "name": "advanced",
       "expoints": 300
      },
      {
       "level": 3,
       "name": "pro",
       "expoints": 1000
      },
      {
       "level": 4,
       "name": "legendary",
       "expoints": 5000
      }
     ],
     "streamer": {
      "chat_url": "",
      "stream_url": "",
      "registration_bonus": 0,
      "streamSourceType": "",
      "game": "",
      "game_id": null,
      "position": 0,
      "modules": {
       "logo": true,
       "predictions": true,
       "predictions_menu": true,
       "leaderboard": true,
       "leaderboard_menu": true,
       "account": true,
       "account_menu": true,
       "shouts": true,
       "shouts_menu": true,
       "quiz": true,
       "quiz_menu": true,
       "polls": true,
       "polls_menu": true,
       "contact": true,
       "contact_menu": true,
       "chat": true,
       "chat_menu": true,
       "wiki": false,
       "wiki_menu": false,
       "rating": false,
       "rating_menu": false,
       "retention": false,
       "close": false,
       "shop": true,
       "shop_menu": true
      },
      "clocks": [],
      "offersInterval": 0,
      "chatDelay": 0,
      "streamerLogo": "",
      "wikiList": [],
      "additionalInfo": {
       "wikiTitle": "Wiki"
      }
     },
     "broadcaster_name": "api_tester"
    }
   ],
   "_id": {
    "$id": "5fbcee2e636497107a1cbdf4"
   }
  }
 },
 "POST /adminApi/streamer/injectModule/{channelId}": {
  "moduleId": "account"
 },
 "POST /adminApi/streamer/injectOffer/{channel_id}": {
  "offer": {
   "name": "test promo",
   "place": "",
   "streamers": [
    {
     "id": "5fbcee2e636497107a1cbdf4",
     "channel_name": "test_channel"
    }
   ],
   "description": "test",
   "url": "test.com",
   "thumbnail": "",
   "itemType": "big",
   "items": [],
   "content": "<h1>Welcome to my channel</h1>\n",
   "sponsor": "5fbcee9ce1a5930b1508c482",
   "type": "offers",
   "viewType": [
    "flip"
   ],
   "secondsDelay": 5,
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "offersOptions": {
    "sendToChat": true,
    "chatMessage": "Welcome!!!",
    "interval": "1"
   },
   "meta": {
    "left": "50px",
    "top": "50px",
    "width": "80px",
    "height": "80px",
    "expoints": "500"
   },
   "lastSentTime": 1606222769,
   "_id": {
    "$id": "5fbcef0cf2d31b5bc07df5cc"
   }
  }
 },
 "POST /adminApi/streamer/injectRating/{channelId}": {
  "rating": {
   "id": "5fbcf1325e784e3816715935",
   "name": "Harry Potter",
   "description": "film",
   "icon": "",
   "optionsNumber": "5",
   "answers": [],
   "streamers": [
    {
     "id": "5fbcee2e636497107a1cbdf4",
     "channel_name": "test_channel"
    }
   ],
   "prizes": []
  }
 },
 "POST /adminApi/streamer/injectTrivia/{channelId}": {
  "status": true
 },
 "POST /adminApi/streamer/injectWiki/{channelId}": {
  "wiki": {
   "id": "5fbd060eaec04b6e6943828b",
   "name": "Test Wiki",
   "showInMenu": false,
   "icon": "",
   "content": "<p>Hello to all!!!</p>\n",
   "streamers": [
    {
     "id": "5fbcee2e636497107a1cbdf4",
     "channel_name": "test_channel"
    }
   ],
   "meta": {
    "left": "250px",
    "top": "50px",
    "width": "150px",
    "height": "150px",
    "expoints": "10"
   },
   "type": "html",
   "tweetUrl": "",
   "prizes": []
  }
 },
 "POST /adminApi/streamer/addPollEngagement/{channelId}": {
  "poll": {
   "id": "5fbd07fc48196740b75d323b",
   "name": "New Poll",
   "question": "Test?",
   "questionType": "poll",
   "type": "streamer",
   "hideButtons": 0,
   "image": "",
   "time_limit": 0,
   "items": [
    {
     "id": "5fbcee2e636497107a1cbdf4",
     "name": "test_channel"
    }
   ],
   "viewType": "percentage",
   "answers": [
    {
     "answer": "Test",
     "image": "",
     "reward": 0,
     "isRewardSent": false,
     "answerSending": false
    },
    {
     "answer": "Live",
     "image": "",
     "reward": 0,
     "isRewardSent": false,
     "answerSending": false
    }
   ],
   "answers_statistic": [],
   "answers_total": 0,
   "prizes": []
  }
 },
 "POST /adminApi/streamer/addTriviaEngagement/{channelId}/1": {
  "streamer": {
   "name": "Test page",
   "useUrl": false,
   "channel_name": "test_channel",
   "channel_id": "test_channel",
   "broadcaster_id": "api_tester",
   "pageUrl": "",
   "additionalPageSettings": "",
   "stream_url": "https://api-dev.inthegame.io/uploads/videos/streamers/9240e2fbfca8dcf912016b83541a6325.ba46792ede92a2eec53f35d8fd4c49e7.mp4",
   "chat_url": "",
   "registration_bonus": "",
   "game": "Test category",
   "game_id": "5fbceda5636497107a1cbdf3",
   "is_permanent": 1,
   "is_featured": 0,
   "status": 1,
   "modules": {
    "logo": true,
    "is_open_menu": false,
    "predictions": false,
    "predictions_menu": false,
    "leaderboard": true,
    "leaderboard_menu": true,
    "leaderboard_icon": false,
    "leaderboard_icon_image": "",
    "account": true,
    "account_menu": true,
    "account_icon": false,
    "account_icon_image": "",
    "shouts": false,
    "shouts_menu": false,
    "quiz": true,
    "polls": true,
    "polls_menu": true,
    "poll_icon": false,
    "poll_icon_image": "",
    "contact": false,
    "contact_menu": false,
    "chat": true,
    "chat_menu": true,
    "wiki": true,
    "rating": true,
    "rating_menu": true,
    "rating_icon": false,
    "rating_icon_image": "",
    "retention": false,
    "close": true,
    "shop": true,
    "shop_menu": true
   },
   "clocks": [
    {
     "id": "5fbd060eaec04b6e6943828b",
     "module": "wiki",
     "timeToStay": "10",
     "time": 0,
     "simpleModule": null
    },
    {
     "id": "5fbd07fc48196740b75d323b",
     "module": "polls",
     "timeToStay": "10",
     "time": "25"
    },
    {
     "id": "5fbd096648196740b75d323c",
     "simpleModule": null,
     "timeToStay": "10",
     "module": "quiz",
     "time": 15
    }
   ],
   "streamSourceType": "file",
   "moderators": [],
   "banList": [],
   "offersInterval": 0,
   "direction": 0,
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "chatDelay": 0,
   "profanityList": [
    ""
   ],
   "useCustomProfanity": false,
   "streamerLogo": "",
   "wikiList": [],
   "additionalInfo": {
    "wikiTitle": "Wiki"
   },
   "languagesList": [],
   "customCSS": "",
   "hide_on_smartphone_portrait_mode": true,
   "approvalMessageMode": "timer",
   "broadcasterUseBlocks": {
    "chat": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "rating": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    },
    "polls": {
     "customCoords": {
      "x": 0,
      "y": 0
     },
     "useCustomCoords": false
    }
   },
   "position": 0,
   "moderator_data": [
    {
     "_id": {
      "$oid": "5fbcf1b4a759e61e0f7b0bc4"
     },
     "user_id": "5fbce6c58703d05e5a73b6f4",
     "banList": [],
     "profanityList": [
      ""
     ],
     "useCustomProfanity": true,
     "customCSS": "",
     "levelsDefinition": [
      {
       "level": 1,
       "name": "novice",
       "expoints": 50
      },
      {
       "level": 2,
       "name": "advanced",
       "expoints": 300
      },
      {
       "level": 3,
       "name": "pro",
       "expoints": 1000
      },
      {
       "level": 4,
       "name": "legendary",
       "expoints": 5000
      }
     ],
     "streamer": {
      "chat_url": "",
      "stream_url": "",
      "registration_bonus": 0,
      "streamSourceType": "",
      "game": "",
      "game_id": null,
      "position": 0,
      "modules": {
       "logo": true,
       "predictions": true,
       "predictions_menu": true,
       "leaderboard": true,
       "leaderboard_menu": true,
       "account": true,
       "account_menu": true,
       "shouts": true,
       "shouts_menu": true,
       "quiz": true,
       "quiz_menu": true,
       "polls": true,
       "polls_menu": true,
       "contact": true,
       "contact_menu": true,
       "chat": true,
       "chat_menu": true,
       "wiki": false,
       "wiki_menu": false,
       "rating": false,
       "rating_menu": false,
       "retention": false,
       "close": false,
       "shop": true,
       "shop_menu": true
      },
      "clocks": [],
      "offersInterval": 0,
      "chatDelay": 0,
      "streamerLogo": "",
      "wikiList": [],
      "additionalInfo": {
       "wikiTitle": "Wiki"
      }
     },
     "broadcaster_name": "api_tester"
    }
   ],
   "_id": {
    "$id": "5fbcee2e636497107a1cbdf4"
   }
  }
 },
 "POST /adminApi/streamer/addWikiEngagement/{channelId}": {
  "wiki": {
   "id": "5fbd09ff0174d8346b7cce86",
   "name": "Whats Up",
   "showInMenu": false,
   "icon": "",
   "content": "<h1>What&#39;s UP BRO?</h1>\n",
   "streamers": [
    {
     "id": "5fbcee2e636497107a1cbdf4",
     "channel_name": "test_channel"
    }
   ],
   "meta": {
    "left": "60px",
    "top": "60px",
    "width": "300px",
    "height": "300px",
    "expoints": "150"
   },
   "type": "html",
   "tweetUrl": "",
   "prizes": []
  }
 },
 "POST /adminApi/prize/create": {
  "prize": {
   "name": "Ads",
   "place": "",
   "streamers": [],
   "description": "test",
   "url": "",
   "thumbnail": "",
   "itemType": null,
   "items": [],
   "content": "<p>Wow</p>\n",
   "sponsor": "5fbcee9ce1a5930b1508c482",
   "type": null,
   "viewType": [],
   "secondsDelay": 0,
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "offersOptions": {
    "sendToChat": false,
    "chatMessage": "",
    "interval": 0
   },
   "meta": {
    "left": 0,
    "top": 0,
    "width": 0,
    "height": 0,
    "expoints": 0
   },
   "_id": {
    "$id": "5fbd0f4baec04b6e69438292"
   }
  }
 },
 "GET /adminApi/prize/getAll": {
  "prizes": [
   {
    "name": "test promo",
    "place": "",
    "streamers": [
     {
      "id": "5fbcee2e636497107a1cbdf4",
      "channel_name": "test_channel"
     }
    ],
    "description": "test",
    "url": "test.com",
    "thumbnail": "",
    "itemType": "big",
    "items": [],
    "content": "<h1>Welcome to my channel</h1>\n",
    "sponsor": "5fbcee9ce1a5930b1508c482",
    "type": "offers",
    "viewType": [
     "flip"
    ],
    "secondsDelay": 5,
    "user_id": "5fbce6c58703d05e5a73b6f4",
    "offersOptions": {
     "sendToChat": true,
     "chatMessage": "Welcome!!!",
     "interval": "1"
    },
    "meta": {
     "left": "50px",
     "top": "50px",
     "width": "80px",
     "height": "80px",
     "expoints": "500"
    },
    "lastSentTime": 1606225889,
    "_id": {
     "$id": "5fbcef0cf2d31b5bc07df5cc"
    }
   },
   {
    "name": "Test promo",
    "place": "",
    "streamers": [],
    "description": "test",
    "url": "",
    "thumbnail": "",
    "itemType": null,
    "items": [],
    "content": "<p>Test promo</p>\n",
    "sponsor": "5fbcee9ce1a5930b1508c482",
    "type": null,
    "viewType": [],
    "secondsDelay": 0,
    "user_id": "5fbce6c58703d05e5a73b6f4",
    "offersOptions": {
     "sendToChat": false,
     "chatMessage": "",
     "interval": 0
    },
    "meta": {
     "left": 0,
     "top": 0,
     "width": 0,
     "height": 0,
     "expoints": "10"
    },
    "_id": {
     "$id": "5fbd0f2898ffc537f676f529"
    }
   },
   {
    "name": "Ads",
    "place": "",
    "streamers": [],
    "description": "test",
    "url": "",
    "thumbnail": "",
    "itemType": null,
    "items": [],
    "content": "<p>Wow</p>\n",
    "sponsor": "5fbcee9ce1a5930b1508c482",
    "type": null,
    "viewType": [],
    "secondsDelay": 0,
    "user_id": "5fbce6c58703d05e5a73b6f4",
    "offersOptions": {
     "sendToChat": false,
     "chatMessage": "",
     "interval": 0
    },
    "meta": {
     "left": 0,
     "top": 0,
     "width": 0,
     "height": 0,
     "expoints": 0
    },
    "_id": {
     "$id": "5fbd0f4baec04b6e69438292"
    }
   }
  ]
 },
 "GET /adminApi/prize/getById/{id}": {
  "prize": {
   "name": "test promo",
   "place": "",
   "streamers": [
    {
     "id": "5fbcee2e636497107a1cbdf4",
     "channel_name": "test_channel"
    }
   ],
   "description": "test",
   "url": "test.com",
   "thumbnail": "",
   "itemType": "big",
   "items": [],
   "content": "<h1>Welcome to my channel</h1>\n",
   "sponsor": "5fbcee9ce1a5930b1508c482",
   "type": "offers",
   "viewType": [
    "flip"
   ],
   "secondsDelay": 5,
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "offersOptions": {
    "sendToChat": true,
    "chatMessage": "Welcome!!!",
    "interval": "1"
   },
   "meta": {
    "left": "50px",
    "top": "50px",
    "width": "80px",
    "height": "80px",
    "expoints": "500"
   },
   "lastSentTime": 1606225889,
   "_id": {
    "$id": "5fbcef0cf2d31b5bc07df5cc"
   }
  }
 },
 "POST /adminApi/prize/update/{prizeId}": {
  "prize": {
   "name": "test promo",
   "place": "",
   "streamers": [
    {
     "id": "5fbcee2e636497107a1cbdf4",
     "channel_name": "test_channel"
    }
   ],
   "description": "test",
   "url": "test.com",
   "thumbnail": "",
   "sponsorLogo": "",
   "itemType": "big",
   "items": [],
   "content": "<h1>Welcome to my channel</h1>\n",
   "sponsor": "5fbcee9ce1a5930b1508c482",
   "type": "offers",
   "viewType": [
    "flip"
   ],
   "secondsDelay": 5,
   "offersOptions": {
    "sendToChat": true,
    "chatMessage": "Welcome!!!",
    "interval": "1"
   },
   "meta": {
    "left": "50px",
    "top": "50px",
    "width": "80px",
    "height": "80px",
    "expoints": "500"
   }
  }
 },
 "GET /adminApi/analytics/getReport": {
  "report": [
   {
    "module": "Rating",
    "impressions": 2,
    "engagements": 0,
    "engagementRatio": 0,
    "clicks": 0,
    "ctr": 0,
    "subModules": [
     {
      "module": "Harry Potter",
      "impressions": 2,
      "engagements": 0,
      "ctr": 0,
      "clicks": 0,
      "engagementRatio": 0
     }
    ]
   },
   {
    "module": "Polls",
    "impressions": 2,
    "engagements": 0,
    "engagementRatio": 0,
    "clicks": 0,
    "ctr": 0,
    "subModules": [
     {
      "module": "Test poll",
      "impressions": 2,
      "engagements": 0,
      "ctr": 0,
      "clicks": 0,
      "engagementRatio": 0
     }
    ]
   },
   {
    "module": "Quiz",
    "impressions": 1,
    "engagements": 0,
    "engagementRatio": 0,
    "clicks": 0,
    "ctr": 0,
    "subModules": [
     {
      "module": "Which year Harry Potter was born?",
      "impressions": 1,
      "engagements": 0,
      "ctr": 0,
      "clicks": 0,
      "engagementRatio": 0
     }
    ]
   },
   {
    "module": "Wiki",
    "impressions": 5,
    "engagements": 0,
    "engagementRatio": 0,
    "clicks": 0,
    "ctr": 0,
    "subModules": [
     {
      "module": "Test Wiki",
      "impressions": 5,
      "engagements": 0,
      "ctr": 0,
      "clicks": 0,
      "engagementRatio": 0
     }
    ]
   },
   {
    "module": "Chat",
    "impressions": 1,
    "engagements": 1,
    "engagementRatio": 1,
    "clicks": 0,
    "ctr": 0,
    "subModules": []
   },
   {
    "module": "Account",
    "impressions": 1,
    "engagements": 1,
    "engagementRatio": 1,
    "clicks": 0,
    "ctr": 0,
    "subModules": []
   }
  ],
  "type": "new"
 },
 "GET /adminApi/analytics/getParameters": {
  "devices": [
   {
    "deviceName": "Android"
   },
   {
    "deviceName": "iPhone"
   },
   {
    "deviceName": "iPad"
   },
   {
    "deviceName": "BlackBerry"
   }
  ],
  "platforms": [
   {
    "platformName": "mobile"
   },
   {
    "platformName": "web"
   }
  ],
  "countries": [
   {
    "countryCode": "US",
    "countryName": "United States"
   },
   {
    "countryCode": "IL",
    "countryName": "Israel"
   }
  ],
  "browsers": [
   {
    "browserName": "Chrome"
   },
   {
    "browserName": "Safari"
   },
   {
    "browserName": "Firefox"
   },
   {
    "browserName": "MSIE"
   }
  ],
  "type": "new"
 },
 "GET /adminApi/entity/getById/{id}": {
  "entity": {
   "name": "Test entity",
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "thumbnail": "",
   "_id": {
    "$id": "5fbcf1b14ad5926a962b7f97"
   }
  }
 },
 "GET /adminApi/entity/getAll": {
  "entities": [
   {
    "name": "Test entity",
    "user_id": "5fbce6c58703d05e5a73b6f4",
    "thumbnail": "",
    "_id": {
     "$id": "5fbcf1b14ad5926a962b7f97"
    }
   }
  ]
 },
 "POST /adminApi/entity/create": {
  "entity": {
   "name": "Test Entity",
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "thumbnail": "",
   "_id": {
    "$id": "5fbd14d40174d8346b7cceb4"
   }
  }
 },
 "POST /adminApi/entity/update/{id}": {
  "entity": {
   "name": "Test Entity",
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "thumbnail": ""
  }
 },
 "GET /adminApi/items/getAll": {
  "items": [
   {
    "user_id": "5fbce6c58703d05e5a73b6f4",
    "broadcaster_name": "api_tester",
    "name": "zombie",
    "shortcut": "zombie",
    "item_order": 1,
    "status": "active",
    "type": "thumbnail",
    "game_id": 0,
    "thumbnail": "/uploads/products/rImage1123.png",
    "_id": {
     "$id": "5fbcee5aa759e61e0f7b0b87"
    }
   }
  ],
  "pagination": {
   "total": 1,
   "currentPage": "1",
   "totalPages": 1
  }
 },
 "GET /adminApi/items/getById/{id}": {
  "item": {
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "broadcaster_name": "api_tester",
   "name": "zombie",
   "shortcut": "zombie",
   "item_order": 1,
   "status": "active",
   "type": "thumbnail",
   "game_id": 0,
   "thumbnail": "/uploads/products/rImage1123.png",
   "_id": {
    "$id": "5fbcee5aa759e61e0f7b0b87"
   }
  }
 },
 "POST /adminApi/items/create": {
  "item": {
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "broadcaster_name": "api_tester",
   "name": "Test",
   "shortcut": "Test",
   "item_order": 1,
   "status": "active",
   "type": "thumbnail",
   "game_id": "5fbceda5636497107a1cbdf3",
   "thumbnail": "",
   "_id": {
    "$id": "5fbd171198ffc537f676f555"
   },
   "id": "5fbd171198ffc537f676f555"
  }
 },
 "POST /adminApi/items/update/{id}": {
  "item": {
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "broadcaster_name": "api_tester",
   "name": "Test",
   "shortcut": "Test",
   "item_order": 1,
   "status": "active",
   "type": "thumbnail",
   "game_id": "5fbceda5636497107a1cbdf3",
   "thumbnail": ""
  }
 },
 "POST /adminApi/items/importDefaultAvatars": {
  "added": "success"
 },
 "GET /adminApi/moderatorData/getModeratorDataByUserIdOrCreate/{user_id}": {
  "moderatorData": {
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "banList": [],
   "profanityList": "",
   "useCustomProfanity": true,
   "customCSS": "",
   "levelsDefinition": [
    {
     "level": 1,
     "name": "novice",
     "expoints": 50
    },
    {
     "level": 2,
     "name": "advanced",
     "expoints": 300
    },
    {
     "level": 3,
     "name": "pro",
     "expoints": 1000
    },
    {
     "level": 4,
     "name": "legendary",
     "expoints": 5000
    }
   ],
   "streamer": {
    "chat_url": "",
    "stream_url": "",
    "registration_bonus": 0,
    "streamSourceType": "",
    "game": "",
    "game_id": null,
    "position": 0,
    "modules": {
     "logo": true,
     "predictions": true,
     "predictions_menu": true,
     "leaderboard": true,
     "leaderboard_menu": true,
     "account": true,
     "account_menu": true,
     "shouts": true,
     "shouts_menu": true,
     "quiz": true,
     "quiz_menu": true,
     "polls": true,
     "polls_menu": true,
     "contact": true,
     "contact_menu": true,
     "chat": true,
     "chat_menu": true,
     "wiki": false,
     "wiki_menu": false,
     "rating": false,
     "rating_menu": false,
     "retention": false,
     "close": false,
     "shop": true,
     "shop_menu": true
    },
    "clocks": [],
    "offersInterval": 0,
    "chatDelay": 0,
    "streamerLogo": "",
    "wikiList": [],
    "additionalInfo": {
     "wikiTitle": "Wiki"
    }
   },
   "broadcaster_name": "api_tester",
   "_id": {
    "$id": "5fbcf1b4a759e61e0f7b0bc4"
   }
  }
 },
 "GET /adminApi/moderatorData/getModeratorDataCurrentUser": {
  "moderatorData": {
   "user_id": "5fbce6c58703d05e5a73b6f4",
   "banList": [],
   "profanityList": "",
   "useCustomProfanity": true,
   "customCSS": "",
   "levelsDefinition": [
    {
     "level": 1,
     "name": "novice",
     "expoints": 50
    },
    {
     "level": 2,
     "name": "advanced",
     "expoints": 300
    },


# --- truncated at 32 KB (93 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/inthegame/refs/heads/main/examples/inthegame-examples.json