{"info":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","description":"<html><head></head><body><p>This api is not fully functional as features would be added with respect to time and however all current functionalities might have bugs and I'll try my best to debug, as the api would be tested.</p>\n<h4 id=\"uri-and-versioning\">URI and Versioning</h4>\n<p>We hope to improve the API over time. The changes won't always be backward compatible, so we're going to use versioning. This first iteration will have URIs prefixed with https://<code>url</code>/v0/ and is structured as described below. There is currently no rate limit.</p>\n<h4 id=\"error-codes\">Error Codes</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n<th>Misc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>E000</code></strong></td>\n<td>Bad Request</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E001</code></strong></td>\n<td>Insufficient Parameters,</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E002</code></strong></td>\n<td>An error occured, Make sure all fields are input correctly</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E004</code></strong></td>\n<td>Login or Signup</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E005</code></strong></td>\n<td>SignUp Error</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E006</code></strong></td>\n<td>Email or Password is incorrent</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E007</code></strong></td>\n<td>User Cannot Edit Profile</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E008</code></strong></td>\n<td>User Cannot Delete Profile</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E009</code></strong></td>\n<td>User Does Not Exist</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E010</code></strong></td>\n<td>User Cannot Edit Item</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E011</code></strong></td>\n<td>User Cannot Delete Item</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E012</code></strong></td>\n<td>Item Does Not Exist</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E013</code></strong></td>\n<td>Exceeded Maximum Number Of Uploads</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E014</code></strong></td>\n<td>Image Not Found</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E016</code></strong></td>\n<td>Email Already Exists</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E017</code></strong></td>\n<td>Incorrect Password</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E018</code></strong></td>\n<td>Email Doesn't Exists</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E019</code></strong></td>\n<td>Expired Token (Request another one)</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"regular-expressions\">Regular Expressions</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>NAME</th>\n<th>REGEX</th>\n<th>Misc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>NAME</code></strong></td>\n<td>\"[A-Za-z0-9_]+\\s[A-Za-z0-9_]+\"</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>EMAIL</code></strong></td>\n<td>[^@ \\t\\r\\n]+@[^@ \\t\\r\\n]+.[^@ \\t\\r\\n]+</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>PASSWORD</code></strong></td>\n<td>^(?=.<em>?[A-Z])(?=.</em>?[a-z])(?=.<em>?[0-9])(?=.</em>?[#?!@$ %^&amp;*-]).{8,}$</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"general-response-format\">General Response Format</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>KEY</th>\n<th>TYPE</th>\n<th>Misc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>status_code</code></strong></td>\n<td>Int</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>data</code></strong></td>\n<td>JSON Objest</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>error_code</code></strong></td>\n<td>String</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>has_error</code></strong></td>\n<td>Boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>description</code></strong></td>\n<td>String</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>error_data</code></strong></td>\n<td>JSON Object</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14039622","collectionId":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","publishedId":"TzeTKVio","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-06-13T15:47:56.000Z"},"item":[{"name":"Auth","item":[{"name":"Login","id":"ff143636-bdad-456e-99a4-809605ef2aee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"text2@gmail.com\",\r\n    \"password\" : \"@Password78\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:5000/v0/login","description":"<p>This request would handle <strong>Authentication</strong> for avaliable <code>users/patients/doctors</code>.</p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>QUERY PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>email</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n<tr>\n<td><strong><code>password</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a dictionary or a JSON object which has a key <code>access_token</code> and value is a token which would be a valid <strong>Authentication header</strong>.</p>\n<p><code>access_token</code> would be used to authenticate the user/retailer/business-owner. However this should be set as the <code>bearer-token</code> where needed.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["v0","login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff143636-bdad-456e-99a4-809605ef2aee"},{"name":"Sign Up","id":"b281c70e-fc10-4b77-8c82-3478724879df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\"  : \"Kenneth Gabriel\",\r\n    \"email\" : \"text2@gmail.com\",\r\n    \"password\" : \"@Password78\",\r\n    \"is_doctor\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:5000/v0/signup","description":"<p>This request would handle <strong>Signing Up</strong> of new <code>users/patients/doctors</code>.</p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>QUERY PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>name</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n<tr>\n<td><strong><code>email</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n<tr>\n<td><strong><code>password</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n<tr>\n<td><strong><code>is_doctor</code></strong></td>\n<td>Boolean</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a dictionary or a JSON object which has a key <code>access_token</code> and value is a token which would be a valid <strong>Authentication header</strong>.</p>\n<p><code>access_token</code> would be used to authenticate the user/retailer/business-owner. However this should be set as the <code>bearer-token</code> where needed.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["v0","signup"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b281c70e-fc10-4b77-8c82-3478724879df"}],"id":"50aed348-3626-4fcb-9df8-55505629c766","description":"<p>This is said to be the back bone of Authentication as the request here would handle both <code>/login</code> and <code>/signup</code> request and here the <code>Authorization Header</code> or <code>Access Token</code> would be generated.</p>\n<h5 id=\"possible-error-codes\">Possible Error Codes</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n<th>Misc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>E004</code></strong></td>\n<td>SignUp Error</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E005</code></strong></td>\n<td>Login Error</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E006</code></strong></td>\n<td>Email or Password is incorrent</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E016</code></strong></td>\n<td>Email Already Exists</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"50aed348-3626-4fcb-9df8-55505629c766","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}}},{"name":"User","item":[{"name":"Get User /v0/users/<string:user_public_id>","id":"00dd7eca-1504-4059-9cea-8f75f988f7b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:5000/v0/users/5595ac1b995d02c208f7bd9e93be4188","description":"<p>Here you'll get the details/data of any user with the provided <code>&lt;string:user_public_id&gt;</code></p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>PATH PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>user_public_id</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a <code>user</code> object in JSON format.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}},"urlObject":{"port":"5000","path":["v0","users","5595ac1b995d02c208f7bd9e93be4188"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"00dd7eca-1504-4059-9cea-8f75f988f7b6"},{"name":"Edit Profile /v0/users","id":"d214a42b-63de-4f84-96ac-a76937c3b323","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"New Name\",\r\n    \"email\" : \"new@email.com\",\r\n    \"description\" : \"New description\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:5000/v0/users","description":"<p>You can <strong>edit</strong> a users data here. However the fields provided will be the fields that would be <strong>edited/updates</strong></p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HEADER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>Authorization</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>QUERY PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>name</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td>NAME</td>\n</tr>\n<tr>\n<td><strong><code>email</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td>URL</td>\n</tr>\n<tr>\n<td><strong><code>description  </code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a <code>user</code> object in JSON format.</p>\n","urlObject":{"port":"5000","path":["v0","users"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d214a42b-63de-4f84-96ac-a76937c3b323"}],"id":"8a0a048e-2a91-4215-8c91-b0edc60a6b21","description":"<p>All request here would handle the <strong>Getting</strong> of a <code>user</code> detailes, <strong>Editing</strong> of a <code>user</code>'s data and <strong>Deleting</strong> of a <code>user</code></p>\n<h5 id=\"possible-error-codes\">Possible Error Codes</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n<th>Misc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>E000</code></strong></td>\n<td>Bad Request</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E021</code></strong></td>\n<td>User Cannot Edit Profile</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E022</code></strong></td>\n<td>User Cannot Delete Profile</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E023</code></strong></td>\n<td>User Does Not Exist</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"user-object\">User Object</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>KEY</th>\n<th>TYPE</th>\n<th>AUTHENTICATION</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>public_id</code></strong></td>\n<td>String</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>email</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n</tr>\n<tr>\n<td><strong><code>name</code></strong></td>\n<td>String</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>bio</code></strong></td>\n<td>String</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>is_doctor</code></strong></td>\n<td>Boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>reports</code></strong></td>\n<td>Array[Reports]</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>replies</code></strong></td>\n<td>Array[Replies]</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>profile_photo</code></strong></td>\n<td>String(Filename)</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>joined</code></strong></td>\n<td>Date</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong> The fields <code>email</code> would only be returned if the current <code>user</code> is authenticated and the is the same with the user requested</p>\n","_postman_id":"8a0a048e-2a91-4215-8c91-b0edc60a6b21","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}}},{"name":"Report","item":[{"name":"Get Report /v0/reports/<string:report_public_id>","id":"1ec3ac78-ed52-4f98-8a23-fcf6ccd03e82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:5000/v0/reports/872d9a3150524e4a16be312f42fa4ab9","description":"<p>Here you'll get the details/data of any report with the provided <code>&lt;string:report_public_id&gt;</code></p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>PATH PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>report_public_id</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a <code>report</code> object in JSON format.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}},"urlObject":{"port":"5000","path":["v0","reports","872d9a3150524e4a16be312f42fa4ab9"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ec3ac78-ed52-4f98-8a23-fcf6ccd03e82"},{"name":"Create Report /v0/reports","id":"21e29cd1-595b-4fcd-80f1-b219e7b406fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\" : \"My first issue\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:5000/v0/reports","description":"<p>Creates a new <code>report</code></p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HEADER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>Authorization</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>QUERY PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>content</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a <code>report</code> object in JSON format.</p>\n","urlObject":{"port":"5000","path":["v0","reports"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"21e29cd1-595b-4fcd-80f1-b219e7b406fb"},{"name":"Edit Report  /v0/reports/<string:report_public_id>","id":"b08c2013-b353-490c-b5ca-8e7f71eb159b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\" : \"New issue content\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:5000/v0/reports/872d9a3150524e4a16be312f42fa4ab9","description":"<p><strong>Edit</strong> a reports' data</p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HEADER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>Authorization</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>PATH PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>report_public_id</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>QUERY PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>content</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a <code>report</code> object in JSON format.</p>\n","urlObject":{"port":"5000","path":["v0","reports","872d9a3150524e4a16be312f42fa4ab9"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b08c2013-b353-490c-b5ca-8e7f71eb159b"}],"id":"882462dc-e54f-4955-a531-321ff6c28904","description":"<p>All request here would handle the <strong>Getting</strong> of a <code>report</code> detailes, <strong>Editing</strong> of a <code>report</code>'s data and <strong>Deleting</strong> of a <code>report</code></p>\n<h5 id=\"possible-error-codes\">Possible Error Codes</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n<th>Misc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>E000</code></strong></td>\n<td>Bad Request</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E010</code></strong></td>\n<td>User Cannot Edit Post</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E011</code></strong></td>\n<td>User Cannot Delete Post</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E012</code></strong></td>\n<td>Item Does Not Exist</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"report-object\">Report Object</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>KEY</th>\n<th>TYPE</th>\n<th>AUTHENTICATION</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>public_id</code></strong></td>\n<td>String</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>content</code></strong></td>\n<td>String</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>created_at</code></strong></td>\n<td>Date</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>replies</code></strong></td>\n<td>Array[Reply Object]</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>author</code></strong></td>\n<td>[User Object]</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"882462dc-e54f-4955-a531-321ff6c28904","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}}},{"name":"Reply","item":[{"name":"Get Reply /v0/replies/<string:reply_public_id>","id":"c37c91d6-af95-400d-9115-0a367967503a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:5000/v0/replies/703aa134631e0e3b935ee73494ae0f15","description":"<p>Here you'll get the details/data of any report with the provided <code>&lt;string:reply_public_id&gt;</code></p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>PATH PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>reply_public_id</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a <code>reply</code> object in JSON format.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}},"urlObject":{"port":"5000","path":["v0","replies","703aa134631e0e3b935ee73494ae0f15"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c37c91d6-af95-400d-9115-0a367967503a"},{"name":"Create Reply /v0/replies","id":"9ec0708c-047b-4965-93a3-8faea8a53bbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\" : \"Reply to report\",\r\n    \"report_public_id\" : \"872d9a3150524e4a16be312f42fa4ab9\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:5000/v0/replies","description":"<p>Creates a new <code>reply</code></p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HEADER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>Authorization</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>QUERY PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>content</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n<tr>\n<td><strong><code>report_public_id</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a <code>reply</code> object in JSON format.</p>\n","urlObject":{"port":"5000","path":["v0","replies"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ec0708c-047b-4965-93a3-8faea8a53bbe"},{"name":"Edit Reply /v0/replies/<string:report_public_id>","id":"c6ab6783-b5d1-4900-8b78-23676c532885","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\" : \"New reply content\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:5000/v0/replies/703aa134631e0e3b935ee73494ae0f15","description":"<p><strong>Edit</strong> a reply's data</p>\n<h5 id=\"request\">Request</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HEADER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>Authorization</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>PATH PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>reply_public_id</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>QUERY PARAMETER</th>\n<th>TYPE</th>\n<th>REQUIRED</th>\n<th>REGEX</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>content</code></strong></td>\n<td>String</td>\n<td><strong>Required</strong></td>\n<td><strong>None</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is <code>\"data\"</code> and whose value is a <code>reply</code> object in JSON format.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}},"urlObject":{"port":"5000","path":["v0","replies","703aa134631e0e3b935ee73494ae0f15"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6ab6783-b5d1-4900-8b78-23676c532885"}],"id":"d1ee8567-fd63-4061-87f8-83654d489456","description":"<p>All request here would handle the <strong>Getting</strong> of a <code>reply</code> detailes, <strong>Editing</strong> of a <code>reply</code>'s data and <strong>Deleting</strong> of a <code>reply</code></p>\n<h5 id=\"possible-error-codes\">Possible Error Codes</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n<th>Misc</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>E000</code></strong></td>\n<td>Bad Request</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E010</code></strong></td>\n<td>User Cannot Edit Post</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E011</code></strong></td>\n<td>User Cannot Delete Post</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>E012</code></strong></td>\n<td>Item Does Not Exist</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"reply-object\">Reply Object</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>KEY</th>\n<th>TYPE</th>\n<th>AUTHENTICATION</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>public_id</code></strong></td>\n<td>String</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>content</code></strong></td>\n<td>String</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>created_at</code></strong></td>\n<td>Date</td>\n<td></td>\n</tr>\n<tr>\n<td><strong><code>author</code></strong></td>\n<td>[User Object]</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d1ee8567-fd63-4061-87f8-83654d489456","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","id":"34e7f07b-4d6b-4dc9-aa93-6bbff21143dd","name":"Doc","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"<password>"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"bd94d5c6-33f5-4735-b375-7b166eb1a836"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d29f8821-e264-4f97-9f1b-3df1f114ae05"}}]}