mirror of https://github.com/xfarrow/blink
1053 lines
25 KiB
JSON
1053 lines
25 KiB
JSON
{
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/persons/me/activation?q=3ac9c204de1676b54163ed8015c7af00",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"persons",
|
|
"me",
|
|
"activation"
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/1/admins",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"1",
|
|
"admins"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
},
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"personId\" : \"2\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "bruno",
|
|
"event": []
|
|
},
|
|
{
|
|
"name": "ChangeApplicationStatus",
|
|
"event": [],
|
|
"request": {
|
|
"method": "PATCH",
|
|
"header": [],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/joboffers/applications/5",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"joboffers",
|
|
"applications",
|
|
"5"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
},
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"status\": \"ACCEPTED\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "CreateApplication",
|
|
"event": [],
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/joboffers/1/applications",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"joboffers",
|
|
"1",
|
|
"applications"
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/1/joboffers",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"1",
|
|
"joboffers"
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations"
|
|
],
|
|
"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": [],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/joboffers/applications/6",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"joboffers",
|
|
"applications",
|
|
"6"
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/joboffers/3",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"joboffers",
|
|
"3"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "DeleteOrganization",
|
|
"event": [],
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "User-Agent",
|
|
"value": "insomnia/2023.5.8",
|
|
"disabled": false,
|
|
"type": "default"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/1",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"1"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "DeletePerson",
|
|
"event": [],
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "User-Agent",
|
|
"value": "insomnia/2023.5.8",
|
|
"disabled": false,
|
|
"type": "default"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/persons/me",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"persons",
|
|
"me"
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/filter",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"filter"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
},
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n\t\"name\" : \"bli\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "GetApplicantsByJobOffer",
|
|
"event": [],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/joboffers/1/applications",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"joboffers",
|
|
"1",
|
|
"applications"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
},
|
|
"body": {
|
|
"mode": "raw",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "GetApplicantsByOrganization",
|
|
"event": [],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/1/joboffers/applications",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"1",
|
|
"joboffers",
|
|
"applications"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
},
|
|
"body": {
|
|
"mode": "raw",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "GetJobOffers",
|
|
"event": [],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "User-Agent",
|
|
"value": "insomnia/2023.5.8",
|
|
"disabled": false,
|
|
"type": "default"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/1/joboffers/",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"1",
|
|
"joboffers",
|
|
""
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "GetMyApplications",
|
|
"event": [],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/joboffers/applications/mine",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"joboffers",
|
|
"applications",
|
|
"mine"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "GetMyself",
|
|
"event": [],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "User-Agent",
|
|
"value": "insomnia/2023.5.8",
|
|
"disabled": false,
|
|
"type": "default"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/persons/me",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"persons",
|
|
"me"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "GetOrganization",
|
|
"event": [],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "User-Agent",
|
|
"value": "insomnia/2023.5.8",
|
|
"disabled": false,
|
|
"type": "default"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/1",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"1"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "GetPerson",
|
|
"event": [],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "User-Agent",
|
|
"value": "insomnia/2023.5.8",
|
|
"disabled": false,
|
|
"type": "default"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/persons/1/details",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"persons",
|
|
"1",
|
|
"details"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "InsertContactInfo",
|
|
"event": [],
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/persons/myself/contactinfos",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"persons",
|
|
"myself",
|
|
"contactinfos"
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/persons/me/token",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"persons",
|
|
"me",
|
|
"token"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
},
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"email\": \"john@mail.org\",\n \"password\": \"password\"\n}",
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/persons",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"persons"
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/resetpassword/request",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"resetpassword",
|
|
"request"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
},
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"email\": \"john@mail.org\"\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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/1/admins/me",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"1",
|
|
"admins",
|
|
"me"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
},
|
|
"body": {
|
|
"mode": "raw",
|
|
"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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/resetpassword/reset",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"resetpassword",
|
|
"reset"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
},
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"secret\": \"360837853e2d3cf799c709b44720b4e3\",\n \"password\": \"password\"\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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/organizations/1",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"organizations",
|
|
"1"
|
|
],
|
|
"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": "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"
|
|
}
|
|
],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/persons/me",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"persons",
|
|
"me"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "GetContactInfosByPerson",
|
|
"event": [],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/persons/1/contactinfos",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"persons",
|
|
"1",
|
|
"contactinfos"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "DeleteContactInfo",
|
|
"event": [],
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [],
|
|
"auth": null,
|
|
"description": "",
|
|
"url": {
|
|
"raw": "http://localhost:3000/api/persons/contactinfos/2",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost:3000"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"persons",
|
|
"contactinfos",
|
|
"2"
|
|
],
|
|
"query": [],
|
|
"variable": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"variable": []
|
|
} |