Open euics opened 2 months ago
{
"status": 0,
"message": "string",
"data": {
"totalElements": 0,
"totalPages": 0,
"size": 0,
"content": [
{
"scheduleInfo": {
"scheduleSeq": 0,
"startTime": "2024-08-30T08:54:58.018Z",
"location": "string"
},
"scheduleFeedInfo": [
{
"memberInfo": {
"memberSeq": 0,
"userName": "string",
"profileImage": "string"
},
"feedInfo": {
"feedSeq": 0,
"title": "string",
"content": "string"
},
"feedImageInfos": [
{
"feedImageSeq": 0,
"feedImageURL": "string",
"feedImageOrder": 0
}
],
"bookMarkInfo": true
}
]
}
],
"number": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"pageable": {
"offset": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"unpaged": true
},
"first": true,
"last": true,
"numberOfElements": 0,
"empty": true
}
}
{
"status": 0,
"message": "string",
"data": {
"scheduleInfo": {
"scheduleSeq": 0,
"startTime": "2024-09-01T10:06:44.986Z",
"location": "string"
},
"scheduleFeedInfo": [
{
"memberInfo": {
"memberSeq": 0,
"userName": "string",
"profileImage": "string"
},
"feedInfo": {
"feedSeq": 0,
"title": "string",
"content": "string"
},
"feedImageInfos": [
{
"feedImageSeq": 0,
"feedImageURL": "string",
"feedImageOrder": 0
}
],
"bookMarkInfo": true
}
]
}
}
π 2024.08.29
Page Response λ³μ μ€λͺ
totalElements
"totalElements": 100
μΌλ‘ νμλ©λλ€.totalPages
totalElements
μ κ° νμ΄μ§μ νμλ λ°μ΄ν° μ(size
)λ₯Ό κΈ°μ€μΌλ‘ κ³μ°λ©λλ€.totalElements
κ° 100μ΄κ³ , κ° νμ΄μ§μsize
κ° 10μ΄λΌλ©΄"totalPages": 10
μ΄ λ©λλ€.size
pageable
μpageSize
μ λμΌν©λλ€."size": 10
μ΄λΌλ©΄ κ° νμ΄μ§μλ μ΅λ 10κ°μ λ°μ΄ν°κ° ν¬ν¨λ μ μμ΅λλ€.number
"number": 0
, λ λ²μ§Έ νμ΄μ§λΌλ©΄"number": 1
μ΄ λ©λλ€.sort
empty
: μ λ ¬ μ‘°κ±΄μ΄ λΉμ΄ μλμ§λ₯Ό λνλ λλ€. (true
λΌλ©΄ μ λ ¬ μ‘°κ±΄μ΄ μμ)sorted
: λ°μ΄ν°κ° μ€μ λ‘ μ λ ¬λμλμ§λ₯Ό λνλ λλ€. (true
λΌλ©΄ μ λ ¬λ¨)unsorted
: λ°μ΄ν°κ° μ λ ¬λμ§ μμλμ§λ₯Ό λνλ λλ€. (true
λΌλ©΄ μ λ ¬λμ§ μμ)first
"first": true
λΌλ©΄ νμ¬ νμ΄μ§κ° 첫 λ²μ§Έ νμ΄μ§μμ μλ―Έν©λλ€.last
"last": true
λΌλ©΄ νμ¬ νμ΄μ§κ° λ§μ§λ§ νμ΄μ§μμ μλ―Έν©λλ€.numberOfElements
"numberOfElements": 3
μ΄ λ©λλ€.pageable
offset
: λ°μ΄ν°λ² μ΄μ€μμ μ‘°νλ₯Ό μμνλ 첫 λ²μ§Έ μμμ μΈλ±μ€μ λλ€.sort
: μ λ ¬ 쑰건μ λνλ΄λ κ°μ²΄λ‘, μμμ μ€λͺ νsort
μ λμΌν ꡬ쑰μ λλ€.pageSize
: ν νμ΄μ§μ ν¬ν¨λλ λ°μ΄ν°μ μμ λλ€. μ΄λsize
μ λμΌν κ°μ λλ€.paged
: νμ΄μ§μ΄ μ μ©λμλμ§λ₯Ό λνλ λλ€. (true
λΌλ©΄ νμ΄μ§μ΄ μ μ©λ¨)pageNumber
: νμ¬ νμ΄μ§ λ²νΈλ₯Ό λνλ λλ€. μ΄λnumber
μ λμΌν©λλ€.unpaged
: νμ΄μ§μ΄ μ μ©λμ§ μμλμ§λ₯Ό λνλ λλ€. (true
λΌλ©΄ νμ΄μ§μ΄ μ μ©λμ§ μμ)empty
"empty": true
λΌλ©΄ νμ¬ νμ΄μ§μ λ°μ΄ν°κ° μμμ μλ―Έν©λλ€.π μλ² λ°μ μ¬ν
νΌλ μμ Request μμ
νΌλ μμ± Request μμ
hide-feed μ‘°ν Response μμ
book-mark μ‘°ν Response μμ