뉴스 조회
GET
https://{dashboard-domain}/v1.0/db/news
Query Parameters
Name
Type
Description
page_offset*
int
조회할 페이지 번호
page_size*
int
조회할 페이지의 item 개수
```json
{
"return": 0,
"message": "success",
"value": {
"page_offset": "4",
"page_size": "2",
"total_count": 13,
"list": [
{
"news_id": 10,
"title": "열번째",
"start_sdt": "2024-05-13T06:40:00Z",
"end_sdt": "2025-03-14T05:21:00Z",
"banner_url": "",
"news_url": "",
"is_always_visibled": false
},
{
"news_id": 9,
"title": "아홉번째",
"start_sdt": "2024-05-13T06:40:00Z",
"end_sdt": "2025-03-14T05:21:00Z",
"banner_url": "",
"news_url": "",
"is_always_visibled": false
}
]
}
}
```
```powershell
curl --location 'https://{dashboard-domain}/v1.0/db/news?page_offset=4&page_size=2'
```
key
data type
desc.
page_offset
int
요청하고자 하는 page 번호
page_size
int
페이지 크기
total_count
int
총 크기
list
array
news_id
int
news id
title
string
news 제목
start_sdt
string
news 시작시간
end_sdt
string
news 종료시간
banner_url
string
배너이미지 주소
news_url
string
게시물 주소
is_always_visibled
bool
상시보기 여부
Last updated