{"info":{"_postman_id":"56d4494c-6a78-dbf9-6bfd-1234dc5b2b86","name":"PasteShr","description":"<html><head></head><body><p>PasteShr API for</p>\n<p><a href=\"https://market.ecodevs.com/downloads/pasteshr-text-hosting-sharing-script/\">https://market.ecodevs.com/downloads/pasteshr-text-hosting-sharing-script/</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9644360","collectionId":"56d4494c-6a78-dbf9-6bfd-1234dc5b2b86","publishedId":"SWDzdfny","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-11-30T12:05:12.000Z"},"item":[{"name":"Recent Pastes","id":"e8c5c84c-fadc-6c07-6d80-f667f1bb2a1d","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/pastes","description":"<p>Recent Pastes API</p>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n<code>\n{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"title\": \"User paste\",\n            \"syntax\": \"none\",\n            \"slug\": \"U2m07ANokE\",\n            \"created_at\": \"2019-11-26 18:12:41\",\n            \"password\": null,\n            \"expire_time\": null,\n            \"views\": 3,\n            \"password_protected\": false,\n            \"url\": \"http://ptest.dk/U2m07ANokE\"\n        }\n    ],\n    \"first_page_url\": \"http://ptest.dk/api/search?page=1\",\n    \"from\": 1,\n    \"next_page_url\": null,\n    \"path\": \"http://ptest.dk/api/search\",\n    \"per_page\": \"50\",\n    \"prev_page_url\": null,\n    \"to\": 1\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","pastes"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8c5c84c-fadc-6c07-6d80-f667f1bb2a1d"},{"name":"Trending Paste","id":"0f622362-f3de-6805-dbed-16fe77462ce0","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/trending?t=year","description":"<p>Include all the following GET parameters when you request the url:</p>\n<ol>\n<li>t - this parameter is to get trending paste of timeframe, today/week/month/year</li>\n</ol>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n<code>\n{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"title\": \"User paste\",\n            \"syntax\": \"none\",\n            \"slug\": \"U2m07ANokE\",\n            \"created_at\": \"2019-11-26 18:12:41\",\n            \"password\": null,\n            \"expire_time\": null,\n            \"views\": 3,\n            \"password_protected\": false,\n            \"url\": \"http://ptest.dk/U2m07ANokE\"\n        }\n    ],\n    \"first_page_url\": \"http://ptest.dk/api/search?page=1\",\n    \"from\": 1,\n    \"next_page_url\": null,\n    \"path\": \"http://ptest.dk/api/search\",\n    \"per_page\": \"50\",\n    \"prev_page_url\": null,\n    \"to\": 1\n}\n</code>\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"error\": \"Bad request\"\n}\n\n\n{\n    \"error\": \"This feature is disabled\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","trending"],"host":["ptest","dk"],"query":[{"key":"t","value":"year"}],"variable":[]}},"response":[],"_postman_id":"0f622362-f3de-6805-dbed-16fe77462ce0"},{"name":"Search","id":"62344d43-faf0-4343-5c99-64f92a335293","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/search?keyword=User","description":"<p>Include all the following GET parameters when you request the url:</p>\n<ol>\n<li>keyword - this will be the keyword you want to search in pastes</li>\n</ol>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n<code>\n{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"title\": \"User paste\",\n            \"syntax\": \"none\",\n            \"slug\": \"U2m07ANokE\",\n            \"created_at\": \"2019-11-26 18:12:41\",\n            \"password\": null,\n            \"expire_time\": null,\n            \"views\": 3,\n            \"password_protected\": false,\n            \"url\": \"http://ptest.dk/U2m07ANokE\"\n        }\n    ],\n    \"first_page_url\": \"http://ptest.dk/api/search?page=1\",\n    \"from\": 1,\n    \"next_page_url\": null,\n    \"path\": \"http://ptest.dk/api/search\",\n    \"per_page\": \"50\",\n    \"prev_page_url\": null,\n    \"to\": 1\n}\n</code>\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"error\": {\n        \"keyword\": [\n            \"The keyword must be at least 2 characters.\"\n        ]\n    }\n}\n\n\n{\n    \"error\": \"This feature is disabled\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","search"],"host":["ptest","dk"],"query":[{"key":"keyword","value":"User"}],"variable":[]}},"response":[],"_postman_id":"62344d43-faf0-4343-5c99-64f92a335293"},{"name":"Archive List","id":"625560d7-83d5-4141-f3c8-4423d009a629","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/archive","description":"<p>Archive List</p>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n<code>\n[\n    {\n        \"name\": \".properties\",\n        \"slug\": \"properties\",\n        \"url\": \"http://ptest.dk/archive/properties\"\n    },\n    {\n        \"name\": \"6502 Assembly\",\n        \"slug\": \"asm6502\",\n        \"url\": \"http://ptest.dk/archive/asm6502\"\n    },\n    {\n        \"name\": \"ABAP\",\n        \"slug\": \"abap\",\n        \"url\": \"http://ptest.dk/archive/abap\"\n    }\n]\n</code>\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"error\": \"This feature is disabled\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","archive"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"625560d7-83d5-4141-f3c8-4423d009a629"},{"name":"Archive","id":"f39871f3-0fbf-8696-7c14-ea65e48cd60d","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/archive/none","description":"<p>Include Archive Syntax Slug when you request the url:</p>\n<p><a href=\"http://ptest.dk/api/archive/%7Bslug%7D\">http://ptest.dk/api/archive/{slug}</a></p>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n<code>\n{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"title\": \"User paste\",\n            \"syntax\": \"none\",\n            \"slug\": \"U2m07ANokE\",\n            \"created_at\": \"2019-11-26 18:12:41\",\n            \"password\": null,\n            \"expire_time\": null,\n            \"views\": 3,\n            \"password_protected\": false,\n            \"url\": \"http://ptest.dk/U2m07ANokE\"\n        }\n    ],\n    \"first_page_url\": \"http://ptest.dk/api/search?page=1\",\n    \"from\": 1,\n    \"next_page_url\": null,\n    \"path\": \"http://ptest.dk/api/search\",\n    \"per_page\": \"50\",\n    \"prev_page_url\": null,\n    \"to\": 1\n}\n</code>\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"error\": \"This feature is disabled\"\n}\n</code>\n</pre>\n\n","urlObject":{"protocol":"http","path":["api","archive","none"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"f39871f3-0fbf-8696-7c14-ea65e48cd60d"},{"name":"Login","id":"08a0515e-b35d-e092-5a27-cff471edbe76","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"admin","description":"<p>this will be username of the account you want to login</p>\n","type":"text"},{"key":"password","value":"admin123","description":"<p>this will be password of the account you want to login</p>\n","type":"text"}]},"url":"http://ptest.dk/api/login","description":"<p>Include all the following POST parameters when you request the url:</p>\n<ol>\n<li><p>username - this will be username of the account you want to login</p>\n</li>\n<li><p>password - this will be password of the account you want to login</p>\n</li>\n</ol>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n{\n    \"success\": {\n        \"message\": \"You successfully logged in\",\n        \"api_token\": \"6729ac220899f8a541f9b4570024fc24923406a3efea9106b44033deaa27a23d\",\n        \"user\": {\n            \"name\": \"admin\",\n            \"email\": \"admin@example.com\",\n            \"avatar\": \"https://placehold.it/80x80/00a65a/ffffff/&amp;text=a\",\n            \"about\": null,\n            \"default_paste\": {\n                \"title\": \"My Awesome Paste\",\n                \"status\": \"1\",\n                \"syntax\": \"markup\",\n                \"expire\": \"N\",\n                \"password\": null,\n                \"encrypted\": 1\n            },\n            \"gp\": null,\n            \"fb\": null,\n            \"tw\": null\n        }\n    }\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"error\": \"Your account is banned\"\n}\n\n{\n    \"error\": \"Invalid username or password\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","login"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"08a0515e-b35d-e092-5a27-cff471edbe76"},{"name":"Logout","id":"a6c990b7-6c81-dc13-4277-5d87140943b9","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 9bc9f4281910841091cbdea4c8bbe9dde817ffc0b8df897a50dc56cc24325a98","description":"<p>Bearer {token} - token is the session key of the logged in user</p>\n"},{"key":"Accept","value":" application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/logout","description":"<p>Include the auth token in Authorization header of the user you want to logout</p>\n<p>Bearer {token}</p>\n<p><b>Possible Good API Responses:</b></p>\n<pre>\n{\n    \"success\": \"You successfully logged out\"\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"message\": \"Unauthenticated.\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","logout"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6c990b7-6c81-dc13-4277-5d87140943b9"},{"name":"Get Paste","id":"c51e7e5a-ceee-3eb7-ae91-8f0e616f4a92","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"password","value":"1234","description":"<p>password of the paste you want requesting (Optional if paste is not password protected)</p>\n","type":"text"}]},"url":"http://ptest.dk/api/pastes/Ow4auxc8HM","description":"<p>Include all the following POST parameters when you request the url:</p>\n<ol>\n<li>password - password of the paste you want requesting (Optional if paste is not password protected)</li>\n</ol>\n<p><b>Possible Good API Responses:</b></p>\n<pre>\n{\n    \"success\": {\n        \"title\": \"User paste\",\n        \"slug\": \"U2m07ANokE\",\n        \"syntax\": \"U2m07ANokE\",\n        \"expire_time\": null,\n        \"status\": 1,\n        \"views\": 3,\n        \"description\": \"Hello thiaosd as dasda s\",\n        \"encrypted\": 0,\n        \"extension\": \"txt\",\n        \"created_at\": \"2019-11-26 18:12:41\",\n        \"url\": \"http://ptest.dk/U2m07ANokE\",\n        \"content\": \"Hello thiaosd as dasda s\",\n        \"user\": {\n            \"name\": \"admin\",\n            \"avatar\": \"https://placehold.it/80x80/00a65a/ffffff/&amp;text=a\",\n            \"url\": \"http://ptest.dk/u/admin\"\n        }\n    }\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"error\": \"Paste not found\"\n}\n\n{\n    \"error\": \"You are not allowed to access this paste\"\n}\n\n{\n    \"error\": \"You are not allowed to access private paste\"\n}\n\n{\n    \"error\": \"Paste is expired\"\n}\n\n{\n    \"error\": \"Invalid password\"\n}\n</code>\n</pre>\n","urlObject":{"protocol":"http","path":["api","pastes","Ow4auxc8HM"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"c51e7e5a-ceee-3eb7-ae91-8f0e616f4a92"},{"name":"Paste Create","id":"2f14dbdf-d4d0-d271-d641-6af4ac4c5b61","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer 797a51c84a75ea799ad02b0977e31a3147d2325573add6440845d33387944cfb","description":"<p>Bearer {token} - token is the session key of the logged in user</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"content","value":"this is new paste","description":"<p>Required - Content of your paste</p>\n","type":"text"},{"key":"status","value":"1","description":"<p>Required - public = 0, unlisted = 1, private = 2</p>\n","type":"text"},{"key":"expire","value":"N","description":"<p>Optional - Never - N,10 Minutes- 10M, 1 Hour - 1H, 1 Day - 1D, 1 Week - 1W, 2 Week - 2W, 1 Month - 1M, 6 Month - 6M, 1 Year - 1Y, Self Destoy - SD</p>\n","type":"text"},{"key":"title","value":"My Paste","description":"<p>Optional - String, Max length 80</p>\n","type":"text"},{"key":"syntax","value":"none","description":"<p>Optional - Valid syntax slug from given Archive List API</p>\n","type":"text"},{"key":"password","value":"12345","description":"<p>Optional - String, Max length 50</p>\n","type":"text"}]},"url":"http://ptest.dk/api/paste/create","description":"<p>Include all the following POST parameters when you request the url:</p>\n<ol>\n<li><p>content - this is required parameter with minimum 1 length</p>\n</li>\n<li><p>status - this is required parameter which makes paste public, unlisted or private, public = 0, unlisted = 1, private = 2</p>\n</li>\n<li><p>syntax - this is optional parameter, value must be valid syntax slug from given Archive List API</p>\n</li>\n<li><p>expire =&gt; this is optional parameter which makes is used to set expire time of paste, following are the values, Never - N, 10 Minutes- 10M, 1 Hour - 1H, 1 Day - 1D, 1 Week - 1W, 2 Week - 2W, 1 Month - 1M, 6 Month - 6M, 1 Year - 1Y, Self Destoy - SD</p>\n</li>\n<li><p>title - this is optional parameter which sets paste title, value can be string with max length upto 80</p>\n</li>\n<li><p>password - this is optional parameter which makes paste password protected, value can have max length upto 50</p>\n</li>\n</ol>\n<p><b>Possible Good API Responses:</b></p>\n<pre>\n{\n    \"success\": {\n        \"messages\": \"Paste successfully created\",\n        \"slug\": \"YvS0bRhQLK\",\n        \"paste_url\": \"http://ptest.dk/YvS0bRhQLK\"\n    }\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"message\": \"Unauthenticated.\"\n}\n\n{\n    \"error\": {\n        \"content\": [\n            \"The Content field is required.\"\n        ],\n        \"status\": [\n            \"The Status field is required.\"\n        ]\n    }\n}\n\n{\n    \"error\": \"User pasting is currently disabled\"\n}\n\n{\n    \"error\": \"Public pasting is currently disabled please login to create a paste\"\n}\n\n{\n    \"error\": \"Max allowed content size is N kb\"\n}\n\n{\n    \"error\": \"Daily paste limit reached\"\n}\n\n{\n    \"error\": \"Please wait N minutes before making another paste\"\n}\n\n\n{\n    \"error\": \"Daily paste limit reached, Please login to increase your paste limit\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","paste","create"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f14dbdf-d4d0-d271-d641-6af4ac4c5b61"},{"name":"Paste Update","id":"ebe5f9e1-8713-ef4c-7ca6-4232ea27ec1a","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer 34b7d4d8d2c879b4539178c3215fbff87822ad0d8aafa122293219532fc8dfe9","description":"<p>Bearer {token} - token is the session key of the logged in user</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"slug","value":"ZvV4XBhAaK","description":"<p>Required - Slug of your paste that you want to edit</p>\n","type":"text"},{"key":"content","value":"<p>this is new paste</p>","description":"<p>Required - Content of your paste</p>\n","type":"text"},{"key":"title","value":"My Paste","description":"<p>Optional - String, Max length 80</p>\n"},{"key":"syntax","value":"none","description":"<p>Optional - Valid syntax slug from given Archive List API</p>\n"},{"key":"password","value":"12345","description":"<p>Optional - String, Max length 50</p>\n"},{"key":"status","value":"1","description":"<p>Optional - public = 0, unlisted = 1, private = 2</p>\n","type":"text"}]},"url":"http://ptest.dk/api/paste/update","description":"<p>Include all the following POST parameters when you request the url:</p>\n<ol>\n<li><p>slug - this is required parameter which must be slug of your paste you want to edit</p>\n</li>\n<li><p>content - this is required parameter with minimum 1 length</p>\n</li>\n<li><p>status - this is optional parameter which makes paste public, unlisted or private, public = 0, unlisted = 1, private = 2</p>\n</li>\n<li><p>syntax - this is optional parameter, value must be valid syntax slug from given Archive List API</p>\n</li>\n<li><p>title - this is optional parameter which sets paste title, value can be string with max length upto 80</p>\n</li>\n<li><p>password - this is optional parameter which makes paste password protected, value can have max length upto 50</p>\n</li>\n</ol>\n<p><b>Possible Good API Responses:</b></p>\n<pre>\n{\n    \"success\": {\n        \"messages\": \"Paste successfully updated\",\n        \"slug\": \"YvS0bRhQLK\",\n        \"paste_url\": \"http://ptest.dk/YvS0bRhQLK\"\n    }\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"message\": \"Unauthenticated.\"\n}\n\n{\n    \"error\": \"Paste not found\"\n}\n\n{\n    \"error\": {\n        \"content\": [\n            \"The Content field is required.\"\n        ]\n    }\n}\n\n{\n    \"error\": \"User pasting is currently disabled\"\n}\n\n{\n    \"error\": \"Public pasting is currently disabled please login to create a paste\"\n}\n\n{\n    \"error\": \"Max allowed content size is N kb\"\n}\n\n{\n    \"error\": \"Daily paste limit reached\"\n}\n\n{\n    \"error\": \"Please wait N minutes before making another paste\"\n}\n\n\n{\n    \"error\": \"Daily paste limit reached, Please login to increase your paste limit\"\n}\n</code>\n</pre>\n","urlObject":{"protocol":"http","path":["api","paste","update"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"ebe5f9e1-8713-ef4c-7ca6-4232ea27ec1a"},{"name":"Paste Delete","id":"b07d9150-9547-d5cb-d919-0b634945d14c","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","description":"<p>Bearer {token} - token is the session key of the logged in user</p>\n"},{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"slug","value":"ZvV4XBhAaK","description":"<p>Required - Slug of your paste that you want to delete</p>\n","type":"text"}]},"url":"http://ptest.dk/api/paste/delete","description":"<p>Include all the following POST parameters when you request the url:</p>\n<ol>\n<li>slug - this is required parameter which must be slug of your paste you want to delete</li>\n</ol>\n<p><b>Possible Good API Responses:</b></p>\n<pre>\n{\n    \"success\": \"Paste successfully deleted\"\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"message\": \"Unauthenticated.\"\n}\n\n{\n    \"error\": \"Paste not found\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","paste","delete"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"b07d9150-9547-d5cb-d919-0b634945d14c"},{"name":"Get Page","id":"6c6c5602-1061-e9a0-c262-07b79cd3d6ce","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/pages/about","description":"<p>Include Page Slug when you request the url:</p>\n<p><a href=\"http://ptest.dk/api/pages/%7Bslug%7D\">http://ptest.dk/api/pages/{slug}</a></p>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n{\n    \"title\": \"About Us\",\n    \"content\": \"Lorem ipsum dolor si...\",\n    \"description\": \" Lorem ipsum dolor si...\"\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"error\": \"Page not found\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","pages","about"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c6c5602-1061-e9a0-c262-07b79cd3d6ce"},{"name":"Get User Public Profile & Pastes","id":"c93ac87f-f33e-0dd7-b0a0-d547c30b7438","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/u/admin","description":"<p>Include Username when you request the url:</p>\n<p><a href=\"http://ptest.dk/api/u/%7Busername%7D\">http://ptest.dk/api/u/{username}</a></p>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n{\n    \"success\": {\n        \"pastes\": {\n            \"current_page\": 1,\n            \"data\": [\n                {\n                    \"title\": \"Hello world\",\n                    \"syntax\": \"none\",\n                    \"slug\": \"mgHZkPMqJu\",\n                    \"created_at\": \"2019-11-26 18:01:53\",\n                    \"password\": null,\n                    \"expire_time\": null,\n                    \"views\": 1,\n                    \"password_protected\": false,\n                    \"url\": \"http://ptest.dk/mgHZkPMqJu\"\n                }\n            ],\n            \"first_page_url\": \"http://ptest.dk/api/u/admin?page=1\",\n            \"from\": 1,\n            \"next_page_url\": null,\n            \"path\": \"http://ptest.dk/api/u/admin\",\n            \"per_page\": 20,\n            \"prev_page_url\": null,\n            \"to\": 1\n        },\n        \"user\": {\n            \"name\": \"admin\",\n            \"status\": null,\n            \"avatar\": \"https://placehold.it/80x80/00a65a/ffffff/&amp;text=\",\n            \"about\": null,\n            \"gp\": null,\n            \"fb\": null,\n            \"tw\": null\n        }\n    }\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"error\": \"User not found\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","u","admin"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"c93ac87f-f33e-0dd7-b0a0-d547c30b7438"},{"name":"Get My Pastes","id":"9c4edfd9-e530-7e2f-9916-4b0e48dfb824","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer 56d21e3066b7828419016c5b90e18b6e55f4f6d8ea57d85dedda60dfd0f4d581","description":"<p>Bearer {token} - token is the session key of the logged in user</p>\n"},{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/my-pastes","description":"<p>Get pastes of authorized user </p>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 15,\n            \"title\": null,\n            \"slug\": \"BvIJ2Rl8Yr\",\n            \"user_id\": 1,\n            \"ip_address\": \"::1\",\n            \"content\": \"this is new paste\",\n            \"syntax\": \"none\",\n            \"expire_time\": null,\n            \"status\": 1,\n            \"views\": 0,\n            \"password\": null,\n            \"encrypted\": 0,\n            \"self_destroy\": null,\n            \"storage\": 1,\n            \"created_at\": \"2019-11-29 21:54:05\",\n            \"updated_at\": \"2019-11-29 21:54:05\",\n            \"password_protected\": false,\n            \"url\": \"http://ptest.dk/BvIJ2Rl8Yr\"\n        }\n    ],\n    \"first_page_url\": \"http://ptest.dk/api/my-pastes?page=1\",\n    \"from\": 1,\n    \"next_page_url\": null,\n    \"path\": \"http://ptest.dk/api/my-pastes\",\n    \"per_page\": \"50\",\n    \"prev_page_url\": null,\n    \"to\": 4\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"message\": \"Unauthenticated.\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","my-pastes"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c4edfd9-e530-7e2f-9916-4b0e48dfb824"},{"name":"Report Paste Issue","id":"997d3d47-bf5e-ea43-507e-90b2603af90c","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 256fae02f45ccdd6671e031e9843367ee426e2ea68ba4ac5cf0c9d1b79350c87","description":"<p>Bearer {token} - token is the session key of the logged in user</p>\n"},{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"slug","value":"U2m07ANokE","description":"<p>Required - Slug of your paste that you want to report</p>\n","type":"text"},{"key":"reason","value":"I do not like this paste","description":"<p>Required - Reason to report the paste, String, Min Length 10, Max Length 1000</p>\n","type":"text"}]},"url":"http://ptest.dk/api/report-issue","description":"<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n{\n    \"success\": \"Paste successfully reported\"\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"message\": \"Unauthenticated.\"\n}\n\n{\n    \"error\": \"This feature is disabled\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","report-issue"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"997d3d47-bf5e-ea43-507e-90b2603af90c"},{"name":"Get User","id":"04f9281b-aabb-b3a1-41ef-7454d6c3513d","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer 797a51c84a75ea799ad02b0977e31a3147d2325573add6440845d33387944cfb","description":"<p>Bearer {token} - token is the session key of the logged in user</p>\n"},{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://ptest.dk/api/profile","description":"<p>Get authorized user profile</p>\n<p><b>Possible Good API Responses: (example)</b></p>\n<pre>\n{\n    \"success\": {\n        \"name\": \"admin\",\n        \"status\": null,\n        \"avatar\": \"https://placehold.it/80x80/00a65a/ffffff/&amp;text=\",\n        \"about\": null,\n        \"default_paste\": {\n            \"title\": \"My Awesome Paste\",\n            \"status\": \"1\",\n            \"syntax\": \"markup\",\n            \"expire\": \"N\",\n            \"password\": null,\n            \"encrypted\": 1\n        },\n        \"gp\": null,\n        \"fb\": null,\n        \"tw\": null\n    }\n}\n\n</pre>\n\n<p><b>Possible Bad API Responses:</b></p>\n<pre>\n<code>\n{\n    \"message\": \"Unauthenticated.\"\n}\n\n{\n    \"error\": \"User not found\"\n}\n</code>\n</pre>","urlObject":{"protocol":"http","path":["api","profile"],"host":["ptest","dk"],"query":[],"variable":[]}},"response":[],"_postman_id":"04f9281b-aabb-b3a1-41ef-7454d6c3513d"}]}