{"info":{"_postman_id":"192cef24-8c14-41ec-bbb2-521008e71010","name":"navedex-api","description":"<html><head></head><body><p>This Collection shows the methods to access current navedex API and show how to authenticate on this API and access available methods. </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8382418","collectionId":"192cef24-8c14-41ec-bbb2-521008e71010","publishedId":"T1LQfk9N","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-08-16T16:59:57.000Z"},"item":[{"name":"Local","item":[{"name":"Authentication","item":[{"name":"Sign In - Create User","id":"de31543f-0b04-4e3c-8ce6-f3de2b9105e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"django\",\n    \"email\": \"teste@naver.rs\",\n    \"password\": \"django\",\n    \"is_active\":true\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/users/","description":"<p>Before any contact with the API, you need to create the user to access the useful resources, because when you go to try endpoints you need of the user to authentication. But the authentication is simple because you just need to send the username, email, and password. </p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","users",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"de31543f-0b04-4e3c-8ce6-f3de2b9105e9"},{"name":"Login - Get JWT Token","id":"b6e0aa43-1c0b-4e13-9b55-8e50b96042e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\n{\n    \"username\":\"django\",\n    \"password\":\"django\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/login/","description":"<p>After you created the user to access API you need to send one request to API with your username and password to get the token. The response returns two values, the first is token that can be for five minutes after you need request a new token or access the refresh token to get the new token with to have more time to access.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","login",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6e0aa43-1c0b-4e13-9b55-8e50b96042e4"},{"name":"Refresh token","id":"910c2a92-5e6c-4498-9a32-a38c42ed03a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \n    \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTU5NzY5MjIyMCwianRpIjoiODcwZjFkZjIzNzNhNDMyNDhjMmY3YTJlZWFlYzU1OTUiLCJ1c2VyX2lkIjoxfQ.Z0QiruXX2qgDo3fqwb_dfJ283CiXXA8sXJE9-LzrlTw\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/login/refresh/","description":"<p>When you get the tokens the first token is available only for five minutes, so you have sent a new request to refresh endpoint to require the token for 24 hours.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","login","refresh",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"910c2a92-5e6c-4498-9a32-a38c42ed03a4"}],"id":"f28fb0fc-6e4c-4a71-93cc-d146f05908b6","description":"<p>As we use the JWT tokens, you need to get the token to access the available resources, so you need to follow the steps bellow</p>\n","_postman_id":"f28fb0fc-6e4c-4a71-93cc-d146f05908b6"},{"name":"navers","item":[{"name":"Index - List Navers","id":"41e44acf-0d1c-4052-bd46-1d09149b5a1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"http://0.0.0.0:8002/api/v1/navers/73","description":"<p>Route for listing the Navers.\nFilter by name, company time, and position.\nThe return is an array with all navers or filtered by any of the above parameters, belonging to the user who made the request.\nThis route only can be accessed with jwt token.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","navers","73"],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"41e44acf-0d1c-4052-bd46-1d09149b5a1e"},{"name":"Show - Detail Naver","id":"27bd22ba-6d47-46f9-a3cd-55b78f3187db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"http://0.0.0.0:8002/api/v1/navers/1/","description":"<p>This route to the detailed information of a single naver through its identifier.\nIn addition to Naver's information, bring which projects he participated in\nThe return is an object containing information about Naver</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","navers","1",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"27bd22ba-6d47-46f9-a3cd-55b78f3187db"},{"name":"Store - Create Naver","id":"0d3d7273-6fba-42ef-bff6-26faa2ce387c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Naver Breno\",\n    \"birthdate\": \"2000-08-25\",\n    \"admission_date\": \"2020-08-21\",\n    \"projects\":[1,2],\n    \"job_role\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/navers/","description":"<p>It receives the naver data and an array with the identifiers of the projects it participates through the request body and creates a new record in the database linked to the user who made the request.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","navers",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d3d7273-6fba-42ef-bff6-26faa2ce387c"},{"name":"Update - Update Navers","id":"e6ce6042-e055-42ae-a02e-e5f499e18abd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Other\",\n    \"birthdate\": \"2020-08-19\",\n    \"admission_date\": \"2020-08-11\",\n    \"job\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/navers/69/","description":"<p>Receives naver data through the request body and an array with the identifiers of the projects he participates in and updates his record in the database. A user can only edit their own browsers. The return is the updated user object.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","navers","69",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6ce6042-e055-42ae-a02e-e5f499e18abd"},{"name":"Delete - Remove Naver","id":"bde45e39-73a9-46c7-8ca2-b73ed085eb79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"DELETE","header":[],"url":"http://0.0.0.0:8002/api/v1/navers/69/","description":"<p>It receives a shipping identifier and removes it from bank records. A user can only delete his own browsers.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","navers","69",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"bde45e39-73a9-46c7-8ca2-b73ed085eb79"}],"id":"f6b9139e-24ef-45dd-8365-98b47e8e8cd3","description":"<p>This endpoint provides the requests to access to the naver model</p>\n","_postman_id":"f6b9139e-24ef-45dd-8365-98b47e8e8cd3"},{"name":"projects","item":[{"name":"Index - Project","id":"6d64c68a-96bc-4423-ba8b-5bc84f3e43aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"http://0.0.0.0:8002/api/v1/projects/?name=API-Deploy","description":"<p>You can search all or filter by name. The return is an array with all projects or filtered by name, belonging to the user who made the request</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","projects",""],"host":["0","0","0","0"],"query":[{"key":"name","value":"API-Deploy"}],"variable":[]}},"response":[],"_postman_id":"6d64c68a-96bc-4423-ba8b-5bc84f3e43aa"},{"name":"Show - Detail Projects","id":"3f700969-fb82-4fa8-b088-4c931432529e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"http://0.0.0.0:8002/api/v1/projects/2/","description":"<p>Return behind to the project information, bring the navers that participated. The return is an object containing information about the project.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","projects","2",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f700969-fb82-4fa8-b088-4c931432529e"},{"name":"Store - Create Project","id":"da4898bd-36a4-4210-819a-a144efc39dd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"API-Deploy\",\n    \"description\":\"Think, Build, Test and Deploy\",\n    \"start_date\":\"2020-09-15\",\n    \"end_date\": \"2020-08-12\",\n    \"navers\":[1,72],\n    \"tecnologies\": [1]\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/projects/","description":"<p>It receives the project data and an array with the identifiers of the navers working on it through the request body and creates a new record in the database linked to the user who made the request.The return is the object of the Project created</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","projects",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"da4898bd-36a4-4210-819a-a144efc39dd3"},{"name":"Update - Update Project","id":"bafedc17-9051-4594-9037-b0730a926518","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Other Project Name\",\n    \"description\":\"Another description\",\n    \"start_date\":\"2020-05-15\",\n    \"end_date\":\"2020-08-15\",\n    \"naver_set\":[1]\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/projects/1/","description":"<p>It receives the project data and an array with the identifiers of the navers working on it through the request body and updates its record in the database. A user can only edit their own projects. The return is the object of the project Updated</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","projects","1",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"bafedc17-9051-4594-9037-b0730a926518"},{"name":"Delete - Remove Project","id":"1f7e8c40-b9ac-46e8-8814-9bb92402c761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"DELETE","header":[],"url":"http://0.0.0.0:8002/api/v1/projects/8/","description":"<p>It receives a project identifier and removes it from bank records. A user can only delete his own projects.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","projects","8",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f7e8c40-b9ac-46e8-8814-9bb92402c761"}],"id":"c0e4e8ad-ac9d-403a-ab64-c57e6d077cd3","description":"<p>This endpoint provides access to the project model. </p>\n","_postman_id":"c0e4e8ad-ac9d-403a-ab64-c57e6d077cd3"},{"name":"jobs","item":[{"name":"Index - View Jobs","id":"de5c33b8-dcaf-41b6-87a8-ea67d0f441e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0.0.0.0:8002/api/v1/job_role/","description":"<p>This route to the detailed information of all jobs.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","job_role",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"de5c33b8-dcaf-41b6-87a8-ea67d0f441e1"},{"name":"Show - Detail Jobs","id":"2464d144-9dbb-45f9-aa42-213ddf9ef428","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0.0.0.0:8002/api/v1/job_role/1/","description":"<p>This route to the detailed information of a single job through its identifier.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","job_role","1",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"2464d144-9dbb-45f9-aa42-213ddf9ef428"},{"name":"Store - Create new Job","id":"33259378-b4e2-4435-8995-135dea52a5c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Web Developer\",\n    \"description\":\"Make websites\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/job_role/","description":"<p>When you send on body JSON with information it creates the new job.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","job_role",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"33259378-b4e2-4435-8995-135dea52a5c9"},{"name":"Update - Alter job values","id":"f13786a9-37dd-4a74-9ea9-f9ae0506b144","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Full StackDeveloper\",\n    \"description\":\"Make front an back end solutions\"\n\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/job_role/2/","description":"<p>Alter value of the single job passing the name and description on body.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","job_role","2",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"f13786a9-37dd-4a74-9ea9-f9ae0506b144"},{"name":"Delete - Delete Job","id":"a672bbec-e52f-49f9-afb8-9388001b5731","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://0.0.0.0:8002/api/v1/job_role/2/","description":"<p>Remove the job using the identifier.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","job_role","2",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"a672bbec-e52f-49f9-afb8-9388001b5731"}],"id":"76612feb-925d-4ff0-8fed-3d563dc908aa","description":"<p>This endpoint provides access to the job model. </p>\n","_postman_id":"76612feb-925d-4ff0-8fed-3d563dc908aa"},{"name":"Technologies","item":[{"name":"Index - View technologies","id":"6d5b207e-96f8-4dcd-bbf8-de95ce1b139a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"http://0.0.0.0:8002/api/v1/technologies/","description":"<p>Route for listing the technologies.\nThe return is an array with all technologies belonging to the user who made the request.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","technologies",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d5b207e-96f8-4dcd-bbf8-de95ce1b139a"},{"name":"Show - Detail technologies","id":"62700f53-6903-43ea-85ab-cff3eb1b8c33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0.0.0.0:8002/api/v1/tecnologies/1/","description":"<p>This route to the detailed information of a single technology through its identifier.\nThe return is an object containing information about Naver</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","tecnologies","1",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"62700f53-6903-43ea-85ab-cff3eb1b8c33"},{"name":"Store - Create new technologies","id":"e510fff5-3545-49a8-8286-11b12ff9534f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Python\",\n    \"description\":\"Programing language\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/tecnologies/","description":"<p>It receives the technology data and an array with the identifiers.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","tecnologies",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"e510fff5-3545-49a8-8286-11b12ff9534f"},{"name":"Update - Alter technologies values","id":"7965676d-ac9c-4cd8-ad3e-de74acc85369","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Python3.8\",\n    \"description\": \"Custom Version of the Python Language \"\n}","options":{"raw":{"language":"json"}}},"url":"http://0.0.0.0:8002/api/v1/tecnologies/2/","description":"<p>Receives technologies data through the request body and updates his record in the database. A user can only edit their own browsers. The return is the updated user object.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","tecnologies","2",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"7965676d-ac9c-4cd8-ad3e-de74acc85369"},{"name":"Delete - Delete technologies","id":"ca1bf3f0-7d19-4551-aeff-5c6844df42eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://0.0.0.0:8002/api/v1/tecnologies/2/","description":"<p>It receives a shipping identifier and removes it from database records. A user can only delete his own browsers.</p>\n","urlObject":{"protocol":"http","port":"8002","path":["api","v1","tecnologies","2",""],"host":["0","0","0","0"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca1bf3f0-7d19-4551-aeff-5c6844df42eb"}],"id":"8356111f-0e04-4586-91a2-e7641eb2bebb","description":"<p>This endpoint provides the requests to access to the tecnologies model</p>\n","_postman_id":"8356111f-0e04-4586-91a2-e7641eb2bebb"}],"id":"56b447b3-aecc-4166-ac02-24cfd43875ea","description":"<p>This Folder is the representation of local test API, where you do some tests and study how to run this API, so you can download the public postman collection and test in your machine your functions.</p>\n","_postman_id":"56b447b3-aecc-4166-ac02-24cfd43875ea"}]}