2024-10-24 17:41:00 +02:00
{
"name" : "Blink" ,
"version" : "1" ,
"items" : [
{
"type" : "http" ,
"name" : "ActivatePerson" ,
2024-10-31 15:54:31 +01:00
"seq" : 26 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/persons/me/activation?q=3ac9c204de1676b54163ed8015c7af00" ,
"method" : "GET" ,
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
"name" : "AddOrganizationAdmin" ,
2024-10-31 15:54:31 +01:00
"seq" : 14 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/organizations/1/admins" ,
"method" : "POST" ,
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "{\n \"personId\" : \"2\"\n}" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
2024-10-28 16:42:55 +01:00
{
"type" : "http" ,
"name" : "ChangeApplicationStatus" ,
2024-10-31 15:54:31 +01:00
"seq" : 4 ,
2024-10-28 16:42:55 +01:00
"request" : {
2024-10-30 15:36:50 +01:00
"url" : "http://localhost:3000/api/organizations/joboffers/applications/5" ,
2024-10-28 16:42:55 +01:00
"method" : "PATCH" ,
"headers" : [ ] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "{\n \"status\": \"ACCEPTED\"\n}" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-28 16:42:55 +01:00
}
}
} ,
2024-10-24 17:41:00 +02:00
{
"type" : "http" ,
"name" : "CreateApplication" ,
2024-10-31 15:54:31 +01:00
"seq" : 9 ,
2024-10-24 17:41:00 +02:00
"request" : {
2024-10-30 15:36:50 +01:00
"url" : "http://localhost:3000/api/organizations/joboffers/1/applications" ,
2024-10-24 17:41:00 +02:00
"method" : "POST" ,
"headers" : [ ] ,
"params" : [ ] ,
"body" : {
2024-10-28 16:42:55 +01:00
"mode" : "none" ,
2024-10-24 17:41:00 +02:00
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
"name" : "CreateJobOffer" ,
2024-10-31 15:54:31 +01:00
"seq" : 12 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/organizations/1/joboffers" ,
"method" : "POST" ,
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "{\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}" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
"name" : "CreateOrganization" ,
2024-10-31 15:54:31 +01:00
"seq" : 19 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/organizations" ,
"method" : "POST" ,
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "{\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}" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
2024-10-28 16:42:55 +01:00
{
"type" : "http" ,
"name" : "DeleteApplication" ,
2024-10-31 15:54:31 +01:00
"seq" : 5 ,
2024-10-28 16:42:55 +01:00
"request" : {
2024-10-30 15:36:50 +01:00
"url" : "http://localhost:3000/api/organizations/joboffers/applications/6" ,
2024-10-28 16:42:55 +01:00
"method" : "DELETE" ,
"headers" : [ ] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "{\n \"jobApplicationId\": 1\n}" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-28 16:42:55 +01:00
}
}
} ,
2024-10-24 17:41:00 +02:00
{
"type" : "http" ,
"name" : "DeleteJobOffer" ,
2024-10-31 15:54:31 +01:00
"seq" : 10 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/organizations/joboffers/3" ,
"method" : "DELETE" ,
"headers" : [
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
"name" : "DeleteOrganization" ,
2024-10-31 15:54:31 +01:00
"seq" : 16 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/organizations/1" ,
"method" : "DELETE" ,
"headers" : [
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
"name" : "DeletePerson" ,
2024-10-31 15:54:31 +01:00
"seq" : 22 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/persons/me" ,
"method" : "DELETE" ,
"headers" : [
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
"name" : "FilterOrganizationByPrefix" ,
2024-10-31 15:54:31 +01:00
"seq" : 15 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/organizations/filter" ,
"method" : "POST" ,
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "{\n \"name\" : \"bli\"\n}" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
"mode" : "none"
}
}
} ,
2024-10-31 15:54:31 +01:00
{
"type" : "http" ,
"name" : "GetApplicantsByJobOffer" ,
"seq" : 6 ,
"request" : {
"url" : "http://localhost:3000/api/organizations/joboffers/1/applications" ,
"method" : "GET" ,
"headers" : [ ] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
"mode" : "inherit"
}
}
} ,
2024-10-28 16:42:55 +01:00
{
"type" : "http" ,
"name" : "GetApplicantsByOrganization" ,
2024-10-31 15:54:31 +01:00
"seq" : 7 ,
2024-10-28 16:42:55 +01:00
"request" : {
2024-10-30 15:36:50 +01:00
"url" : "http://localhost:3000/api/organizations/1/joboffers/applications" ,
2024-10-28 16:42:55 +01:00
"method" : "GET" ,
"headers" : [ ] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
2024-10-30 15:36:50 +01:00
"json" : "" ,
2024-10-28 16:42:55 +01:00
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-28 16:42:55 +01:00
}
}
} ,
2024-10-24 17:41:00 +02:00
{
"type" : "http" ,
"name" : "GetJobOffers" ,
2024-10-31 15:54:31 +01:00
"seq" : 11 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/organizations/1/joboffers/" ,
"method" : "GET" ,
"headers" : [
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
"mode" : "none"
}
}
} ,
2024-10-28 16:42:55 +01:00
{
"type" : "http" ,
"name" : "GetMyApplications" ,
2024-10-31 15:54:31 +01:00
"seq" : 8 ,
2024-10-28 16:42:55 +01:00
"request" : {
2024-10-30 15:36:50 +01:00
"url" : "http://localhost:3000/api/organizations/joboffers/applications/mine" ,
2024-10-28 16:42:55 +01:00
"method" : "GET" ,
"headers" : [ ] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-28 16:42:55 +01:00
}
}
} ,
2024-10-24 17:41:00 +02:00
{
"type" : "http" ,
"name" : "GetMyself" ,
2024-10-31 15:54:31 +01:00
"seq" : 24 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/persons/me" ,
"method" : "GET" ,
"headers" : [
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
"name" : "GetOrganization" ,
2024-10-31 15:54:31 +01:00
"seq" : 18 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/organizations/1" ,
"method" : "GET" ,
"headers" : [
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
"mode" : "none"
}
}
} ,
{
"type" : "http" ,
"name" : "GetPerson" ,
2024-10-31 15:54:31 +01:00
"seq" : 25 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/persons/1/details" ,
"method" : "GET" ,
"headers" : [
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
"mode" : "none"
}
}
} ,
2024-10-31 15:54:31 +01:00
{
"type" : "http" ,
"name" : "InsertContactInfo" ,
"seq" : 3 ,
"request" : {
"url" : "http://localhost:3000/persons/myself/contactinfos" ,
"method" : "POST" ,
"headers" : [ ] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
"mode" : "inherit"
}
}
} ,
2024-10-24 17:41:00 +02:00
{
"type" : "http" ,
"name" : "Login" ,
2024-10-31 15:54:31 +01:00
"seq" : 27 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/persons/me/token" ,
"method" : "POST" ,
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "{\n \"email\": \"john@mail.org\",\n \"password\": \"password\"\n}" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
2024-10-30 15:36:50 +01:00
"name" : "Register" ,
2024-10-31 15:54:31 +01:00
"seq" : 28 ,
2024-10-24 17:41:00 +02:00
"request" : {
2024-10-30 15:36:50 +01:00
"url" : "http://localhost:3000/api/persons" ,
"method" : "POST" ,
2024-10-24 17:41:00 +02:00
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
2024-10-30 15:36:50 +01:00
"json" : "{\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:41:00 +02:00
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "none"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
2024-10-31 15:54:31 +01:00
"name" : "RequestNewPassword" ,
"seq" : 21 ,
2024-10-24 17:41:00 +02:00
"request" : {
2024-10-31 15:54:31 +01:00
"url" : "http://localhost:3000/api/resetpassword/request" ,
"method" : "POST" ,
2024-10-24 17:41:00 +02:00
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
2024-10-31 15:54:31 +01:00
"json" : "{\n \"email\": \"john@mail.org\"\n}" ,
2024-10-24 17:41:00 +02:00
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-31 15:54:31 +01:00
"mode" : "none"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
2024-10-31 15:54:31 +01:00
"name" : "RemoveOrganizationAdmin" ,
"seq" : 13 ,
2024-10-24 17:41:00 +02:00
"request" : {
2024-10-31 15:54:31 +01:00
"url" : "http://localhost:3000/api/organizations/1/admins/me" ,
"method" : "DELETE" ,
2024-10-24 17:41:00 +02:00
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
2024-10-31 15:54:31 +01:00
"json" : "" ,
2024-10-24 17:41:00 +02:00
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-31 15:54:31 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
2024-10-30 15:36:50 +01:00
"name" : "ResetNewPassword" ,
2024-10-31 15:54:31 +01:00
"seq" : 20 ,
2024-10-24 17:41:00 +02:00
"request" : {
2024-10-30 15:36:50 +01:00
"url" : "http://localhost:3000/api/resetpassword/reset" ,
"method" : "POST" ,
2024-10-24 17:41:00 +02:00
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
2024-10-30 15:36:50 +01:00
"json" : "{\n \"secret\": \"360837853e2d3cf799c709b44720b4e3\",\n \"password\": \"password\"\n}" ,
2024-10-24 17:41:00 +02:00
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "none"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
2024-10-30 15:36:50 +01:00
"name" : "UpdateOrganization" ,
2024-10-31 15:54:31 +01:00
"seq" : 17 ,
2024-10-24 17:41:00 +02:00
"request" : {
2024-10-30 15:36:50 +01:00
"url" : "http://localhost:3000/api/organizations/1" ,
"method" : "PATCH" ,
2024-10-24 17:41:00 +02:00
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
2024-10-30 15:36:50 +01:00
"json" : "{\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:41:00 +02:00
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
2024-10-24 17:41:00 +02:00
}
}
} ,
{
"type" : "http" ,
"name" : "UpdatePerson" ,
2024-10-31 15:54:31 +01:00
"seq" : 23 ,
2024-10-24 17:41:00 +02:00
"request" : {
"url" : "http://localhost:3000/api/persons/me" ,
"method" : "PATCH" ,
"headers" : [
{
"name" : "Content-Type" ,
"value" : "application/json" ,
"enabled" : true
} ,
{
"name" : "User-Agent" ,
"value" : "insomnia/2023.5.8" ,
"enabled" : true
}
] ,
"params" : [ ] ,
"body" : {
"mode" : "json" ,
"json" : "{\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}" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-30 15:36:50 +01:00
"mode" : "inherit"
}
}
} ,
{
"type" : "http" ,
2024-10-31 15:54:31 +01:00
"name" : "GetContactInfosByPerson" ,
"seq" : 2 ,
2024-10-30 15:36:50 +01:00
"request" : {
2024-10-31 15:54:31 +01:00
"url" : "http://localhost:3000/api/persons/1/contactinfos" ,
2024-10-30 15:36:50 +01:00
"method" : "GET" ,
"headers" : [ ] ,
"params" : [ ] ,
"body" : {
2024-10-31 15:54:31 +01:00
"mode" : "none" ,
2024-10-30 15:36:50 +01:00
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
2024-10-31 15:54:31 +01:00
"mode" : "none"
}
}
} ,
{
"type" : "http" ,
"name" : "DeleteContactInfo" ,
"seq" : 1 ,
"request" : {
"url" : "http://localhost:3000/api/persons/contactinfos/2" ,
"method" : "DELETE" ,
"headers" : [ ] ,
"params" : [ ] ,
"body" : {
"mode" : "none" ,
"formUrlEncoded" : [ ] ,
"multipartForm" : [ ]
} ,
"script" : { } ,
"vars" : { } ,
"assertions" : [ ] ,
"tests" : "" ,
"auth" : {
"mode" : "none"
2024-10-24 17:41:00 +02:00
}
}
}
] ,
"environments" : [ ] ,
2024-10-30 15:36:50 +01:00
"root" : {
"request" : {
"auth" : {
"mode" : "bearer" ,
"bearer" : {
2024-10-31 15:54:31 +01:00
"token" : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwZXJzb25faWQiOjEsImlhdCI6MTczMDM4MzIzMiwiZXhwIjoxNzMwNDEyMDMyfQ.sAW5wdB_dmjBxEyWI8dty8en9Fhtwyxbb45YV8q6u90"
2024-10-30 15:36:50 +01:00
}
}
}
} ,
2024-10-24 17:41:00 +02:00
"brunoConfig" : {
"version" : "1" ,
"name" : "Blink" ,
"type" : "collection" ,
"ignore" : [
"node_modules" ,
".git"
]
}
}