{ "opencollection": "1.0.0", "info": { "name": "Inthegame admin entity API", "version": "1.0.0" }, "items": [ { "info": { "name": "entity", "type": "folder" }, "items": [ { "info": { "name": "Create", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/adminApi/entity/create", "body": { "type": "form-urlencoded", "data": [ { "name": "name", "value": "" }, { "name": "thumbnail", "value": "" } ] }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send new entity object to save and return it as db object" }, { "info": { "name": "Delete", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/adminApi/entity/delete/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send entity id to delete it from db" }, { "info": { "name": "GetAll", "type": "http" }, "http": { "method": "GET", "url": "https://api-dev.inthegame.io/adminApi/entity/getAll", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Return entities list to admin panel" }, { "info": { "name": "GetById", "type": "http" }, "http": { "method": "GET", "url": "https://api-dev.inthegame.io/adminApi/entity/getById/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Return entity object selected by given id" }, { "info": { "name": "Update", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/adminApi/entity/update/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "form-urlencoded", "data": [ { "name": "name", "value": "" }, { "name": "user_id", "value": "" }, { "name": "thumbnail", "value": "" }, { "name": "_id", "value": "" } ] }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send entity object to update in db with given id and return updated entity" }, { "info": { "name": "Add", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/userApi/entity/add", "body": { "type": "form-urlencoded", "data": [ { "name": "request", "value": "" } ] } }, "docs": "Create entity by user choice" }, { "info": { "name": "Remove", "type": "http" }, "http": { "method": "POST", "url": "https://api-dev.inthegame.io/userApi/entity/remove", "body": { "type": "json", "data": "{}" } }, "docs": "Delete entity from user entities" } ] } ], "bundled": true }