{"info":{"_postman_id":"0e344002-3699-4768-af46-784cadd97968","name":"AgiEngineApis","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"892244","collectionId":"0e344002-3699-4768-af46-784cadd97968","publishedId":"SW17UGWt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-11-08T01:36:49.000Z"},"item":[{"name":"auth","item":[{"name":"Logout signedIn user","id":"e61184cc-524f-4d68-a49e-87661a6f8000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzMxNzQxNzAsIm5iZiI6MTU3MzE3NDE3MCwianRpIjoiMGM3MjMxZjItZDhjOS00NDA5LWFkYjctMmUzMDIyMDgyYjQyIiwiZXhwIjoxNTczMTc1MDcwLCJpZGVudGl0eSI6MiwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJpc19hZG1pbiI6dHJ1ZX19.F4jv_oelF83Nj4i6WUvjAQqX81e65HE_jKEVcyufj9Q","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://agiengine.herokuapp.com/logout","description":"<p>Logout current user session</p>\n","urlObject":{"protocol":"https","path":["logout"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e61184cc-524f-4d68-a49e-87661a6f8000"},{"name":"Refresh token","id":"59563e66-325e-4350-9a5d-588d3913daa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzMxNzM0NjQsIm5iZiI6MTU3MzE3MzQ2NCwianRpIjoiMzdkYTU5MDEtYjZiZC00YTc4LTk4YzktZTIyZjkxOTA5ZmZhIiwiZXhwIjoxNTc1NzY1NDY0LCJpZGVudGl0eSI6MiwidHlwZSI6InJlZnJlc2gifQ.u9DXzCrST3TEFbwuuxlfSPl-u90sBvCxbWdZXCN3Kys","type":"text"}],"url":"https://agiengine.herokuapp.com/refresh","description":"<p>Token Refresh, kindly supply refresh token id</p>\n","urlObject":{"protocol":"https","path":["refresh"],"host":["agiengine","herokuapp","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"59563e66-325e-4350-9a5d-588d3913daa2"},{"name":"User login endpoint","id":"99c00669-f629-46fd-8f0a-4329bbcd2192","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\":\"davidobi023@gmail.com\",\n\t\"password\":\"12345\"\n}"},"url":"https://agiengine.herokuapp.com/login","urlObject":{"protocol":"https","path":["login"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"99c00669-f629-46fd-8f0a-4329bbcd2192"}],"id":"8a7096e8-68ee-4326-b9fa-c6a56ee035ca","_postman_id":"8a7096e8-68ee-4326-b9fa-c6a56ee035ca","description":""},{"name":"user","item":[{"name":"Register a new user","id":"c1046eeb-54f0-4dc5-8f21-44bf5eee74ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\":\"davidobi023@gmail.com\",\n\t\"password\":\"12345\",\n\t\"lastname\":\"Obi\",\n\t\"firstname\":\"Ebuka\",\n\t\"othernames\":\"David\",\n\t\"phone\":\"08130770663\",\n\t\"country\":\"Nigeria\",\n\t\"orgnaisionationame\":\"Fuerte\"\n}"},"url":"https://agiengine.herokuapp.com/register","urlObject":{"protocol":"https","path":["register"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1046eeb-54f0-4dc5-8f21-44bf5eee74ce"},{"name":"View list of all users","id":"75040fb3-8c33-4ce7-a13d-755e6e2262d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzMxNjk1NTIsIm5iZiI6MTU3MzE2OTU1MiwianRpIjoiNzcyZDQ4NGQtYzMwMy00MTJlLWFjMzUtMjk0YzdjYjAyNmJkIiwiZXhwIjoxNTczMTcwNDUyLCJpZGVudGl0eSI6MSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJpc19hZG1pbiI6dHJ1ZX19.bO8zl0uILx_HoIXjzu9hCyIM_5qrnWgR1q37YxB1nUI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://agiengine.herokuapp.com/users","description":"<p>View all users in the system.\nThis is an adminstrative feature</p>\n","urlObject":{"protocol":"https","path":["users"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"75040fb3-8c33-4ce7-a13d-755e6e2262d8"},{"name":"Delete a specific user","id":"b1e1e0d9-9c3d-4590-b23a-98240a601f54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzMxNjk4ODEsIm5iZiI6MTU3MzE2OTg4MSwianRpIjoiNzE1MjJiMWYtNjczMS00NjMwLWI5N2ItODAwNjNiNzFiNzk2IiwiZXhwIjoxNTczMTcwNzgxLCJpZGVudGl0eSI6MSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJpc19hZG1pbiI6dHJ1ZX19.TMsXFVfQ4sXFOhs0ZUuWO4BNyGRIGI5_zyZNspejNFw","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://agiengine.herokuapp.com/user/remove@gmail.com","description":"<p>Delete a user from the database</p>\n","urlObject":{"protocol":"https","path":["user","remove@gmail.com"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1e1e0d9-9c3d-4590-b23a-98240a601f54"},{"name":"Get a user details","id":"c1c3e162-99b4-4af5-adf9-0a783e8a1057","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzMxNzQyOTcsIm5iZiI6MTU3MzE3NDI5NywianRpIjoiMzg3NjEzYjMtOTU2NS00NWIyLWJkMjUtMjM4OTZiNzA1NDlkIiwiZXhwIjoxNTczMTc1MTk3LCJpZGVudGl0eSI6MiwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJpc19hZG1pbiI6dHJ1ZX19.1prwbr0SdEXCZsAemymRVxmGQeHCaJ2Sf66zuc2_4lc","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://agiengine.herokuapp.com/user/remove@gmail.com","description":"<p>Delete a user from the database</p>\n","urlObject":{"protocol":"https","path":["user","remove@gmail.com"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1c3e162-99b4-4af5-adf9-0a783e8a1057"},{"name":"Update a users information","id":"a9624793-68cd-4881-8075-0888b9114dea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzMxNzE0NjAsIm5iZiI6MTU3MzE3MTQ2MCwianRpIjoiYWJlNjA4MWMtZWVhYi00YjM5LWIzZmEtMTlkNjgzYTM0YWY3IiwiZXhwIjoxNTczMTcyMzYwLCJpZGVudGl0eSI6MSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJpc19hZG1pbiI6dHJ1ZX19.VIozNs4AvWNS5IhOZN8_AS_zmha2Jv__wnh9DXnLVOY","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"email\":\"davidobi023@gmail.com\",\n\t\"password\":\"12345\",\n\t\"lastname\":\"Obi\",\n\t\"firstname\":\"Ebuka\",\n\t\"othernames\":\"David\",\n\t\"phone\":\"08130770664\",\n\t\"country\":\"Nigeria\",\n\t\"orgnaisionationame\":\"Fuerte\"\n}"},"url":"https://agiengine.herokuapp.com/user/davidobi023@gmail.com","description":"<p>This api endpoint simply updates the info of the user specified.</p>\n<p>This API requires an adminstrative claim</p>\n","urlObject":{"protocol":"https","path":["user","davidobi023@gmail.com"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9624793-68cd-4881-8075-0888b9114dea"},{"name":"Make a user and Admin user","id":"826960f1-af57-4ae2-942c-1c44b56e0969","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzMxNzI3MTMsIm5iZiI6MTU3MzE3MjcxMywianRpIjoiNmIxNWVhYzItOGY1YS00NGRmLTk1ZjktYTE3MmJiZmYxMjQ0IiwiZXhwIjoxNTczMTczNjEzLCJpZGVudGl0eSI6MSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJpc19hZG1pbiI6dHJ1ZX19.JPRSsSEXPvo0v-xY0CuSRoBd6lebSjjD6yJdLH4XAcc","type":"text"}],"url":"https://agiengine.herokuapp.com/user_privilegedMakeAdmin/davidobi023@gmail.com","description":"<p>This api requires admin priviledged and can be used to make another user an admin</p>\n","urlObject":{"protocol":"https","path":["user_privilegedMakeAdmin","davidobi023@gmail.com"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"826960f1-af57-4ae2-942c-1c44b56e0969"},{"name":"Remove Admin right from user","id":"ea612d18-e460-402f-8a12-a2ab245b5a94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzMxNzI3MTMsIm5iZiI6MTU3MzE3MjcxMywianRpIjoiNmIxNWVhYzItOGY1YS00NGRmLTk1ZjktYTE3MmJiZmYxMjQ0IiwiZXhwIjoxNTczMTczNjEzLCJpZGVudGl0eSI6MSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJpc19hZG1pbiI6dHJ1ZX19.JPRSsSEXPvo0v-xY0CuSRoBd6lebSjjD6yJdLH4XAcc","type":"text"}],"url":"https://agiengine.herokuapp.com/user_privilegedRemoveAdmin/davidobi023@gmail.com","description":"<p>Remove Admin priviledge from a user</p>\n","urlObject":{"protocol":"https","path":["user_privilegedRemoveAdmin","davidobi023@gmail.com"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea612d18-e460-402f-8a12-a2ab245b5a94"}],"id":"b5ed12bc-80e2-4d9c-b3f6-232bedcb15dd","_postman_id":"b5ed12bc-80e2-4d9c-b3f6-232bedcb15dd","description":""},{"name":"image_analysis","item":[{"name":"Face Recognition API","id":"362cf791-915d-498e-9ef7-e241d3a620aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzM0NDg4MTUsIm5iZiI6MTU3MzQ0ODgxNSwianRpIjoiMGVmOGI1OTMtYTFlOS00Zjc0LWIxNGMtZDk1NmQ3Zjk0ZmUwIiwiZXhwIjoxNTczNTM1MjE1LCJpZGVudGl0eSI6MiwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJpc19hZG1pbiI6dHJ1ZX19.d0jzGZbb5K2b9E_7wGR9Ht1a12J4dkdJjumHf2ClvWM","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"image_to_Check\":\"https://firebasestorage.googleapis.com/v0/b/banking-4ad45.appspot.com/o/67159828_3019225004784429_359839897726484480_o.jpg?alt=media&token=9781fe64-fcee-4715-b656-3ef3880a745d\"\n}"},"url":"https://agiengine.herokuapp.com/facerecognition","description":"<p>Requires JWT Token</p>\n","urlObject":{"protocol":"https","path":["facerecognition"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"362cf791-915d-498e-9ef7-e241d3a620aa"}],"id":"d2596f11-e250-4238-a4ae-d5718980dbba","_postman_id":"d2596f11-e250-4238-a4ae-d5718980dbba","description":""},{"name":"text_analysis","item":[{"name":"Sentiment Analysis for Text Data","id":"2fd587c4-ffb0-4613-9741-4968ab1db37c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzM0MDc0NjUsIm5iZiI6MTU3MzQwNzQ2NSwianRpIjoiN2NmMjE2MGEtYTM5MS00NjAzLTg2MjgtZGIxODY3NDBiZTg5IiwiZXhwIjoxNTczNDkzODY1LCJpZGVudGl0eSI6MiwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJpc19hZG1pbiI6dHJ1ZX19.Mvm48G7bDZ3C43pkZpdHDTAkto0zA7zVyitmUNWWiLY","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"textBody\":\"When your main character in a superhero positive good\",\n\t\"islarge\": \"0\"\n}"},"url":"https://agiengine.herokuapp.com/textanalysis","description":"<p>Specify 1 for large text body or 0 for small text body</p>\n","urlObject":{"protocol":"https","path":["textanalysis"],"host":["agiengine","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2fd587c4-ffb0-4613-9741-4968ab1db37c"}],"id":"526853c1-74b7-4fc5-859a-fe5dc5788d8d","_postman_id":"526853c1-74b7-4fc5-859a-fe5dc5788d8d","description":""}]}