Skip to content

News

SDK Reference · Resource

News

Read product and service announcements.

method

list()

List product announcements

Returns the latest customer-facing service announcements and product updates, ordered from newest to oldest.

Signature

Promiseclient.news.list(options: NewsListOptions = {}): Promise<NewsListResponse>

Parameters

NameTypeRequirementDescription
limitnumberOptionalNumber of results to return per page.
offsetnumberOptionalThe initial index from which to return the results.
orderingstringOptionalWhich field to use when ordering the results.
searchstringOptionalCase-insensitive partial search across News fields: `title` and `content`. Separate multiple terms with spaces or commas; every term must match at least one listed field.
acceptLanguagestringOptionalPreferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English.

Example

const result = await client.news.list();

Returns

PaginatedNewsList

The operation completed successfully.

typePaginatedNewsList4fields
count
number
Required
—
next
string
Optional
—
previous
string
Optional
—
results
News[]
Required
—
typeNews4fields
id
string
Optional
—
title
string
Required
—
content
string
Required
The content of the news item. HTML is allowed.
date
string
Optional
The date and time when the news item is published.

Throws

ApiError

Normalized API, transport, and response processing failure.

  • kind: "validation"The request arguments or business rules are invalid.
  • kind: "authentication"Authentication credentials are missing, expired, or invalid.
  • kind: "permission"The authenticated account cannot perform this operation.
  • kind: "network"The request could not reach ProxyRequest.
  • kind: "unexpected"The response could not be decoded or did not match the SDK contract.
Advanced variants
  • client.news.listWithResponse(options): Promise<ApiResponse<NewsListResponse>>

    Returns response status, headers, ETag and idempotency metadata with the decoded data.