/api/register
{
"email": "[email protected]",
"password": "azerty",
"profile": {
"displayName": "Autre"
}
}
/api/login_check
{
"email":"[email protected]"
"password":"azerty"
}
/api/profiles
[
{
"id": 1,
"displayName": "Enzo2"
}
]
/api/events
[
{
"id": 10,
"place": "c'fezfs",
"description": "restaurant en plein air",
"beginning": "2026-05-06T19:00:00+00:00",
"endAt": "2026-07-06T21:00:00+00:00",
"organizer": {
"id": 2,
"displayName": "Autre"
},
"status": true,
"typeOfPlace": true,
"participants": [
{
"id": 7,
"ofProfile": {
"id": 2,
"displayName": "Autre"
}
}
],
"canceled": false,
"contributions": [],
"suggestions": []
},
{
"id": 9,
"place": "c'est ici ou la as",
"description": "restaurant en plein air",
"beginning": "2025-12-18T19:00:00+00:00",
"endAt": "2025-12-19T21:00:00+00:00",
"organizer": {
"id": 2,
"displayName": "Autre"
},
"status": false,
"typeOfPlace": true,
"participants": [],
"canceled": false,
"contributions": [
{
"id": 5,
"product": "panini",
"takenBy": {
"id": 2,
"displayName": "Autre"
}
},
{
"id": 1,
"product": "bouteille",
"takenBy": {
"id": 2,
"displayName": "Autre"
}
}
],
"suggestions": [
{
"id": 4,
"product": "panini",
"isTaken": true
}
]
}
]
/api/events/public
[
{
"id": 10,
"place": "c'fezfs",
"description": "restaurant en plein air",
"beginning": "2026-05-06T19:00:00+00:00",
"endAt": "2026-07-06T21:00:00+00:00",
"organizer": {
"id": 2,
"displayName": "Autre"
},
"status": true,
"typeOfPlace": true,
"participants": [
{
"id": 7,
"ofProfile": {
"id": 3,
"displayName": "Autre2"
}
}
],
"canceled": false,
"contributions": [],
"suggestions": []
}
]
/api/event/{id}
{
"id": 10,
"place": "c'fezfs",
"description": "restaurant en plein air",
"beginning": "2026-05-06T19:00:00+00:00",
"endAt": "2026-07-06T21:00:00+00:00",
"organizer": {
"id": 2,
"displayName": "Autre"
},
"status": true,
"typeOfPlace": true,
"participants": [
{
"id": 7,
"ofProfile": {
"id": 3,
"displayName": "Autre2"
}
}
],
"canceled": false,
"contributions": [],
"suggestions": []
}
/api/myEvents
[
{
"id": 9,
"place": "c'est ici ou la as",
"description": "restaurant en plein air",
"beginning": "2025-12-18T19:00:00+00:00",
"endAt": "2025-12-19T21:00:00+00:00",
"organizer": {
"id": 2,
"displayName": "Autre"
},
"status": false,
"typeOfPlace": true,
"participants": [],
"canceled": false,
"contributions": [
{
"id": 5,
"product": "panini",
"takenBy": {
"id": 2,
"displayName": "Autre"
}
},
{
"id": 1,
"product": "bouteille",
"takenBy": {
"id": 2,
"displayName": "Autre"
}
}
],
"suggestions": [
{
"id": 4,
"product": "panini",
"isTaken": true
}
]
}
]
/api/public/event/create
{
"place": "c'fezfs",
"description": "restaurant en plein air",
"beginning": "2025-05-06T19:00:00+00:00",
"endAt": "2025-07-06T21:00:00+00:00",
"typeOfPlace": true
}
/api/private/event/create
{
"place": "c'fezfs",
"description": "restaurant en plein air",
"beginning": "2025-05-06T19:00:00+00:00",
"endAt": "2025-07-06T21:00:00+00:00",
"typeOfPlace": true
}
/api/event/update/{id}
{
"place":"autre nom"
}
/api/event/delete/{id}/api/participate/event/{id}
{
"message": "Successfully registered to event"
}
/api/myParticipation
[
{
"ofEvent": {
"id": 10,
"place": "c'fezfs"
}
}
]
/api/new/invitation
{
"eventId":1,
"guestId":3
}
il faut envoyer eventId et guestId sous cette forme
/api/myInvitations
[
{
"id": 2,
"guest": {
"id": 2,
"displayName": "Autre"
},
"privateEvent": {
"id": 9,
"place": "c'est ici ou la as",
"beginning": "2025-12-18T19:00:00+00:00",
"endAt": "2025-12-19T21:00:00+00:00",
"organizer": {
"id": 3,
"displayName": "Autre3"
},
"typeOfPlace": true,
"canceled": false,
"contributions": [
{
"suggestion": {
"id": 4,
"product": "panini",
"isTaken": true
}
},
{
"suggestion": null
}
]
},
"status": "pending",
"createdAt": "2025-12-16T13:46:43+00:00",
"canChangeStatus": true,
"eventStartDate": "2025-12-18T19:00:00+00:00"
}
]
/api/pending/invitations/api/invitation/{id}/accept/api/invitation/{id}/decline/api/event/{id}/invitations/api/contributions/event/{id}
[
{
"id": 1,
"product": "bouteille",
"privateEvent": {
"id": 9,
"place": "c'est ici ou la as"
},
"takenBy": {
"displayName": "Autre"
},
"suggestion": null
}
]
/api/contribution/event/{id}/new
{
"product":"pain"
}
/api/contribution/update/{id}
{
"product":"fromage"
}
/api/contribution/delete/{id}/api/suggestions/event/{id}
[
{
"id": 4,
"product": "panini",
"isTaken": false,
"privateEvent": {
"id": 9,
"place": "c'est ici ou la as"
}
}
]
/api/suggestion/event/{id}/new
{
"product":"panini"
}
/api/suggestion/update/{id}
{
"product":"table"
}
/api/suggestion/delete/{id}/api/suggestion/{id}/take
{
"id": 5,
"product": "panini",
"privateEvent": {
"id": 9,
"place": "c'est ici ou la as"
},
"takenBy": {
"displayName": "Autre"
},
"suggestion": {
"id": 4,
"product": "panini",
"isTaken": true,
"privateEvent": {
"id": 9,
"place": "c'est ici ou la as"
}
}
}