Exportar detalles de la tarjeta de canal de noticias
get
/feed/details
Utiliza este punto final para recuperar información relevante sobre una tarjeta, que puede identificarse mediante el
card_id
.
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.
Requisitos previos
Para utilizar este punto final, necesitarás una clave de API con el permiso feed.details
.
Límite de velocidad
Aplicamos el límite de velocidad predeterminado de Braze de 250 000 solicitudes por hora a este punto final, como se documenta en Límites de velocidad de la API.
Parámetros de la solicitud
Parámetro | Obligatoria | Tipo de datos | Descripción |
---|---|---|---|
card_id |
Obligatoria | Cadena | Ver Identificador API de tarjeta. Puedes encontrar el card_id de una tarjeta determinada en la página Claves de API y en la página de detalles de la tarjeta dentro de tu panel, o puedes utilizar el punto final Exportar lista de tarjetas de canal de noticias. |
Ejemplo de solicitud
1
2
curl --location -g --request GET 'https://rest.iad-01.braze.com/feed/details?card_id={{card_identifier}}' \
--header 'Authorization: Bearer YOUR-REST-API-KEY'
Respuesta
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Content-Type: application/json
Authorization: Bearer YOUR-REST-API-KEY
{
"message": (required, string) The status of the export, returns 'success' when completed without errors,
"created_at" : (string) the ate created as ISO 8601 date,
"updated_at" : (string) the ate last updated as ISO 8601 date,
"name" : (string) the card name,
"publish_at" : (string) the date the card was published as ISO 8601 date,
"end_at" : (string) the date the card will stop displaying for users as ISO 8601 date,
"tags" : (array) the tag names associated with the card,
"title" : (string) the title of the card,
"image_url" : (string) the image URL used by this card,
"extras" : (dictionary) a dictionary containing key-value pair data attached to this card,
"description" : (string) the description text used by this card,
"archived": (boolean) whether this Card is archived,
"draft": (boolean) whether this Card is a draft,
}
tip:
Para obtener ayuda con las exportaciones CSV y API, visita Solución de problemas de exportación.
New Stuff!