petSitterInfos API

펫시터 정보 불러오기(여러개)API

GET localhost:3000/api/petSitterInfo

[

{ id:1,

home_type:"아파트",

summary_title:"요약제목",

summary:"요약내용",

introduction:"상세소개",

address:"주소",

image:"image_url",

price:"1박가격",

career:"커리어시작날짜",

Users:{ nickname:"닉네임" userId:"유저id" }

},

{ id:2,

home_type:"아파트",

summary_title:"요약제목",

summary:"요약내용",

introduction:"상세소개",

address:"주소",

image:"image_url",

price:"1박가격",

career:"커리어시작날짜",

Users:{ nickname:"닉네임" userId:"유저id" }

}

]

펫시터 상세정보 불러오기 API

GET localhost:3000/api/petSitterInfo/:petSitterId

Path Parameters

Name
Type
Description

petSitterId

INT

petSitterInfo:{

id:1,

home_type:"아파트",

summary_title:"요약제목",

summary:"요약내용",

introduction:"상세소개",

address:"주소",

image:"image_url",

price:"1박가격",

career:"커리어시작날짜",

Users:{

id:1,

nickname:"1조벌조"

}

}

Last updated