{ "opencollection": "1.0.0", "info": { "name": "Inthegame admin sponsor API", "version": "1.0.0" }, "items": [ { "info": { "name": "sponsor", "type": "folder" }, "items": [ { "info": { "name": "Create", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/adminApi/sponsor/create", "body": { "type": "form-urlencoded", "data": [ { "name": "name", "value": "" }, { "name": "description", "value": "" } ] }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send new sponsor object to save and return it as db object" }, { "info": { "name": "Delete", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/adminApi/sponsor/delete/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send sposnor id to delete it from db" }, { "info": { "name": "GetAll", "type": "http" }, "http": { "method": "GET", "url": "https://api-dev.inthegame.io/adminApi/sponsor/getAll", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send request to get sponsors list by filter options" }, { "info": { "name": "GetById", "type": "http" }, "http": { "method": "GET", "url": "https://api-dev.inthegame.io/adminApi/sponsor/getById/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Return sponsor object selected by given id" }, { "info": { "name": "Update", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/adminApi/sponsor/update/:sponsorId", "params": [ { "name": "sponsorId", "value": "", "type": "path" } ], "body": { "type": "form-urlencoded", "data": [ { "name": "name", "value": "" }, { "name": "description", "value": "" } ] }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send sponsor object to update in db with given id and return updated sponsor" } ] } ], "bundled": true }