{ "opencollection": "1.0.0", "info": { "name": "Inthegame admin user API", "version": "1.0.0" }, "items": [ { "info": { "name": "user", "type": "folder" }, "items": [ { "info": { "name": "GetAll", "type": "http" }, "http": { "method": "GET", "url": "https://api-dev.inthegame.io/adminApi/user/getAll", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Return channel users list registered in app" }, { "info": { "name": "GetAllByBroadcaster", "type": "http" }, "http": { "method": "GET", "url": "https://api-dev.inthegame.io/adminApi/user/getAllByBroadcaster", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Return all registered users in current broadcaster" }, { "info": { "name": "Login", "type": "http" }, "http": { "method": "GET", "url": "https://api-dev.inthegame.io/adminApi/user/loginNew", "params": [ { "name": "username", "value": "", "type": "query" }, { "name": "password", "value": "", "type": "query" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Request to login in admin system, return token and user id, token will be saved in cookies, all rest requests take it for Authentication header for api permission" }, { "info": { "name": "Register", "type": "http" }, "http": { "method": "GET", "url": "https://api-dev.inthegame.io/adminApi/user/register", "params": [ { "name": "username", "value": "", "type": "query" }, { "name": "password", "value": "", "type": "query" }, { "name": "email", "value": "", "type": "query" }, { "name": "broadcasterName", "value": "", "type": "query" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Register new user" }, { "info": { "name": "GetAvailableAvatars", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/userApi/user/getAvailableAvatars", "body": { "type": "form-urlencoded", "data": [ { "name": "request", "value": "" } ] } }, "docs": "Load default icons/emojies for account" }, { "info": { "name": "LoginByCredentials", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/userApi/user/login_by_credentials", "body": { "type": "form-urlencoded", "data": [ { "name": "request", "value": "" } ] } }, "docs": "Request for login by user/password " }, { "info": { "name": "LoginByToken", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/userApi/user/login_by_token", "body": { "type": "form-urlencoded", "data": [ { "name": "request", "value": "" } ] } }, "docs": "User log in by the token var got in register" }, { "info": { "name": "Register", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/userApi/user/register", "body": { "type": "form-urlencoded", "data": [ { "name": "request", "value": "" } ] } }, "docs": "User registration - the function creates a random username and token" }, { "info": { "name": "SendPasswordToEmail", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/userApi/user/sendPasswordToEmail", "body": { "type": "form-urlencoded", "data": [ { "name": "request", "value": "" } ] } }, "docs": "To recover password generate new password and send to user e-mail" }, { "info": { "name": "Update", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/userApi/user/update", "body": { "type": "form-urlencoded", "data": [ { "name": "request", "value": "" } ] } }, "docs": "Update user details" }, { "info": { "name": "UploadAvatar", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/userApi/user/uploadAvatar", "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "type", "type": "text", "value": "" }, { "name": "token", "type": "text", "value": "" } ] } }, "docs": "Upload New Avatar" } ] } ], "bundled": true }