뉴스피드 카드 목록 내보내기
get
/feed/list
이 엔드포인트를 사용하여 뉴스피드 카드 목록을 내보내면 각 카드의 이름과 카드 API 식별자가 포함됩니다.
카드는 생성 시간(기본적으로 가장 오래된 것부터 최신 것까지)에 따라 정렬된 100개 그룹으로 반환됩니다.
important:
News Feed is being deprecated. We recommend migrating to our Content Cards messaging channel instead—it’s more flexible, customizable, and reliable. To get started, check out Migrating from News Feed.
필수 구성 요소
이 엔드포인트를 사용하려면 feed.list
권한이 있는 API 키가 필요합니다.
사용량 제한
요청 매개변수
매개변수 | 필수 | 데이터 유형 | 설명 |
---|---|---|---|
page |
선택 사항 | 정수 | 반환할 카드 페이지의 기본값은 0입니다(최대 100개 중 첫 번째 세트를 반환합니다). |
include_archived |
선택 사항 | 부울 | 보관된 카드를 포함할지 여부는 기본값이 false입니다. |
sort_direction |
선택 사항 | 문자열 | - 생성 시간을 최신에서 오래된 순으로 정렬: desc 값을 전달합니다.- 생성 시간을 가장 오래된 것부터 가장 최근 것 순으로 정렬: asc 값을 전달합니다. sort_direction 이 포함되지 않은 경우 기본 순서는 가장 오래된 것부터 최신 것까지입니다. |
요청 예시
1
2
curl --location --request GET 'https://rest.iad-01.braze.com/feed/list?page=1&include_archived=true&sort_direction=desc' \
--header 'Authorization: Bearer YOUR-REST-API-KEY'
응답
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Content-Type: application/json
Authorization: Bearer YOUR-REST-API-KEY
{
"message": (required, string) the status of the export, returns 'success' when completed without errors,
"cards" : [
{
"id" : (string) the card API identifier,
"type" : (string) type of the card - NewsItem (classic cards), CaptionedImage, Banner
"title" : (string) the title of the card,
"tags" : (array) the tag names associated with the card
},
...
]
}
tip:
CSV 및 API 내보내기 문제 해결에 대한 도움은 내보내기 문제 해결를 방문하세요.
New Stuff!