{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"13b216db-702e-4cbe-9207-60145a190a78","name":"Limbook Api","description":"Limbook api is a minimal api for creating social app like facebook or twitter. It has basic features like posts, comments, and reacts but more features will be added in the next release, so keep checking for updates.\n\n## User, Role and Permissions\nLimbook Api manages users, roles and permissions using Auth0, so all the secure api expects Auth0 access_token.\n\nAs of now, there are 2 type of roles.\n\n1.  Role \"admin\"\n    This role can do all the things that role \"user\" can do plus can also view stats. It will be able\n    to manage users in the future release.\n    This role has the following permissions:\n\n        'read:users', 'create:users', 'update:users', 'delete:users',\n        'read:posts', 'create:posts', 'update:posts', 'delete:posts',\n        'read:comments', 'create:comments', 'update:comments',\n        'delete:comments',\n        'read:reacts', 'create:reacts', 'update:reacts', 'delete:reacts',\n        'read:images', 'create:images', 'update:images', 'delete:images',\n        'read:stats'\n\n\n2. Role \"user\"\n\n    This role has the following permissions:\n        'read:posts', 'create:posts', 'update:posts', 'delete:posts',\n        'read:comments', 'create:comments', 'update:comments',\n        'delete:comments',\n        'read:reacts', 'create:reacts', 'update:reacts', 'delete:reacts',\n        'read:images', 'create:images', 'update:images', 'delete:images'\n\n## Error Handling\nYou can expect the following types of errors from API:\n\n400: Bad Request\n401: Unauthorized\n403: Forbidden\n404: Resource not found\n405: Method not allowed\n422: Unprocessable\n500: Internal server error\n\nThe error is returned in the following json format:\n\n```\n{\n    \"success\": False,\n    \"error\": 500,\n    \"error_code\": \"unknowk_error\",\n    \"message\": \"Unknown server error\"\n}\n```","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"3230491","collectionId":"13b216db-702e-4cbe-9207-60145a190a78","publishedId":"SzmmVueg","public":true,"publicUrl":"https://documenter-api.postman.tech/view/3230491/SzmmVueg","privateUrl":"https://go.postman.co/documentation/3230491-13b216db-702e-4cbe-9207-60145a190a78","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"23C7CA"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2020-05-24T18:32:08.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Limbook Api","id":"dd20fe43-8762-43db-b1a1-aa745810d318","owner":"3230491","values":[{"key":"api_base","value":"https://limbook-api.herokuapp.com/v1","enabled":true},{"key":"access_token","value":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IllhT3RnLWR4WmJMRmZOUnlOQkVEbSJ9.eyJpc3MiOiJodHRwczovL2xpbXZ1cy5hdXRoMC5jb20vIiwic3ViIjoiYXV0aDB8NWViNjY5YjA1NGIxNGMwYzEyODgxMmUxIiwiYXVkIjoibGltYm9vay1hcGktYXV0aCIsImlhdCI6MTU5MDM0Mzk5OSwiZXhwIjoxNTkwNDMwMzk5LCJhenAiOiIxcjhTc0o4SDJwbURyelh0RXJaQUMwTko4MFh3NkFGaiIsInNjb3BlIjoiIiwicGVybWlzc2lvbnMiOlsiY3JlYXRlOmNvbW1lbnRzIiwiY3JlYXRlOmltYWdlcyIsImNyZWF0ZTpwb3N0cyIsImNyZWF0ZTpyZWFjdHMiLCJjcmVhdGU6dXNlcnMiLCJkZWxldGU6Y29tbWVudHMiLCJkZWxldGU6aW1hZ2VzIiwiZGVsZXRlOnBvc3RzIiwiZGVsZXRlOnJlYWN0cyIsImRlbGV0ZTp1c2VycyIsInJlYWQ6Y29tbWVudHMiLCJyZWFkOmltYWdlcyIsInJlYWQ6cG9zdHMiLCJyZWFkOnJlYWN0cyIsInJlYWQ6c3RhdHMiLCJyZWFkOnVzZXJzIiwidXBkYXRlOmNvbW1lbnRzIiwidXBkYXRlOmltYWdlcyIsInVwZGF0ZTpwb3N0cyIsInVwZGF0ZTpyZWFjdHMiLCJ1cGRhdGU6dXNlcnMiXX0.wh7m-IeQg21kaYev8TmIqSyWlZTWZV38g2nnnqvonzlvhO-4Z3107sZyJes8V0wdghICWFkQ84AtyWJKwIG2Tw_aQBDUGe3xdsKVzkOKKSXFknYqOIVbTNjOqD5cN73605EghoupAidt0g0cG2QxY8YOOsDrabT67rF5TzpRTBQakIJAIVC56K5ZP4WOxEPjv4iwnL5a9J_F1OmagWkqfaUJ5Epm8gpj1DHrybMG8oDKpfvt9cZx5fpbunU0PZvGis-23aYyfXAA1Xy2WKMYfk7bPJ2I6fc53DbpGvsBPpZp5FOG6A4xOi-NrRNtii2VJeJHeuqSD5hw48XHK_JDeA","enabled":true},{"key":"id","value":78,"enabled":true}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/768118b36f06c94b0306958b980558e6915839447e859fe16906e29d683976f0","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Limbook Api","value":"3230491-dd20fe43-8762-43db-b1a1-aa745810d318"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/SzmmVueg"}