{"info":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","description":"<html><head></head><body><h3 id=\"extra-get-request-query--params\">Extra Get request query  params</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>include</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>include</code></td>\n<td>Include the relations of the queried model, use comma separated values. you can also just get the count by using name + Count (example: <code>serversCount</code>)</td>\n<td>/api/users?include=servers,vouchers</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>Filter on specific fields</td>\n<td>/api/users?filter[email]=<a href=\"mailto:example@hotmai.com\">example@hotmai.com</a></td>\n</tr>\n</tbody>\n</table>\n</div><p>Available includes and filters can be found on the specific api resources</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9044962","collectionId":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","publishedId":"TzY69ub2","public":true,"customColor":{"top-bar":"333","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-06-07T12:49:30.000Z"},"item":[{"name":"Users","item":[{"name":"List Users","id":"446fdbb2-0d12-4e2d-9a01-c7c18b880796","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","users"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"a9b2318c-5bbb-4c28-ab9a-b4fac800e9ee","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 07 Jun 2021 12:46:17 GMT"},{"key":"Date","value":"Mon, 07 Jun 2021 12:46:17 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"admin\",\n            \"role\": \"admin\",\n            \"credits\": 250,\n            \"server_limit\": 1,\n            \"pterodactyl_id\": 1,\n            \"avatar\": null,\n            \"email\": \"admin@admin.com\",\n            \"email_verified_at\": null,\n            \"created_at\": \"2021-06-06T19:34:41.000000Z\",\n            \"updated_at\": \"2021-06-06T19:34:41.000000Z\",\n            \"ip\": null,\n            \"last_seen\": null,\n            \"discord_verified_at\": null\n        }\n    ],\n    \"first_page_url\": \"http://localhost:8000/api/users?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"http://localhost:8000/api/users?page=1\",\n    \"links\": [\n        {\n            \"url\": null,\n            \"label\": \"&laquo; Previous\",\n            \"active\": false\n        },\n        {\n            \"url\": \"http://localhost:8000/api/users?page=1\",\n            \"label\": \"1\",\n            \"active\": true\n        },\n        {\n            \"url\": null,\n            \"label\": \"Next &raquo;\",\n            \"active\": false\n        }\n    ],\n    \"next_page_url\": null,\n    \"path\": \"http://localhost:8000/api/users\",\n    \"per_page\": 50,\n    \"prev_page_url\": null,\n    \"to\": 1,\n    \"total\": 1\n}"}],"_postman_id":"446fdbb2-0d12-4e2d-9a01-c7c18b880796"},{"name":"User Details","id":"fa97cae3-913a-4aa7-891a-dd0ebec6caab","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"url":"{{url}}/api/users/1","description":"<p>The ID can either be the users ID or the users DISCORD ID</p>\n<p>This endpoint is also great for checking if a discord user has verified there account :)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","users","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ce67f409-568c-42eb-9e86-d2eeebac4747","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/users/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 07 Jun 2021 12:54:37 GMT"},{"key":"Date","value":"Mon, 07 Jun 2021 12:54:37 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"admin\",\n    \"role\": \"admin\",\n    \"credits\": 250,\n    \"server_limit\": 1,\n    \"pterodactyl_id\": 1,\n    \"avatar\": null,\n    \"email\": \"admin@admin.com\",\n    \"email_verified_at\": null,\n    \"created_at\": \"2021-06-06T19:34:41.000000Z\",\n    \"updated_at\": \"2021-06-06T19:34:41.000000Z\",\n    \"ip\": null,\n    \"last_seen\": null,\n    \"discord_verified_at\": null\n}"}],"_postman_id":"fa97cae3-913a-4aa7-891a-dd0ebec6caab"},{"name":"Update User","id":"3e8f6ac3-2897-4335-bc8c-abdc23c383a5","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>sometimes|string|min:4|max:30</p>\n","type":"text"},{"key":"email","value":"","description":"<p>sometimes|string|email</p>\n","type":"text"},{"key":"credits","value":"","description":"<p>sometimes|numeric|min:0|max:1000000</p>\n","type":"text"},{"key":"server_limit","value":"","description":"<p>sometimes|numeric|min:0|max:1000000</p>\n","type":"text"},{"key":"role","value":"","description":"<p>sometimes, Role ID</p>\n","type":"text"}]},"url":"{{url}}/api/users/1","description":"<p>The ID can either be the users ID or the users DISCORD ID</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","users","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"8c753034-d99d-4f3c-93c5-09565bf6d70d","name":"Response","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"sometimes|string|min:4|max:30","type":"text"},{"key":"email","value":"","description":"sometimes|string|email","type":"text"},{"key":"credits","value":"","description":"sometimes|numeric|min:0|max:1000000","type":"text"},{"key":"server_limit","value":"","description":"sometimes|numeric|min:0|max:1000000","type":"text"},{"key":"role","value":"","description":"sometimes, has to be one of these: 'admin', 'mod', 'client', 'member'","type":"text"}]},"url":"{{url}}/api/users/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 07 Jun 2021 13:04:54 GMT"},{"key":"Date","value":"Mon, 07 Jun 2021 13:04:54 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"admin\",\n    \"role\": \"admin\",\n    \"credits\": 1000,\n    \"server_limit\": 10,\n    \"pterodactyl_id\": 1,\n    \"avatar\": null,\n    \"email\": \"admin@admin.com\",\n    \"email_verified_at\": null,\n    \"created_at\": \"2021-06-06T19:34:41.000000Z\",\n    \"updated_at\": \"2021-06-07T13:02:55.000000Z\",\n    \"ip\": null,\n    \"last_seen\": null,\n    \"discord_verified_at\": null\n}"}],"_postman_id":"3e8f6ac3-2897-4335-bc8c-abdc23c383a5"},{"name":"Suspend User","id":"c5a6b1f2-4130-4a2c-9cff-880bda2a301e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{url}}/api/users/1/suspend","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","users","1","suspend"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5a6b1f2-4130-4a2c-9cff-880bda2a301e"},{"name":"Unsuspend User","id":"3b64e814-99c8-4e1e-9d58-ce31f5cb97b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{url}}/api/users/1/unsuspend","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","users","1","unsuspend"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b64e814-99c8-4e1e-9d58-ce31f5cb97b6"},{"name":"Delete User","id":"e7af53f9-27fc-472c-afd0-15dc86af1fe1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/users/1","description":"<p>The ID can either be the users ID or the users DISCORD ID</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","users","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"6af688e4-b402-41df-8ce2-c57466629f70","name":"Response","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/api/users/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 07 Jun 2021 13:11:41 GMT"},{"key":"Date","value":"Mon, 07 Jun 2021 13:11:41 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"admin\",\n    \"role\": \"admin\",\n    \"credits\": 1000,\n    \"server_limit\": 10,\n    \"pterodactyl_id\": 1,\n    \"avatar\": null,\n    \"email\": \"admin@admin.com\",\n    \"email_verified_at\": null,\n    \"created_at\": \"2021-06-06T19:34:41.000000Z\",\n    \"updated_at\": \"2021-06-07T13:02:55.000000Z\",\n    \"ip\": null,\n    \"last_seen\": null,\n    \"discord_verified_at\": null\n}"}],"_postman_id":"e7af53f9-27fc-472c-afd0-15dc86af1fe1"},{"name":"Increment","id":"8c0ae5dd-5e99-4b0a-8040-5efab6a2c031","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"credits","value":"100","type":"text"},{"key":"server_limit","value":"1","type":"text"}]},"url":"{{url}}/api/users/1/increment","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","users","1","increment"],"host":["{{url}}"],"query":[{"disabled":true,"key":"","value":null},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"c94ee319-d10b-4db3-9c3f-dd5bf8645900","name":"Response","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"credits","value":"100","type":"text"},{"key":"server_limit","value":"1","type":"text"}]},"url":{"raw":"{{url}}/api/users/1/increment","host":["{{url}}"],"path":["api","users","1","increment"],"query":[{"key":"","value":null,"type":"text","disabled":true},{"key":"","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 02 Aug 2021 14:24:19 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"39"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"admin\",\n    \"role\": \"admin\",\n    \"credits\": 770,\n    \"server_limit\": 14,\n    \"pterodactyl_id\": 1,\n    \"avatar\": null,\n    \"email\": \"admin@hotmail.com\",\n    \"email_verified_at\": null,\n    \"created_at\": \"2021-08-02T14:14:56.000000Z\",\n    \"updated_at\": \"2021-08-02T14:24:15.000000Z\",\n    \"ip\": null,\n    \"last_seen\": null,\n    \"discord_verified_at\": null\n}"}],"_postman_id":"8c0ae5dd-5e99-4b0a-8040-5efab6a2c031"},{"name":"Decrement","id":"4193684e-e739-425f-b1db-00b2f6c2fd68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"credits","value":"100","type":"text"},{"key":"server_limit","value":"1","type":"text"}]},"url":"{{url}}/api/users/1/decrement","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","users","1","decrement"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"7ebf0e04-6d36-485a-adea-61ff1fbe0067","name":"Response","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"credits","value":"100","type":"text"},{"key":"server_limit","value":"1","type":"text"}]},"url":"{{url}}/api/users/1/decrement"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 02 Aug 2021 14:27:32 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"36"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"admin\",\n    \"role\": \"admin\",\n    \"credits\": 470,\n    \"server_limit\": 8,\n    \"pterodactyl_id\": 1,\n    \"avatar\": null,\n    \"email\": \"admin@hotmail.com\",\n    \"email_verified_at\": null,\n    \"created_at\": \"2021-08-02T14:14:56.000000Z\",\n    \"updated_at\": \"2021-08-02T14:27:28.000000Z\",\n    \"ip\": null,\n    \"last_seen\": null,\n    \"discord_verified_at\": null\n}"}],"_postman_id":"4193684e-e739-425f-b1db-00b2f6c2fd68"},{"name":"Create User","id":"4f2f8254-a94f-46f6-b6bd-28300383d6be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"testuser123","description":"<p>'required', 'string', 'max:30', 'min:4', 'alpha_num', 'unique:users'</p>\n","type":"text"},{"key":"email","value":"testuser@hotmail.com","description":"<p>'required', 'string', 'email', 'max:64', 'unique:users'</p>\n","type":"text"},{"key":"password","value":"pleaseuseanpasswordmanager!!","description":"<p>'required', 'string', 'min:8', 'max:191'</p>\n","type":"text"}]},"url":"{{url}}/api/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","users"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"a4b41047-2e23-4575-9861-8aed1f457b33","name":"Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"testuser","description":"'required', 'string', 'max:30', 'min:4', 'alpha_num', 'unique:users'","type":"text"},{"key":"email","value":"testuser@hotmail.com","description":"'required', 'string', 'email', 'max:64', 'unique:users'","type":"text"},{"key":"password","value":"pleaseuseanpasswordmanager!!","description":"'required', 'string', 'min:8', 'max:191'","type":"text"}]},"url":"{{url}}/api/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Oct 2021 19:27:50 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"testuser\",\n    \"email\": \"testuser@hotmail.com\",\n    \"credits\": 250,\n    \"server_limit\": 1,\n    \"updated_at\": \"2021-10-12T19:27:50.000000Z\",\n    \"created_at\": \"2021-10-12T19:27:49.000000Z\",\n    \"id\": 3,\n    \"pterodactyl_id\": 559\n}"}],"_postman_id":"4f2f8254-a94f-46f6-b6bd-28300383d6be"}],"id":"2e2d53f8-621a-480c-989c-803d1eb402c0","description":"<p>ALLOWED_INCLUDES : [<code>servers</code>, <code>payments</code>, <code>vouchers</code>, <code>discordUser</code>, <code>notifications, roles</code>]</p>\n<p>ALLOWED_FILTERS : [<code>name</code>, <code>server_limit</code>, <code>email</code>, <code>pterodactyl_id</code>, <code>suspended</code>]</p>\n","_postman_id":"2e2d53f8-621a-480c-989c-803d1eb402c0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}}},{"name":"Servers","item":[{"name":"List Servers","id":"3dd6327f-f99d-43aa-a95e-cdb95546e45f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/servers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","servers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"662db206-63ea-41ca-bdd8-9ef76876023d","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/servers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 07 Jun 2021 13:33:24 GMT"},{"key":"Date","value":"Mon, 07 Jun 2021 13:33:24 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": \"ufXmu5XKm2rhUiGILdqKu\",\n            \"name\": \"Example server\",\n            \"description\": \"Example Description\",\n            \"suspended\": null,\n            \"identifier\": \"48c7e0a1\",\n            \"pterodactyl_id\": 236,\n            \"user_id\": 2,\n            \"product_id\": \"zohmY29LiKXTIj1Bycc3h\",\n            \"created_at\": \"2021-06-07T13:33:17.000000Z\",\n            \"updated_at\": \"2021-06-07T13:33:18.000000Z\",\n            \"product\": {\n                \"id\": \"zohmY29LiKXTIj1Bycc3h\",\n                \"name\": \"Starter\",\n                \"description\": \"64MB Ram, 1GB Disk, 1 Database, 140 credits p/m\",\n                \"price\": 140,\n                \"memory\": 64,\n                \"cpu\": 100,\n                \"swap\": 64,\n                \"disk\": 1000,\n                \"io\": 500,\n                \"databases\": 1,\n                \"backups\": 1,\n                \"allocations\": 0,\n                \"created_at\": \"2021-06-06T19:34:41.000000Z\",\n                \"updated_at\": \"2021-06-06T19:34:41.000000Z\",\n                \"disabled\": 0\n            }\n        }\n    ],\n    \"first_page_url\": \"http://localhost:8000/api/servers?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"http://localhost:8000/api/servers?page=1\",\n    \"links\": [\n        {\n            \"url\": null,\n            \"label\": \"&laquo; Previous\",\n            \"active\": false\n        },\n        {\n            \"url\": \"http://localhost:8000/api/servers?page=1\",\n            \"label\": \"1\",\n            \"active\": true\n        },\n        {\n            \"url\": null,\n            \"label\": \"Next &raquo;\",\n            \"active\": false\n        }\n    ],\n    \"next_page_url\": null,\n    \"path\": \"http://localhost:8000/api/servers\",\n    \"per_page\": 50,\n    \"prev_page_url\": null,\n    \"to\": 1,\n    \"total\": 1\n}"}],"_postman_id":"3dd6327f-f99d-43aa-a95e-cdb95546e45f"},{"name":"Server Details","id":"39ba31c1-2223-42ee-906f-5f7f68d44d65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/servers/BPWT96Q1Bf0KNgk_jOmtp","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","servers","BPWT96Q1Bf0KNgk_jOmtp"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c3a6d306-3114-4329-859a-6a3c7a4cf4dd","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/servers/BPWT96Q1Bf0KNgk_jOmtp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 07 Jun 2021 13:35:13 GMT"},{"key":"Date","value":"Mon, 07 Jun 2021 13:35:13 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ufXmu5XKm2rhUiGILdqKu\",\n    \"name\": \"Example server\",\n    \"description\": \"Example Description\",\n    \"suspended\": null,\n    \"identifier\": \"48c7e0a1\",\n    \"pterodactyl_id\": 236,\n    \"user_id\": 2,\n    \"product_id\": \"zohmY29LiKXTIj1Bycc3h\",\n    \"created_at\": \"2021-06-07T13:33:17.000000Z\",\n    \"updated_at\": \"2021-06-07T13:33:18.000000Z\",\n    \"product\": {\n        \"id\": \"zohmY29LiKXTIj1Bycc3h\",\n        \"name\": \"Starter\",\n        \"description\": \"64MB Ram, 1GB Disk, 1 Database, 140 credits p/m\",\n        \"price\": 140,\n        \"memory\": 64,\n        \"cpu\": 100,\n        \"swap\": 64,\n        \"disk\": 1000,\n        \"io\": 500,\n        \"databases\": 1,\n        \"backups\": 1,\n        \"allocations\": 0,\n        \"created_at\": \"2021-06-06T19:34:41.000000Z\",\n        \"updated_at\": \"2021-06-06T19:34:41.000000Z\",\n        \"disabled\": 0\n    }\n}"}],"_postman_id":"39ba31c1-2223-42ee-906f-5f7f68d44d65"},{"name":"Suspend Server","id":"61a514c8-18b9-4d79-b982-cfd352a83e84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{url}}/api/servers/BPWT96Q1Bf0KNgk_jOmtp/suspend","description":"<p>The suspended attribute will be given a datetimestring if the server is suspended</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","servers","BPWT96Q1Bf0KNgk_jOmtp","suspend"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"cabc4ce2-c9ff-40f3-a44a-cef97a63f4e0","name":"Response","originalRequest":{"method":"PATCH","header":[],"url":"{{url}}/api/servers/BPWT96Q1Bf0KNgk_jOmtp/suspend"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 07 Jun 2021 13:37:31 GMT"},{"key":"Date","value":"Mon, 07 Jun 2021 13:37:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ufXmu5XKm2rhUiGILdqKu\",\n    \"name\": \"Example server\",\n    \"description\": \"Example Description\",\n    \"suspended\": \"2021-06-07T13:37:31.000000Z\",\n    \"identifier\": \"48c7e0a1\",\n    \"pterodactyl_id\": 236,\n    \"user_id\": 2,\n    \"product_id\": \"zohmY29LiKXTIj1Bycc3h\",\n    \"created_at\": \"2021-06-07T13:33:17.000000Z\",\n    \"updated_at\": \"2021-06-07T13:37:31.000000Z\",\n    \"product\": {\n        \"id\": \"zohmY29LiKXTIj1Bycc3h\",\n        \"name\": \"Starter\",\n        \"description\": \"64MB Ram, 1GB Disk, 1 Database, 140 credits p/m\",\n        \"price\": 140,\n        \"memory\": 64,\n        \"cpu\": 100,\n        \"swap\": 64,\n        \"disk\": 1000,\n        \"io\": 500,\n        \"databases\": 1,\n        \"backups\": 1,\n        \"allocations\": 0,\n        \"created_at\": \"2021-06-06T19:34:41.000000Z\",\n        \"updated_at\": \"2021-06-06T19:34:41.000000Z\",\n        \"disabled\": 0\n    }\n}"}],"_postman_id":"61a514c8-18b9-4d79-b982-cfd352a83e84"},{"name":"Unsuspend Server","id":"e5c34973-08c6-4c83-bbe4-b7895fe6955d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{url}}/api/servers/BPWT96Q1Bf0KNgk_jOmtp/unsuspend","description":"<p>The suspended attribute will be given a datetimestring if the server is suspended</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","servers","BPWT96Q1Bf0KNgk_jOmtp","unsuspend"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"a0fa7bd5-18c8-44be-8f87-3086b4c07d57","name":"Response","originalRequest":{"method":"PATCH","header":[],"url":"{{url}}/api/servers/BPWT96Q1Bf0KNgk_jOmtp/unsuspend"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 07 Jun 2021 13:39:00 GMT"},{"key":"Date","value":"Mon, 07 Jun 2021 13:39:00 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ufXmu5XKm2rhUiGILdqKu\",\n    \"name\": \"Example server\",\n    \"description\": \"Example Description\",\n    \"suspended\": null,\n    \"identifier\": \"48c7e0a1\",\n    \"pterodactyl_id\": 236,\n    \"user_id\": 2,\n    \"product_id\": \"zohmY29LiKXTIj1Bycc3h\",\n    \"created_at\": \"2021-06-07T13:33:17.000000Z\",\n    \"updated_at\": \"2021-06-07T13:39:00.000000Z\",\n    \"product\": {\n        \"id\": \"zohmY29LiKXTIj1Bycc3h\",\n        \"name\": \"Starter\",\n        \"description\": \"64MB Ram, 1GB Disk, 1 Database, 140 credits p/m\",\n        \"price\": 140,\n        \"memory\": 64,\n        \"cpu\": 100,\n        \"swap\": 64,\n        \"disk\": 1000,\n        \"io\": 500,\n        \"databases\": 1,\n        \"backups\": 1,\n        \"allocations\": 0,\n        \"created_at\": \"2021-06-06T19:34:41.000000Z\",\n        \"updated_at\": \"2021-06-06T19:34:41.000000Z\",\n        \"disabled\": 0\n    }\n}"}],"_postman_id":"e5c34973-08c6-4c83-bbe4-b7895fe6955d"},{"name":"Delete Server","id":"f72b3542-2a6a-40fb-96a1-dabe58ee76b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/servers/BPWT96Q1Bf0KNgk_jOmtp","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","servers","BPWT96Q1Bf0KNgk_jOmtp"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"846a7d09-8454-4662-afc2-7575c4857871","name":"Response","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/api/servers/BPWT96Q1Bf0KNgk_jOmtp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 07 Jun 2021 13:41:41 GMT"},{"key":"Date","value":"Mon, 07 Jun 2021 13:41:41 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"55"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ufXmu5XKm2rhUiGILdqKu\",\n    \"name\": \"Example server\",\n    \"description\": \"Example Description\",\n    \"suspended\": null,\n    \"identifier\": \"48c7e0a1\",\n    \"pterodactyl_id\": 236,\n    \"user_id\": 2,\n    \"product_id\": \"zohmY29LiKXTIj1Bycc3h\",\n    \"created_at\": \"2021-06-07T13:33:17.000000Z\",\n    \"updated_at\": \"2021-06-07T13:41:06.000000Z\"\n}"}],"_postman_id":"f72b3542-2a6a-40fb-96a1-dabe58ee76b0"}],"id":"dae15dc1-d9c7-4147-bdda-eb59b228c4c7","description":"<p>ALLOWED_INCLUDES : [<code>product</code>, <code>user</code>]</p>\n<p>ALLOWED_FILTERS : [<code>name</code>, <code>suspended</code>,\n<code>identifier</code>, <code>pterodactyl_id</code>, <code>user_id</code> , <code>product_id</code>]</p>\n","_postman_id":"dae15dc1-d9c7-4147-bdda-eb59b228c4c7","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}}},{"name":"Vouchers","item":[{"name":"List Vouchers","id":"1a097cc1-eec5-4311-b0aa-cc35f28178fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/vouchers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","vouchers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"a9393636-e84d-494f-bb34-e3d255b8e466","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/vouchers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 15 Jul 2021 19:15:30 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 27,\n            \"code\": \"y09sAT2iadoeifSxRR3g3ygnSP9MlEJ2S78p\",\n            \"memo\": \"Example Voucher Memo\",\n            \"credits\": 250,\n            \"uses\": 100,\n            \"expires_at\": \"2021-07-30T00:00:00.000000Z\",\n            \"created_at\": \"2021-07-15T19:14:14.000000Z\",\n            \"updated_at\": \"2021-07-15T19:14:14.000000Z\",\n            \"used\": 1,\n            \"status\": \"VALID\"\n        }\n    ],\n    \"first_page_url\": \"http://localhost/api/vouchers?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"http://localhost/api/vouchers?page=1\",\n    \"links\": [\n        {\n            \"url\": null,\n            \"label\": \"&laquo; Previous\",\n            \"active\": false\n        },\n        {\n            \"url\": \"http://localhost/api/vouchers?page=1\",\n            \"label\": \"1\",\n            \"active\": true\n        },\n        {\n            \"url\": null,\n            \"label\": \"Next &raquo;\",\n            \"active\": false\n        }\n    ],\n    \"next_page_url\": null,\n    \"path\": \"http://localhost/api/vouchers\",\n    \"per_page\": 50,\n    \"prev_page_url\": null,\n    \"to\": 1,\n    \"total\": 1\n}"}],"_postman_id":"1a097cc1-eec5-4311-b0aa-cc35f28178fc"},{"name":"Voucher Details","id":"02b8da43-ab01-487d-b2f5-5f8699b509cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/vouchers/1","description":"<p>include is optional! include has to be <code>discorduser</code>\nwhen you include <code>discorduser</code> the discord_user prop will be added to each user if they have linked, else it will be null</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","vouchers","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"73b2e1cd-1941-49c2-ae36-c518610197dc","name":"Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/vouchers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 15 Jul 2021 20:13:27 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 27,\n    \"code\": \"y09sAT2iadoeifSxRR3g3ygnSP9MlEJ2S78p\",\n    \"memo\": \"Example Voucher Memo\",\n    \"credits\": 250,\n    \"uses\": 100,\n    \"expires_at\": \"2021-07-30T00:00:00.000000Z\",\n    \"created_at\": \"2021-07-15T19:14:14.000000Z\",\n    \"updated_at\": \"2021-07-15T19:14:14.000000Z\",\n    \"used\": 1,\n    \"status\": \"VALID\"\n}"}],"_postman_id":"02b8da43-ab01-487d-b2f5-5f8699b509cd"},{"name":"Create Voucher","id":"5ecdc25a-7961-4f85-8c04-9ff7b515d867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"memo","value":"Testing Memo","description":"<p>nullable|string|max:191</p>\n","type":"text"},{"key":"code","value":"TESTINGCODE","description":"<p>required|string|alpha_dash|max:36|min:4</p>\n","type":"text"},{"key":"uses","value":"100","description":"<p>required|numeric|max:2147483647|min:1</p>\n","type":"text"},{"key":"credits","value":"250","description":"<p>required|numeric|between:0,99999999</p>\n","type":"text"},{"key":"expires_at","value":"26-07-2021","description":"<p>nullable|date_format:d-m-Y|after:today|before:10 years</p>\n","type":"text"}]},"url":"{{url}}/api/vouchers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","vouchers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"0a41c8b3-edf6-4015-95bb-f4f72d7a5625","name":"Response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"memo","value":"test","type":"text"},{"key":"code","value":"TESTINGCODE","type":"text"},{"key":"uses","value":"100","type":"text"},{"key":"credits","value":"250","type":"text"},{"key":"expires_at","value":"26-07-2021","type":"text"}]},"url":"{{url}}/api/vouchers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 15 Jul 2021 19:26:08 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"memo\": \"Testing Memo\",\n    \"code\": \"TESTINGCODE\",\n    \"uses\": \"100\",\n    \"credits\": \"250\",\n    \"expires_at\": \"2021-07-26T00:00:00.000000Z\",\n    \"updated_at\": \"2021-07-15T19:26:08.000000Z\",\n    \"created_at\": \"2021-07-15T19:26:08.000000Z\",\n    \"id\": 31,\n    \"used\": 0,\n    \"status\": \"VALID\"\n}"}],"_postman_id":"5ecdc25a-7961-4f85-8c04-9ff7b515d867"},{"name":"Update Voucher","id":"e1a211ea-02eb-418c-9043-88d5b11a670e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"memo","value":"test","description":"<p>nullable|string|max:191</p>\n","type":"text"},{"key":"code","value":"TESTINGCODE","description":"<p>required|string|alpha_dash|max:36|min:4</p>\n","type":"text"},{"key":"uses","value":"100","description":"<p>required|numeric|max:2147483647|min:1</p>\n","type":"text"},{"key":"credits","value":"250","description":"<p>required|numeric|between:0,99999999</p>\n","type":"text"},{"key":"expires_at","value":"25-07-2021","description":"<p>nullable|date_format:d-m-Y|after:today|before:10 years</p>\n","type":"text"}]},"url":"{{url}}/api/vouchers/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","vouchers","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c2b4724f-1441-436b-8945-426276047ace","name":"Response","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"memo","value":"test","description":"nullable|string|max:191","type":"text"},{"key":"code","value":"TESTINGCODE","description":"required|string|alpha_dash|max:36|min:4","type":"text"},{"key":"uses","value":"100","description":"required|numeric|max:2147483647|min:1","type":"text"},{"key":"credits","value":"250","description":"required|numeric|between:0,99999999","type":"text"},{"key":"expires_at","value":"25-07-2021","description":"nullable|date_format:d-m-Y|after:today|before:10 years","type":"text"}]},"url":"{{url}}/api/vouchers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 15 Jul 2021 19:33:12 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"54"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 32,\n    \"code\": \"TESTINGCODE\",\n    \"memo\": \"test\",\n    \"credits\": \"250\",\n    \"uses\": \"100\",\n    \"expires_at\": \"2021-07-25T00:00:00.000000Z\",\n    \"created_at\": \"2021-07-15T19:27:35.000000Z\",\n    \"updated_at\": \"2021-07-15T19:32:59.000000Z\",\n    \"used\": 0,\n    \"status\": \"VALID\"\n}"}],"_postman_id":"e1a211ea-02eb-418c-9043-88d5b11a670e"},{"name":"Delete Voucher","id":"817129bc-c198-4521-b59d-3bc02e72226d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/api/vouchers/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","vouchers","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e6cbf9b1-4bb8-4d19-9a26-06dbc31c52a2","name":"Response","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/api/vouchers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 15 Jul 2021 19:37:27 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 32,\n    \"code\": \"TESTINGCODE\",\n    \"memo\": \"test\",\n    \"credits\": 250,\n    \"uses\": 100,\n    \"expires_at\": \"2021-07-25T00:00:00.000000Z\",\n    \"created_at\": \"2021-07-15T19:27:35.000000Z\",\n    \"updated_at\": \"2021-07-15T19:32:59.000000Z\",\n    \"used\": 0,\n    \"status\": \"VALID\"\n}"}],"_postman_id":"817129bc-c198-4521-b59d-3bc02e72226d"}],"id":"ea9864f5-1f20-42d5-92c5-2231d6d140ba","description":"<p>status can be: <code>USES_LIMIT_REACHED</code>, <code>EXPIRED</code> or <code>VALID</code></p>\n<p>ALLOWED_INCLUDES : [<code>users</code>];</p>\n<p>ALLOWED_FILTERS : [<code>code</code>, <code>memo</code>, <code>credits</code>, <code>uses</code>];</p>\n","_postman_id":"ea9864f5-1f20-42d5-92c5-2231d6d140ba","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}}},{"name":"Notifications","item":[{"name":"List notifications from user","id":"16424e2e-1f6e-43c1-a3a6-91aad859c7b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/notifications/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","notifications","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"0877dce6-44d9-41c9-ae50-35d6e6a8ccf9","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/notifications/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Sep 2021 07:28:11 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": \"90aff7f2-0f65-405c-81ee-7a77246754c4\",\n            \"type\": \"App\\\\Notifications\\\\DynamicNotification\",\n            \"notifiable_type\": \"App\\\\Models\\\\User\",\n            \"notifiable_id\": 1,\n            \"data\": {\n                \"title\": \"test\",\n                \"content\": \"test\"\n            },\n            \"read_at\": \"2021-09-08T07:23:23.000000Z\",\n            \"created_at\": \"2021-09-08T07:23:18.000000Z\",\n            \"updated_at\": \"2021-09-08T07:23:23.000000Z\"\n        },\n        {\n            \"id\": \"cf7d280e-772f-4265-8e67-4bd63434c13b\",\n            \"type\": \"App\\\\Notifications\\\\ServerCreationError\",\n            \"notifiable_type\": \"App\\\\Models\\\\User\",\n            \"notifiable_id\": 1,\n            \"data\": {\n                \"title\": \"Server Creation Error\",\n                \"content\": \"\\n                <p>Hello <strong>AVMG</strong>, An unexpected error has occurred...</p>\\n                <p>There was a problem creating your server on our pterodactyl panel. There are likely no allocations or rooms left on the selected node. Please contact one of our support members through our discord server to get this resolved asap!</p>\\n                <p>We thank you for your patience and our deepest apologies for this inconvenience.</p>\\n                <p>Dashboard</p>\\n            \"\n            },\n            \"read_at\": \"2021-08-02T17:47:09.000000Z\",\n            \"created_at\": \"2021-08-02T17:43:42.000000Z\",\n            \"updated_at\": \"2021-08-02T17:47:09.000000Z\"\n        },\n        {\n            \"id\": \"b1849556-79da-49c4-a095-b04aaa19b4f9\",\n            \"type\": \"App\\\\Notifications\\\\ServerCreationError\",\n            \"notifiable_type\": \"App\\\\Models\\\\User\",\n            \"notifiable_id\": 1,\n            \"data\": {\n                \"title\": \"Server Creation Error\",\n                \"content\": \"\\n                <p>Hello <strong>AVMG</strong>, An unexpected error has occurred...</p>\\n                <p>There was a problem creating your server on our pterodactyl panel. There are likely no allocations or rooms left on the selected node. Please contact one of our support members through our discord server to get this resolved asap!</p>\\n                <p>We thank you for your patience and our deepest apologies for this inconvenience.</p>\\n                <p>Dashboard</p>\\n            \"\n            },\n            \"read_at\": \"2021-08-02T17:47:07.000000Z\",\n            \"created_at\": \"2021-08-02T17:43:27.000000Z\",\n            \"updated_at\": \"2021-08-02T17:47:07.000000Z\"\n        }\n    ],\n    \"first_page_url\": \"http://localhost/api/notifications/1?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"http://localhost/api/notifications/1?page=1\",\n    \"links\": [\n        {\n            \"url\": null,\n            \"label\": \"&laquo; Previous\",\n            \"active\": false\n        },\n        {\n            \"url\": \"http://localhost/api/notifications/1?page=1\",\n            \"label\": \"1\",\n            \"active\": true\n        },\n        {\n            \"url\": null,\n            \"label\": \"Next &raquo;\",\n            \"active\": false\n        }\n    ],\n    \"next_page_url\": null,\n    \"path\": \"http://localhost/api/notifications/1\",\n    \"per_page\": 50,\n    \"prev_page_url\": null,\n    \"to\": 3,\n    \"total\": 3\n}"}],"_postman_id":"16424e2e-1f6e-43c1-a3a6-91aad859c7b3"},{"name":"Notification Details","id":"4bc53a20-0001-4497-ab6e-7c3f18e0432e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/notifications/1/90aff7f2-0f65-405c-81ee-7a77246754c4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","notifications","1","90aff7f2-0f65-405c-81ee-7a77246754c4"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"cc56c2f1-d197-466e-807f-c63e8cc75f76","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/notifications/1/90aff7f2-0f65-405c-81ee-7a77246754c4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Sep 2021 07:30:06 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"90aff7f2-0f65-405c-81ee-7a77246754c4\",\n    \"type\": \"App\\\\Notifications\\\\DynamicNotification\",\n    \"notifiable_type\": \"App\\\\Models\\\\User\",\n    \"notifiable_id\": 1,\n    \"data\": {\n        \"title\": \"test\",\n        \"content\": \"test\"\n    },\n    \"read_at\": \"2021-09-08T07:23:23.000000Z\",\n    \"created_at\": \"2021-09-08T07:23:18.000000Z\",\n    \"updated_at\": \"2021-09-08T07:23:23.000000Z\"\n}"}],"_postman_id":"4bc53a20-0001-4497-ab6e-7c3f18e0432e"},{"name":"Send Notification to all users","id":"5f5c3832-add8-4cbd-944f-effed0e69967","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"via","value":"database","description":"<p>mail,database</p>\n","type":"text"},{"key":"all","value":"1","description":"<p>true or false (1 / 0 )</p>\n","type":"text"},{"key":"title","value":"test notification title","type":"text"},{"key":"content","value":"<b>test notification content</b>","description":"<p>HTML allowed</p>\n","type":"text"}]},"url":"{{url}}/api/notifications","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","notifications"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"825a4635-cdcf-4f98-bceb-04684900def1","name":"Response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[{"key":"via","value":"database","description":"mail,database","type":"text"},{"key":"all","value":"1","description":"true or false (1 / 0 )","type":"text"},{"key":"title","value":"test notification title","type":"text"},{"key":"content","value":"<b>test notification content</b>","description":"HTML allowed","type":"text"}]},"url":"{{url}}/api/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Sep 2021 07:36:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Notification successfully sent.\"\n}"}],"_postman_id":"5f5c3832-add8-4cbd-944f-effed0e69967"},{"name":"Send Notification to specific users","id":"f8689dd7-75be-4747-8076-8113e8365d9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"via","value":"database","description":"<p>mail,database</p>\n","type":"text"},{"key":"users","value":"186902438396035072,2","description":"<p>user ids, comma seperated</p>\n","type":"text"},{"key":"title","value":"test notification title","type":"text"},{"key":"content","value":"<b>test notification content</b>","description":"<p>HTML allowed</p>\n","type":"text"}]},"url":"{{url}}/api/notifications","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","notifications"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"7c4b01ca-cfee-4dc7-a7e5-0b7ef0f14506","name":"Response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[{"key":"via","value":"database","description":"mail,database","type":"text"},{"key":"all","value":"1","description":"true or false (1 / 0 )","type":"text"},{"key":"title","value":"test notification title","type":"text"},{"key":"content","value":"<b>test notification content</b>","description":"HTML allowed","type":"text"}]},"url":"{{url}}/api/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Sep 2021 07:36:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Notification successfully sent.\"\n}"}],"_postman_id":"f8689dd7-75be-4747-8076-8113e8365d9b"},{"name":"Delete all notifications from user","id":"1d77cc5a-032d-4ba9-905b-a86c412ba4c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/notifications/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","notifications","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"d2c3a1c2-8e03-44b5-87c1-5baf2d7fba09","name":"Response","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/api/notifications/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Sep 2021 07:41:51 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"All notifications have been successfully deleted.\",\n    \"count\": 7\n}"}],"_postman_id":"1d77cc5a-032d-4ba9-905b-a86c412ba4c6"},{"name":"Delete notification","id":"0ed79c7a-f552-475b-b807-fac827a6a659","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/notifications/1/90aff7f2-0f65-405c-81ee-7a77246754c4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","notifications","1","90aff7f2-0f65-405c-81ee-7a77246754c4"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"bc64cfea-5823-48cf-8c51-ac6fd0244afa","name":"Response","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/api/notifications/1/90aff7f2-0f65-405c-81ee-7a77246754c4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.20.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Sep 2021 07:43:25 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"a311e30a-efa2-43c6-909e-9d4fd4d0d3e4\",\n    \"type\": \"App\\\\Notifications\\\\DynamicNotification\",\n    \"notifiable_type\": \"App\\\\Models\\\\User\",\n    \"notifiable_id\": 1,\n    \"data\": {\n        \"title\": \"test notification title\",\n        \"content\": \"<b>test notification content</b>\"\n    },\n    \"read_at\": \"2021-09-08T07:42:57.000000Z\",\n    \"created_at\": \"2021-09-08T07:42:53.000000Z\",\n    \"updated_at\": \"2021-09-08T07:42:57.000000Z\"\n}"}],"_postman_id":"0ed79c7a-f552-475b-b807-fac827a6a659"}],"id":"061ff003-4201-4dbc-a8ff-dcb1995db255","description":"<p>Notifications do not have any includes or filters :)</p>\n","_postman_id":"061ff003-4201-4dbc-a8ff-dcb1995db255","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}}},{"name":"Roles","item":[{"name":"List Roles","id":"8a4f85ad-51ad-495b-9d04-6ed38f54222d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/roles","urlObject":{"path":["api","roles"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"be976e27-ea91-454b-9abd-7e79878793f5","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/roles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 08 May 2023 07:59:28 GMT"},{"key":"Date","value":"Mon, 08 May 2023 07:59:28 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"55"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Admin\",\n            \"color\": \"#fa0000\",\n            \"power\": 100,\n            \"guard_name\": \"web\",\n            \"created_at\": \"2023-05-07T17:43:00.000000Z\",\n            \"updated_at\": \"2023-05-07T17:43:00.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Support-Team\",\n            \"color\": \"#00b0b3\",\n            \"power\": 50,\n            \"guard_name\": \"web\",\n            \"created_at\": \"2023-05-07T17:43:00.000000Z\",\n            \"updated_at\": \"2023-05-07T17:43:00.000000Z\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Client\",\n            \"color\": \"#008009\",\n            \"power\": 10,\n            \"guard_name\": \"web\",\n            \"created_at\": \"2023-05-07T17:43:00.000000Z\",\n            \"updated_at\": \"2023-05-07T17:43:00.000000Z\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"User\",\n            \"color\": \"#0052a3\",\n            \"power\": 10,\n            \"guard_name\": \"web\",\n            \"created_at\": \"2023-05-07T17:43:00.000000Z\",\n            \"updated_at\": \"2023-05-07T17:43:00.000000Z\"\n        }\n    ],\n    \"first_page_url\": \"http://localhost/api/roles?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"http://localhost/api/roles?page=1\",\n    \"links\": [\n        {\n            \"url\": null,\n            \"label\": \"&laquo; Previous\",\n            \"active\": false\n        },\n        {\n            \"url\": \"http://localhost/api/roles?page=1\",\n            \"label\": \"1\",\n            \"active\": true\n        },\n        {\n            \"url\": null,\n            \"label\": \"Next &raquo;\",\n            \"active\": false\n        }\n    ],\n    \"next_page_url\": null,\n    \"path\": \"http://localhost/api/roles\",\n    \"per_page\": 50,\n    \"prev_page_url\": null,\n    \"to\": 4,\n    \"total\": 4\n}"}],"_postman_id":"8a4f85ad-51ad-495b-9d04-6ed38f54222d"},{"name":"Role Details","id":"cfee4c00-7f23-47ec-ae93-4b3d9bcbb945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/roles/1","urlObject":{"path":["api","roles","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"f1994a43-b63d-446f-9e1e-cb18f9ac8b30","name":"Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/roles/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 08 May 2023 08:00:27 GMT"},{"key":"Date","value":"Mon, 08 May 2023 08:00:27 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Admin\",\n    \"color\": \"#fa0000\",\n    \"power\": 100,\n    \"guard_name\": \"web\",\n    \"created_at\": \"2023-05-07T17:43:00.000000Z\",\n    \"updated_at\": \"2023-05-07T17:43:00.000000Z\"\n}"}],"_postman_id":"cfee4c00-7f23-47ec-ae93-4b3d9bcbb945"},{"name":"Create Role","id":"f8167959-9b51-4d59-8302-c7bb60ec66c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"NewRole","description":"<p>Name of the Role</p>\n","type":"text"},{"key":"color","value":"#FF00FF","description":"<p>Hexcolor of the Role</p>\n","type":"text"},{"key":"power","value":"50","description":"<p>Edit Power</p>\n","type":"text"},{"key":"permissions","value":"*,admin.api.read,admin.users.delete","description":"<p>Permissions, seperated by comma</p>\n","type":"text"}]},"url":"{{url}}/api/roles","urlObject":{"path":["api","roles"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>Name of the Role</p>\n","type":"text/plain"},"key":"name","value":"New Role"},{"disabled":true,"description":{"content":"<p>Hex Color</p>\n","type":"text/plain"},"key":"color","value":"#FF00FF"}],"variable":[]}},"response":[{"id":"189641e4-4f80-480a-9332-e6d2ecce226f","name":"Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"NewRole","description":"Name of the Role","type":"text"},{"key":"color","value":"#FF00FF","description":"Hexcolor of the Role","type":"text"},{"key":"power","value":"50","description":"Edit Power","type":"text"},{"key":"permissions","value":"*,admin.api.read,admin.users.delete","description":"Permissions, seperated by comma","type":"text"}]},"url":{"raw":"{{url}}/api/roles","host":["{{url}}"],"path":["api","roles"],"query":[{"key":"name","value":"New Role","description":"Name of the Role","type":"text","disabled":true},{"key":"color","value":"#FF00FF","description":"Hex Color","type":"text","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 08 May 2023 08:14:08 GMT"},{"key":"Date","value":"Mon, 08 May 2023 08:14:08 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"guard_name\": \"web\",\n    \"name\": \"NewRole\",\n    \"color\": \"#FF00FF\",\n    \"power\": \"50\",\n    \"updated_at\": \"2023-05-08T08:14:08.000000Z\",\n    \"created_at\": \"2023-05-08T08:14:08.000000Z\",\n    \"id\": 13,\n    \"permissions\": [\n        {\n            \"id\": 1,\n            \"name\": \"*\",\n            \"guard_name\": \"web\",\n            \"created_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"updated_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"pivot\": {\n                \"role_id\": 13,\n                \"permission_id\": 1\n            }\n        },\n        {\n            \"id\": 13,\n            \"name\": \"admin.api.read\",\n            \"guard_name\": \"web\",\n            \"created_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"updated_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"pivot\": {\n                \"role_id\": 13,\n                \"permission_id\": 13\n            }\n        },\n        {\n            \"id\": 27,\n            \"name\": \"admin.users.delete\",\n            \"guard_name\": \"web\",\n            \"created_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"updated_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"pivot\": {\n                \"role_id\": 13,\n                \"permission_id\": 27\n            }\n        }\n    ]\n}"}],"_postman_id":"f8167959-9b51-4d59-8302-c7bb60ec66c9"},{"name":"Update Role","id":"8b7ef842-44d5-4dbf-bae1-96dd3c0e9cfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Admin","description":"<p>New Name of the Role</p>\n","type":"text"},{"key":"color","value":"#FF0000","description":"<p>New Hexcolor</p>\n","type":"text"},{"key":"power","value":"50","description":"<p>New Power</p>\n","type":"text"},{"key":"permissions","value":"*,admin.users.delete","description":"<p>Comma seperated list of Permissions which will be set as the new Permissions overwriting the old Permissions</p>\n","type":"text"}]},"url":"{{url}}/api/roles/1","urlObject":{"path":["api","roles","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"02e7de67-3f50-4733-be82-d0cc0fdcf88b","name":"Response","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"NewName","description":"New Name of the Role","type":"text"},{"key":"color","value":"#FF0000","description":"New Hexcolor","type":"text"},{"key":"power","value":"50","description":"New Power","type":"text"},{"key":"permissions","value":"*,admin.users.delete","description":"Comma seperated list of Permissions which will be set as the new Permissions overwriting the old Permissions\n","type":"text"}]},"url":"{{url}}/api/roles/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 08 May 2023 08:54:50 GMT"},{"key":"Date","value":"Mon, 08 May 2023 08:54:50 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"NewName\",\n    \"color\": \"#FF0000\",\n    \"power\": \"50\",\n    \"guard_name\": \"web\",\n    \"created_at\": \"2023-05-07T17:43:00.000000Z\",\n    \"updated_at\": \"2023-05-08T08:54:45.000000Z\",\n    \"permissions\": [\n        {\n            \"id\": 1,\n            \"name\": \"*\",\n            \"guard_name\": \"web\",\n            \"created_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"updated_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"pivot\": {\n                \"role_id\": 1,\n                \"permission_id\": 1\n            }\n        },\n        {\n            \"id\": 27,\n            \"name\": \"admin.users.delete\",\n            \"guard_name\": \"web\",\n            \"created_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"updated_at\": \"2023-05-07T17:42:59.000000Z\",\n            \"pivot\": {\n                \"role_id\": 1,\n                \"permission_id\": 27\n            }\n        }\n    ]\n}"}],"_postman_id":"8b7ef842-44d5-4dbf-bae1-96dd3c0e9cfc"},{"name":"Delete Role","id":"cce0ebac-fddc-4c8a-8037-d071be04abf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/roles/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}},"urlObject":{"path":["api","roles","1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e7cb6384-747e-43c6-8b2c-b42bb3acca0b","name":"Response","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/api/roles/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Mon, 08 May 2023 08:28:06 GMT"},{"key":"Date","value":"Mon, 08 May 2023 08:28:06 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"Support-Team\",\n    \"color\": \"#00b0b3\",\n    \"power\": 50,\n    \"guard_name\": \"web\",\n    \"created_at\": \"2023-05-07T17:43:00.000000Z\",\n    \"updated_at\": \"2023-05-07T17:43:00.000000Z\"\n}"}],"_postman_id":"cce0ebac-fddc-4c8a-8037-d071be04abf6"}],"id":"1ae1db85-b62c-453a-a056-be2265abec65","_postman_id":"1ae1db85-b62c-453a-a056-be2265abec65","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","id":"7e43d877-7e2d-4297-b4ac-d1a8bf7dddbd","name":"ControlPanel","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"64d227a9-8f7e-4002-9e4c-dd6054790501","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2952003a-42c1-4ff1-8409-a6f194a90310","type":"text/javascript","exec":[""]}}],"variable":[{"key":"server","value":"BPWT96Q1Bf0KNgk_jOmtp"},{"key":"user","value":"1"},{"key":"voucher","value":"1"},{"key":"notification","value":"90aff7f2-0f65-405c-81ee-7a77246754c4"},{"key":"role","value":"1","type":"string"}]}