2024-10-24 17:37:08 +02:00
{
"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" : [ ]
} ,
{
2024-10-28 16:42:55 +01:00
"name" : "ChangeApplicationStatus" ,
2024-10-24 17:37:08 +02:00
"event" : [ ] ,
"request" : {
2024-10-28 16:42:55 +01:00
"method" : "PATCH" ,
2024-10-24 17:37:08 +02:00
"header" : [ ] ,
"description" : "" ,
"url" : {
2024-10-28 16:42:55 +01:00
"raw" : "http://localhost:3000/api/organizations/joboffers/applications/2" ,
2024-10-24 17:37:08 +02:00
"host" : [
"localhost"
] ,
"path" : [ ] ,
"query" : [ ] ,
"variable" : [ ]
} ,
"body" : {
"mode" : "raw" ,
2024-10-28 16:42:55 +01:00
"raw" : "{\n \"status\": \"ACCEPTED\"\n}" ,
2024-10-24 17:37:08 +02:00
"options" : {
"raw" : {
"language" : "json"
}
}
}
}
} ,
2024-10-28 16:42:55 +01:00
{
"name" : "CreateApplication" ,
"event" : [ ] ,
"request" : {
"method" : "POST" ,
"header" : [ ] ,
"description" : "" ,
"url" : {
"raw" : "http://localhost:3000/api/organizations/joboffers/1" ,
"host" : [
"localhost"
] ,
"path" : [ ] ,
"query" : [ ] ,
"variable" : [ ]
}
}
} ,
2024-10-24 17:37:08 +02:00
{
"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"
}
}
}
}
} ,
2024-10-28 16:42:55 +01:00
{
"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"
}
}
}
}
} ,
2024-10-24 17:37:08 +02:00
{
"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"
}
}
}
}
} ,
2024-10-28 16:42:55 +01:00
{
"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"
}
}
}
}
} ,
2024-10-24 17:37:08 +02:00
{
"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" : [ ]
}
}
} ,
2024-10-28 16:42:55 +01:00
{
"name" : "GetMyApplications" ,
"event" : [ ] ,
"request" : {
"method" : "GET" ,
"header" : [ ] ,
"description" : "" ,
"url" : {
"raw" : "http://localhost:3000/api/organizations/applications/mine" ,
"host" : [
"localhost"
] ,
"path" : [ ] ,
"query" : [ ] ,
"variable" : [ ]
}
}
} ,
2024-10-24 17:37:08 +02:00
{
"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"
}
}
}
}
} ,
{
2024-10-28 16:42:55 +01:00
"name" : "RemoveOrganizationAdmin" ,
2024-10-24 17:37:08 +02:00
"event" : [ ] ,
"request" : {
2024-10-28 16:42:55 +01:00
"method" : "DELETE" ,
2024-10-24 17:37:08 +02:00
"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" : {
2024-10-28 16:42:55 +01:00
"raw" : "http://localhost:3000/api/organizations/1/admins/me" ,
2024-10-24 17:37:08 +02:00
"host" : [
"localhost"
] ,
"path" : [ ] ,
"query" : [ ] ,
"variable" : [ ]
} ,
"body" : {
"mode" : "raw" ,
"options" : {
"raw" : {
"language" : "json"
}
}
}
}
} ,
{
2024-10-28 16:42:55 +01:00
"name" : "Register" ,
2024-10-24 17:37:08 +02:00
"event" : [ ] ,
"request" : {
2024-10-28 16:42:55 +01:00
"method" : "POST" ,
2024-10-24 17:37:08 +02:00
"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" : {
2024-10-28 16:42:55 +01:00
"raw" : "http://localhost:3000/api/persons" ,
2024-10-24 17:37:08 +02:00
"host" : [
"localhost"
] ,
"path" : [ ] ,
"query" : [ ] ,
"variable" : [ ]
} ,
"body" : {
"mode" : "raw" ,
2024-10-28 16:42:55 +01:00
"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}" ,
2024-10-24 17:37:08 +02:00
"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"
}
}
}
}
} ,
{
2024-10-28 16:42:55 +01:00
"name" : "UpdateOrganization" ,
2024-10-24 17:37:08 +02:00
"event" : [ ] ,
"request" : {
2024-10-28 16:42:55 +01:00
"method" : "PATCH" ,
2024-10-24 17:37:08 +02:00
"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" : {
2024-10-28 16:42:55 +01:00
"raw" : "http://localhost:3000/api/organizations/1" ,
2024-10-24 17:37:08 +02:00
"host" : [
"localhost"
] ,
"path" : [ ] ,
"query" : [ ] ,
"variable" : [ ]
} ,
"body" : {
"mode" : "raw" ,
2024-10-28 16:42:55 +01:00
"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}" ,
2024-10-24 17:37:08 +02:00
"options" : {
"raw" : {
"language" : "json"
}
}
}
}
} ,
{
2024-10-28 16:42:55 +01:00
"name" : "ResetNewPassword" ,
2024-10-24 17:37:08 +02:00
"event" : [ ] ,
"request" : {
2024-10-28 16:42:55 +01:00
"method" : "POST" ,
2024-10-24 17:37:08 +02:00
"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" : {
2024-10-28 16:42:55 +01:00
"raw" : "http://localhost:3000/api/resetpassword/reset" ,
2024-10-24 17:37:08 +02:00
"host" : [
"localhost"
] ,
"path" : [ ] ,
"query" : [ ] ,
"variable" : [ ]
} ,
"body" : {
"mode" : "raw" ,
2024-10-28 16:42:55 +01:00
"raw" : "{\n \"secret\": \"360837853e2d3cf799c709b44720b4e3\",\n \"password\": \"password\"\n}" ,
2024-10-24 17:37:08 +02:00
"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" : [ ]
}