Donors
Get all
- GET:
/v1/donors
Example:
curl https://doesangueapi.herokuapp.com/v1/donors
- Output
[
{
"id": 1,
"user": {
"first_name": "Test",
"last_name": "User",
"username": "testuser",
"email": "testuser@domain.com",
"birthdate": "1998-01-04",
"bio": null
}
},
{
"id": 2,
"user": {
"first_name": "Other anon",
"last_name": "User",
"username": "anon.user",
"email": "anon.user@domain.com",
"birthdate": "1999-01-04",
"bio": null
}
}
...
]
Details
- GET:
/v1/donors
Example:
curl https://doesangueapi.herokuapp.com/v1/donors/{id}
- Output