{ "info": { "name": "Blink", "description": "", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "ActivatePerson", "event": [], "request": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/persons/me/activation?q=3ac9c204de1676b54163ed8015c7af00", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "options": { "raw": { "language": "json" } } } } }, { "name": "AddOrganizationAdmin", "event": [], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/1/admins", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"personId\" : \"2\"\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "bruno", "event": [] }, { "name": "ChangeApplicationStatus", "event": [], "request": { "method": "PATCH", "header": [], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/joboffers/applications/2", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"status\": \"ACCEPTED\"\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "CreateApplication", "event": [], "request": { "method": "POST", "header": [], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/joboffers/1", "host": [ "localhost" ], "path": [], "query": [], "variable": [] } } }, { "name": "CreateJobOffer", "event": [], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/1/joboffers", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"title\" : \"NodeJS developer\",\n \"description\" : \"We are looking for NodeJS developers which can help us build Blink\",\n \"salaryFrequency\": \"YEARLY\",\n \"salary\": [20000, 23000],\n \"salaryCurrency\": \"EUR\",\n \"location\" : \"Rome\",\n \"remote\": \"PARTIALLY\",\n \"contractType\": \"PART-TIME\",\n \"tags\" : [\"javascript\"]\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "CreateOrganization", "event": [], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"name\" : \"Blink Inc.\",\n \"location\" : \"Napoli, Italy\",\n \"description\" : \"Blink is a privacy-respecting business-oriented social media platform focused on fostering connections between businesses and individuals, propelling careers and sparking innovation in the professional world.\"\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "DeleteApplication", "event": [], "request": { "method": "DELETE", "header": [], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/joboffers/applications/2", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"jobApplicationId\": 1\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "DeleteJobOffer", "event": [], "request": { "method": "DELETE", "header": [ { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/joboffers/3", "host": [ "localhost" ], "path": [], "query": [], "variable": [] } } }, { "name": "DeleteOrganization", "event": [], "request": { "method": "DELETE", "header": [ { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/1", "host": [ "localhost" ], "path": [], "query": [], "variable": [] } } }, { "name": "DeletePerson", "event": [], "request": { "method": "DELETE", "header": [ { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/persons/me", "host": [ "localhost" ], "path": [], "query": [], "variable": [] } } }, { "name": "FilterOrganizationByPrefix", "event": [], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/filter", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n\t\"name\" : \"bli\"\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "GetApplicantsByOrganization", "event": [], "request": { "method": "GET", "header": [], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/1", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"organizationId\": 1\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "GetJobOffers", "event": [], "request": { "method": "GET", "header": [ { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/1/joboffers/", "host": [ "localhost" ], "path": [], "query": [], "variable": [] } } }, { "name": "GetMyApplications", "event": [], "request": { "method": "GET", "header": [], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/applications/mine", "host": [ "localhost" ], "path": [], "query": [], "variable": [] } } }, { "name": "GetMyself", "event": [], "request": { "method": "GET", "header": [ { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/persons/me", "host": [ "localhost" ], "path": [], "query": [], "variable": [] } } }, { "name": "GetOrganization", "event": [], "request": { "method": "GET", "header": [ { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/1", "host": [ "localhost" ], "path": [], "query": [], "variable": [] } } }, { "name": "GetPerson", "event": [], "request": { "method": "GET", "header": [ { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/persons/1/details", "host": [ "localhost" ], "path": [], "query": [], "variable": [] } } }, { "name": "Login", "event": [], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/persons/me/token", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"email\": \"john@mail.org\",\n \"password\": \"password\"\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "RemoveOrganizationAdmin", "event": [], "request": { "method": "DELETE", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/1/admins/me", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "options": { "raw": { "language": "json" } } } } }, { "name": "Register", "event": [], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/persons", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"email\" : \"john@mail.org\",\n \"password\" : \"password\",\n \"displayName\" : \"John Doe\",\n \"aboutMe\" : \"I am a passionate software engineer\",\n \"qualification\" : \"Software Engineer\"\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "RequestNewPassword", "event": [], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/resetpassword/request", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n\t\"email\": \"john@mail.org\"\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "UpdateOrganization", "event": [], "request": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/organizations/1", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"name\": \"Blink Inc.\",\n \"location\": \"Naples (Campania), Italy\",\n \"description\": \"Blink is a privacy-respecting business-oriented social media platform focused on fostering connections between businesses and individuals, propelling careers and sparking innovation in the professional world. Think of it as an open-source alternative to LinkedIn.\"\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "ResetNewPassword", "event": [], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/resetpassword/reset", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"secret\": \"360837853e2d3cf799c709b44720b4e3\",\n \"password\": \"password\"\n}", "options": { "raw": { "language": "json" } } } } }, { "name": "UpdatePerson", "event": [], "request": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json", "disabled": false, "type": "default" }, { "key": "User-Agent", "value": "insomnia/2023.5.8", "disabled": false, "type": "default" } ], "description": "", "url": { "raw": "http://localhost:3000/api/persons/me", "host": [ "localhost" ], "path": [], "query": [], "variable": [] }, "body": { "mode": "raw", "raw": "{\n \"displayName\": \"John Junior Doe III\",\n \"dateOfBirth\": \"1970-01-01\",\n \"openToWork\": \"false\",\n \"placeOfLiving\": \"Oslo, Norway\",\n \"aboutMe\": \"I am a passionate software engineer, but I also love art and music\",\n \"new_password\": \"password\",\n \"old_password\": \"password\",\n \"qualification\" : \"Software Engineer at Blink Inc. & Google LLC\",\n \"visibility\": \"EVERYONE\",\n \"oldPassword\": \"password\",\n \"newPassword\": \"password\"\n}", "options": { "raw": { "language": "json" } } } } } ], "variable": [] }