openapi: 3.0.3 info: title: Inthegame admin API version: 1.0.0 description: 'Interactive in-stream overlay and viewer-engagement platform API for OTT/CTV. Two surfaces: adminApi (broadcaster/admin management of streamers, polls, trivia, ratings, wikis, shop, sponsors, prizes, analytics) and userApi (end-viewer play: register/login, answer polls/trivia/ratings, chat, leaderboard, shop). Converted from the provider-published Postman collection "Inthegame API Docs".' contact: name: Inthegame Support email: support@inthegame.io url: https://www.inthegame.io/ servers: - url: https://api-dev.inthegame.io description: Published API host (from Postman collection) tags: - name: admin paths: /admin/currentUser: get: operationId: adminapiAdminGetcurrentuser summary: GetCurrentUser tags: - admin description: Gets current logged user object by token saved in cookies. Requested every time page loads for applying some actions on server. responses: '200': description: API Test content: application/json: schema: type: object example: name: api_tester password: 5d93ceb70e2bf5daa84ec3d0cd2c731a email: leonid.arenshteyn@inthegame.io broadcaster_name: api_tester type: moderator _id: $id: 5fbce6c58703d05e5a73b6f4 '404': description: Not found '500': description: Server error security: - AdminToken: [] components: securitySchemes: AdminToken: type: apiKey in: header name: Authorization description: Admin API token issued after login to the admin panel (https://admintest.inthegame.io/); sent in the Authorization header.