Comandos para pruebas
Daniel Garcia Costa edytuje tę stronę 1 miesiąc temu

Insertar Auction

http POST localhost:8084/auctions \                                                                            ✔ 
  auctionId=aaaaaaaa-0000-0000-0000-000000000001 \
  itemId=11111111-0000-0000-0000-000000000001 \
  sellerId=90000000-0000-0000-0000-000000000001 \
  startTime=2026-05-15T10:00:00Z \
  endTime=2026-05-15T12:00:00Z \
  finalPrice:=650 \
  winnerUserId=80000000-0000-0000-0000-000000000001 \
  bids:='[
    {
      "userId": "80000000-0000-0000-0000-000000000002",
      "amount": 500,
      "timestamp": "2026-05-15T10:05:00Z"
    },
    {
      "userId": "80000000-0000-0000-0000-000000000001",
      "amount": 650,
      "timestamp": "2026-05-15T10:10:00Z"
    }
  ]'

Obtener Auctions

http GET 127.0.0.1:8084/auctions