Greenthum project document
Authorization: Bearer ********************
{
"username": "string",
"email": "string",
"password": "string",
"roleIds": [
0
]
}
curl --location --request POST '/api/register' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "string",
"email": "string",
"password": "string",
"roleIds": [
0
]
}'
{
"id": 0,
"username": "string",
"email": "string",
"roleEntities": [
{
"id": 0,
"name": "string"
}
],
"communityGardens": [
{
"id": 0,
"name": "string"
}
],
"volunteerActivity": {
"id": 0,
"activityName": "string"
}
}