GET
/api/v1/users
curl \
--request GET 'http://localhost:8080/api/v1/users'
Response examples (401)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (404)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (500)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (400)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (200)
[
{
"id": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"streetName": "string",
"houseNumber": "string",
"zipCode": 42,
"city": "string",
"country": "string",
"phoneNumber": "string",
"aboutMe": "string",
"favGenres": [
"string"
],
"books": [
{
"id": "string",
"title": "string",
"author": "string",
"genres": [
"string"
],
"language": "string",
"description": "string",
"condition": "string",
"coverPhotoUrl": "string",
"bookLocation": "string",
"offeredAgo": "string",
"ownerId": "string",
"offeredBy": "string"
}
],
"favBooks": [
{
"id": "string",
"title": "string",
"author": "string",
"genres": [
"string"
],
"language": "string",
"description": "string",
"condition": "string",
"coverPhotoUrl": "string",
"bookLocation": "string",
"offeredAgo": "string",
"ownerId": "string",
"offeredBy": "string"
}
]
}
]