Query-Params
- search=DCI (Search-Field)
- location=Berlin
- page=1
Response-Body
[
{
_id: "123",
title: "My Title",
description: "something",
location: "My location",
category: "Provider",
wage: 12,
user: {
name: "User Name"
},
createdAt: 2022-11-11T19:46:39.731+00:00,
updatedAt: 2022-11-11T19:46:39.731+00:00
}
]
Response-Body
{
_id: "123",
title: "My Title",
description: "something",
location: "My location",
category:"Provider",
wage: 12,
user: {
name: "User Name"
},
createdAt: 2022-11-11T19:46:39.731+00:00,
updatedAt: 2022-11-11T19:46:39.731+00:00
}
Response-Body
{
_id: "123",
title: "My Title",
description: "something",
location: "My location",
category:"Provider",
contactVia: ["phone"],
wage: 12,
user: {
name: "User Name",
telephone: "0049534643636"
},
createdAt: 2022-11-11T19:46:39.731+00:00,
updatedAt: 2022-11-11T19:46:39.731+00:00
}
Post-Body
{
title: "My Title",
description: "something",
location: "My location",
category: "Provider",
wage: 12,
contactVia: ["email"]
user: "Udel17555klmjer54gj7"
}
Response-Body
{
_id: "123",
title: "My Title",
description: "something",
location: "My location",
category: "Provider",
wage: 12,
contactVia: ["email"],
user: "Udel17555klmjer54gj7",
createdAt: 2022-11-11T19:46:39.731+00:00,
updatedAt: 2022-11-11T19:46:39.731+00:00
}
Post-Body
{
email: "[email protected]",
password: "123456"
}
Response-Body
{
_id: "123",
name: "User Name",
email: "[email protected]",
avatar: "url-to-avatar",
sector: "Web Development",
city: "Berlin",
description: "something",
telephone: "00496666666666"
}
Post-Body
{
email: "[email protected]",
password: "123456",
name: "User Name"
}
Response-Body
{
_id:"123",
name: "User Name",
email: "[email protected]"
}
Response-Body
{
_id:"123",
name: "User Name",
email: "[email protected]",
avatar: "url-to-avatar",
sector: "Web Development",
city: "My address",
telephone: "004966666666666",
description: "something"
}
Put-Body
{
password: "123456"
}
Response-Body
{
user //ohne Passwort
}