Skip to main content
GET
/
api
/
user
Get all users
curl --request GET \
  --url https://localhost:8080/api/user
{
  "content": [
    {
      "id": 123,
      "email": "<string>",
      "fullName": "<string>",
      "phoneNumber": "<string>",
      "street": "<string>",
      "city": "<string>",
      "province": "<string>",
      "postalCode": "<string>",
      "expertise": "apprentice",
      "role": "farmer",
      "active": true
    }
  ],
  "page": {
    "size": 123,
    "number": 123,
    "totalElements": 123,
    "totalPages": 123
  }
}

Query Parameters

role
enum<string>
Available options:
farmer,
receptionist,
sprayer,
admin
pageable
object
required

Response

200 - */*

OK

content
object[]
page
object
I