Skip to content

KNU-Design-Web/lambda-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1️⃣ 방명록 조회

➡️ Request

METHOD GET
PATH /guestbook
QUERY last_uuid=UUID&take=10

⬅️ Response

200 성공

{
    "items": [
        // ...
        {
            "id": "12345678-abcd-1234-5678-123456789101",
            "to": "보내는사람",
            "from": "받는사람",
            "content": "내용",
            "createdAt": "생성날짜"
        }
    ],
    "last_uuid": "12345678-abcd-1234-5678-123456789101"
}

2️⃣ 방명록 추가

➡️ Request

METHOD POST
PATH /guestbook
BODY

{
    "to": "Alice",
    "from": "Bob",
    "content": "멋진 행사였어요!"
}

⬅️ Response

201 성공

{
    "id": "12345678-abcd-1234-5678-123456789101",
    "to": "보내는사람",
    "from": "받는사람",
    "content": "내용",
    "createdAt": "생성날짜"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published