요청 파라미터
- 예) /members?page=0&size=3&sort=id,desc&sort=username,desc
- page: 현재 페이지, 0부터 시작한다.
- size: 한 페이지에 노출할 데이터 건수
- sort: 정렬 조건을 정의한다. 예) 정렬 속성,정렬 속성…(ASC | DESC), 정렬 방향을 변경하고 싶으면 sort 파라미터 추가 ( asc 생략 가능)
Request.body
{
"title" : "Vintage Watch Auction2"
}
'''
필요한게 있으면 추가해야함
Response.body
{
"status_code": 200,
"result_msg": "성공",
"result_data": {
"content": [
{
"auction_id": 8,
"title": "Vintage Watch Auction2",
"start_price": 55000,
"start_date": "2023-10-03 10:00:00",
"end_date": "2023-10-09 18:00:00",
"image_keys": [
"auction/upload/images/4a8e680b-01ea-4aa9-9199-56e935a7cdb1.png",
"auction/upload/images/3f875915-0fcd-4480-8d0a-064ed782f0bb.png"
]
},
{
"auction_id": 7,
"title": "Vintage Watch Auction1",
"start_price": 25000,
"start_date": "2023-10-02 10:00:00",
"end_date": "2023-10-08 18:00:00",
"image_keys": [
"auction/upload/images/15dafec7-6beb-4f13-bf38-ec767fcdfa02.png",
"auction/upload/images/5592b950-b6e8-43dc-a402-0b6acf9d9c5b.png"
]
},
{
"auction_id": 4,
"title": "Vintage Watch Auction",
"start_price": 5000,
"start_date": "2023-10-01 10:00:00",
"end_date": "2023-10-07 18:00:00",
"image_keys": [
"auction/upload/images/8087e76a-bcfa-4e3e-8635-13fa40124f80.png",
"auction/upload/images/9a559539-ad22-4e0e-a74c-d25f1f9cd839.png"
]
},
{
"auction_id": 6,
"title": "Vintage Watch Auction",
"start_price": 5000,
"start_date": "2023-10-01 10:00:00",
"end_date": "2023-10-07 18:00:00",
"image_keys": [
"auction/upload/images/fd6cfe63-d66f-41d3-9b02-61bd48561df4.png",
"auction/upload/images/420bef8d-65bf-45e1-8a26-15c8f4c3615c.png"
]
},
{
"auction_id": 5,
"title": "string",
"start_price": 0,
"start_date": "2024-09-27 14:46:38",
"end_date": "2024-09-27 14:46:38",
"image_keys": [
"auction/upload/images/4063837a-ca9d-4889-9f90-b54d0677cea9.png"
]
}
],
"pageable": {
"page_number": 0,
"page_size": 10,
"sort": {
"empty": false,
"sorted": true,
"unsorted": false
},
"offset": 0,
"paged": true,
"unpaged": false
},
"last": true,
"total_pages": 1,
"total_elements": 5,
"first": true,
"size": 10,
"number": 0,
"sort": {
"empty": false,
"sorted": true,
"unsorted": false
},
"number_of_elements": 5,
"empty": false
}
}
설명
해당 API에 대한 구체적인 설명을 적습니다