Public
Documentation Settings

DDSPALOOZA

v1

events

attendees

GETGet Attendees

localhost:8080/events/attendees
Example Request
curl
curl --location 'localhost:8080/events/attendees'
200 OK
Example Response
json
{
  "attendees": [
    {
      "id": 1,
      "fistName": "Kevin",
      "lastName": "Moore",
      "email": "kmoore@gmail.com",
      "password": "K39289HF2HF92N4F92N4FUBWEU!FJ4=NV"
    },
    {
      "id": 2,
      "fistName": "Lara",
      "lastName": "Stevenson",
      "email": "laras@gmail.com",
      "password": "1DH19RT5374FLSF!K=GRJKR0EVKM48345"
    }
  ]
}
No response headers
This request doesn't return any response headers

POSTPost an Attendee

localhost:8080/events/attendees
Example Request
curl
curl --location 'localhost:8080/events/attendees' \
--header 'Content-Type: application/json' \
--data-raw '{
    "fistName": "Mirta",
    "lastName": "Legrand",
    "email": "mirtalamejor@aol.com",
    "password": "K35296jf0qa!2N4FUBWfsEU!=FJ4zb"
}'
200 OK
Example Response
json
{
  "id": 3,
  "fistName": "Mirta",
  "lastName": "Legrand",
  "email": "mirtalamejor@aol.com"
}
No response headers
This request doesn't return any response headers

PATCHPatch an Attendee

localhost:8080/events/attendees/:id
PATH VARIABLES
id
Example Request
curl
curl --location --request PATCH 'localhost:8080/events/attendees/:id' \
--data-raw '{
    "fistName": "Mirta",
    "lastName": "Legrand",
    "email": "mirtalamejor@aol.com",
    "password": "K35296jf0qa!2N4FUBWfsEU!=FJ4zb"
}'
200 OK
Example Response
{
  "id": 3,
  "fistName": "Mirta",
  "lastName": "Legrand",
  "email": "mirtalamejor@aol.com"
}
No response headers
This request doesn't return any response headers

DELETEDelete an Attendee

localhost:8080/events/:eventId/attendees/:attendeeId
PATH VARIABLES
eventId
attendeeId
Example Request
curl
curl --location --request DELETE 'localhost:8080/events/:eventId/attendees/:attendeeId' \
--data ''
200 OK
Example Response
json
{
  "message": "OK"
}
No response headers
This request doesn't return any response headers

items